=============================================================== Linux shared libraries for the Khoros 2.0.2 development release =============================================================== Wolfram Gloger (wmglo@dent.med.uni-muenchen.de) September 1995 INTRODUCTION The image processing system Khoros 2.0.2 ('K2') is available for ftp as a 'developers release' (sources only) from ftp.khoros.unm.edu (and other sites, see the newsgroup comp.soft-sys.khoros for comprehensive FAQ documents). It will compile without changes on Linux, but take up more than 100MB of disk space when all binaries are statically linked (which is the default). This patch was created to generate Khoros shared libraries on Linux, for both ELF and a.out setups. If this is greek to you, ELF is a different, more advanced binary format than the 'traditional' a.out, with inherent support for shared libraries. ELF is now (9/95) still in its early stages of use (several BETA versions of ELF Linux distributions are available), but it is expected that it will completely replace a.out in the future. Support for ELF shared libraries in this patch is exactly like on comparable systems like Solaris. On the other hand, support for Linux a.out shared libraries is limited to the most important K2 toolboxes: 'bootstrap', 'data services' and 'design'. Adding jump files etc. for the other toolboxes seems like a waste of time to me, since the saving in binary disk usage would be minimal. CHANGES COMPARED TO THE PREVIOUS VERSION Support for ELF. You need all ELF development tools (ld.so-1.7.x, gcc-2.7.x, libc-5.x, binutils-2.5.x, the flex library libfl.a in ELF) and XFree86-3.1.2 in ELF for this to work. WHAT AND WHERE TO GET - COPYRIGHT ISSUES khoros2.0.2-lxELF.tar.gz at sunsite.unc.edu:pub/Linux/incoming (now) pub/Linux/X11/xapps (later) tsx-11.mit.edu:pub/Linux/ports (hopefully soon) ftp.khoros.unm.edu:pub/khoros/contrib/ports (maybe) ftp.e20.physik.tu-muenchen.de:pub/K2 (probably soon) ftp.lrz-muenchen.de:/local/khoros/khoros-2.0/khoros-2.0/contrib/ports (probably soon) Khoros 2.0 comes with its own license. My patches are copyrighted and freely distributable according to the GNU public license. In particular, I assume no responsibility of any kind as to the functionality of K2 compiled with these patches. HOW TO APPLY THE PATCH First unpack Khoros as described in the 'release/install' file found on K2 ftp servers. Unpack khoros2.0.2-lxELF.tar.gz, e.g. in the K2 home directory. This will create a 'linux' directory. Before running bin/installit, go to the Khoros 2.0.2 home directory and apply the patch with: % KHOROS_HOME=/your/path/to/K2; export KHOROS_HOME % cd $KHOROS_HOME % patch -p0 < .../linux/patch.Linux If you are using a.out, unpack the jump files with: % tar xvf .../linux/jump.tar HOW TO INSTALL TOOLBOXES As described in the K2 docs, % PATH=$KHOROS_HOME/bin:$PATH % installit should compile the bootstrap toolbox, which is really the base of the system. If you are using a.out, don't forget to set CreateKhorosSharedLibraries to NO in the Site.linux file (editing this file is part of the 'installit' procedure). For the other toolboxes and their installation, see the K2 docs. Good luck with Khoros, Wolfram.