1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
Installation
============
LINUX
-----
Either install RPM packet with binaries, or compile as described in the
UNIX section
UNIX
----
1. Extract package with gzip -dc g2-xxxx.tar.gz | tar xvf -
2. Run './configure'
3. Optionally run 'make depend'
4. Run 'make'
5. Run 'make install' or copy libg2.a and g2.h, g2_X11.h, g2_GIF.h, and
g2_PS.h to the default locations for library and include files.
6. Optional: run 'make demo' to compile demo applications (demo1,demo2,demo3)
GIF-SUPPORT
-----------
g2 needs to be linked to the free available gd library written by
Thomas Boutell in order to create GIF files. g2 is tested with
version 1.3 of gd. gd is available at http://www.boutell.com/gd/ and
at numerous mirror sites. Use a ftp search
(e.g. http://ftpsearch.ntnu.no/) and search for "gd1.3.tar.gz" to find
your nearest mirror site.
|