JAKELIB2
Jakelib runs under GNU/Linux, Solaris, Win32 and probably some other
Unix-like systems.
Jakelib depends on a couple of external libraries: Hans-J. Boehm's
garbage collector is absolutely needed to compile and use
jakelib. Other libraries like pcre (Perl Compatible Regular
Expressions) and MySQL's client libs are optional.
Compile and install
The garbage collector
First thing to do is to download version 6.0 of the garbage collector,
compile and install it. Hans-J. Boehm's garbage collector can be
downloaded directly from the author's
homepage or from our download section.
Unpack the zipped tar archive:
gunzip -c boehm-gc.tar.gz | tar x
Cd into the extracted directory:
cd gc6.0
Configure, compile and install:
./configure --enable-threads=pthreads [--prefix=]
make
make install
If you don't supply the '--prefix=' option to ./configure, the library
files will be copied to /usr/local/lib.
Jakelib
Now download the latest version of jakelib2 from www.jakelib.org.
Unpack the zipped archive:
gunzip -c jakelib2-2.X.XX.tar.gz | tar x
Cd into the extracted directory:
cd jakelib2-2.X.XX
Configure and compile:
./configure [--prefix=] [--with-gc-dir=/lib]
make
If you don't supply the '--prefix=' option to ./configure, the library
files will be copied to /usr/local/lib and include files will be
copied to /usr/local/include. If you didn't install the garbage
collector in default location you'll need to supply the
'--with-gc-dir' option. Just set it to the directory where your
libgc.a file is located.
If compilation succeeded, run
make test
to see if it works. The test program covers a wide range of operations
all across the library.
Finally run
make install
to copy the library and include files to their target locations.
QUICKSTART
visit http://www.jakelib.org/lib/jakelib2/ for a quickstart guide
samples, API doc and updates!