2003-05-19 11:45:13 -04:00
|
|
|
Installing scx
|
|
|
|
|
|
|
|
|
2003-09-02 08:19:18 -04:00
|
|
|
1. Get Sunterlib 0.4 from
|
|
|
|
|
|
|
|
http://savannah.nongnu.org/download/sunterlib/release.pkg/0.4/sunterlib-0.4.tar.gz
|
|
|
|
|
|
|
|
and install it.
|
2003-05-19 11:45:13 -04:00
|
|
|
|
|
|
|
2. Configure scx
|
|
|
|
|
|
|
|
Just `cd' to the directory containing this INSTALL file and type
|
|
|
|
|
|
|
|
./configure
|
|
|
|
|
|
|
|
* Use the --with-scsh-includes switch to specify the path to the
|
|
|
|
include directory of the scsh installation.
|
|
|
|
* Use the --with-scsh-libraries switch to specify the path to the
|
|
|
|
library directory of the scsh installation.
|
|
|
|
* Use the --with-scsh-modules switch to specify the path to the
|
|
|
|
directory where Sunterlib is installed if this directory is not in
|
|
|
|
the scsh library path (See the description of the -ll option in
|
|
|
|
the scsh manual for more information about the library path
|
|
|
|
|
|
|
|
3. Build scx by typing
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
This will compile the scx binary and the scx image scx.image. The scx
|
|
|
|
binary behaves like an ordinary scsh binary but includes bindings for
|
|
|
|
Xlib and starts the scx.image from the installation directory as
|
|
|
|
default image.
|
|
|
|
|
|
|
|
You may need to specify additional libraries for linking. This can
|
|
|
|
either be done by extending the LIBS variable in the Makefile or by
|
|
|
|
setting the LDFLAGS environment variable as in
|
|
|
|
|
|
|
|
env "LDFLAGS=-lsocket -lnsl" make
|
|
|
|
|
2003-09-02 08:19:18 -04:00
|
|
|
4. There is currently no "install" target, it is recommended to leave
|
|
|
|
scx and scx.image in the build directory.
|