Installing Rudiments Supported Platforms

Rudiments should build on relatively modern versions of Linux, Unix, or Unix-like systems including Solaris, FreeBSD, NetBSD, OpenBSD, Minix, SCO OpenServer, SCO UnixWare, GNU Hurd, Haiku, and Syllable. Other Unix or Unix-like systems may also be supported.

x86_64 and x86 platforms are supported, as are non-x86 architectures such as ARM, Sparc, Mips, PPC, and others.

uClibc/Linux-based systems are also supported.

Rudiments should build on relatively modern versions of x86 or x64 Windows as well.

Prerequisites

Before you can compile Rudiments, you must install some prerequisites.

The first thing that you need is a compiler toolchain and make utility.

GNU and clang/LLVM toolchains are supported on Linux/Unix systems. The native compiler toolchain for SCO UnixWare is also supported. Native compiler toolchains for other Unix platforms may work as well. GNU make is also required on Linux/Unix platforms.

Microsoft Visual Studio and Microsoft Visual Studio Express toolchains are supported on Windows. Versions 2005 and greater should work. The nmake utility is also required, but it's provided by Visual Studio.

If OpenSSL, Kerberos/GSSAPI, Perl Compatible Regular Expressions, or libcurl are present then the build process will detect them and include support for them, but they are not required.

(Note: OpenSSL, Kerberos/GSSAPI, Perl Compatible Regular Expressions, and libcurl are not currently supported on Windows)

See Installing Rudiments Prerequisites for detailed information on installing prerequisite software.


Installation on Linux, Unix or Unix-like Platforms

Downloading Rudiments

You can download the most current source distribution of Rudiments from http://rudiments.sourceforge.net.

For Linux or Unix installations, download the tar.gz file.

Extracting Rudiments

To extract the distribution on Unix or Linux, move the file to a location on your machine that you have read/write access to and execute the following commands:

gunzip rudiments-X.XX.tar.gz
tar xf rudiments-X.XX.tar

(Where X.XX is replaced with the version of Rudiments that you downloaded.)

This will create a rudiments-X.XX directory.

Building Rudiments

To build Rudiments, navigate to the directory that was created by the extraction and execute the following commands:

configure
make

The configure script takes lots of command line options, most of which tell it which features to enable or disable or where to find prerequisite software in case any of it is installed in non-standard locations. It also takes the --prefix option in case you want to install it somewhere other than /usr/local/firstworks. For example:

configure --prefix=/usr/local

This invocation would cause the libraries to be installed in /usr/local/lib, the header files in /usr/local/include, the binaries and scripts to be installed in /usr/local/bin, etc.

There are also options for using cross-compilers and enabling debug and profiling. To see the full list of available options, run:

configure --help
Installing Rudiments

By default, on Unix or Linux, everything is installed under /usr/local/firstworks by default. You should either create that directory and give yourself full access permissions or install as root.

To install Rudiments run:

make install

To uninstall Rudiments run:

make uninstall

Installation on Windows

Downloading Rudiments

You can download the most current source distribution of Rudiments from http://rudiments.sourceforge.net.

For a Windows installation, download the zip file.

Extracting Rudiments

To extract the distribution, move the zip file to your desktop or a location on your machine that you have read/write access, right click on the file and select "Extract All".

This will create a rudiments-X.XX directory where X.XX is replaced with the rudiments version number.

Building Rudiments

To build Rudiments on Windows, open the Visual Studio Command Prompt.

To build a 32-bit version of Rudiments, open the Visual Studio Command Prompt for x86. To build a 64-bit version of Rudiments, open the Visual Studio Command Prompt for x64.

Navigate to the directory that was created when Rudiments was extracted, and execute the following commands:

cscript /nologo configure.vbs
nmake
Installing Rudiments

By default, on Windows, everything is installed under C:\Program Files\Firstworks. You should either create that directory and give yourself full access permissions or install as Administrator.

To install Rudiments run:

nmake install

To uninstall Rudiments run:

nmake uninstall