48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
Installing scx
|
|
|
|
|
|
1. Get Sunterlib 0.4 from
|
|
|
|
http://savannah.nongnu.org/download/sunterlib/release.pkg/0.4/sunterlib-0.4.tar.gz
|
|
|
|
and install it.
|
|
|
|
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 (default is
|
|
/usr/local/include).
|
|
|
|
* Use the --with-scsh-libraries switch to specify the path to the
|
|
library directory of the scsh installation (default is
|
|
/usr/local/lib/scsh)
|
|
|
|
* 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 (default is
|
|
/usr/local/lib/scsh/modules). 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
|
|
|
|
4. There is currently no "install" target, it is recommended to leave
|
|
scx and scx.image in the build directory.
|