Availability and Installation of the Xaw3d widget set
This section shortly describes how I usually install Kaleb Keithley's Xaw3d
widget library on a Linux box. Certainly your mileage may vary on other
Unix flavors.
- Get the sources for Xaw3d, either directly from
ftp.x.org
or better from one of ftp.x.org's mirror sites in your vicinity.
- Unpack the archive:
tar xzvf Xaw3d-1.3.tar.gz
- Enter the directory "xc/lib/Xaw3d":
cd xc/lib/Xaw3d
- Copy all header files to a location where the compiler
finds them. On Linux I do:
mkdir /usr/X11/include/X11/Xaw3d
cp *.h /usr/X11/include/X11/Xaw3d
- In case you want a Motif like scrollbar you should edit the Imakefile
and uncomment the line
# EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY
by removing the leading '#'.
- Generate the Makefile and compile the code:
xmkmf
make
- Copy the library to a known place and create appropriate
symbolic links:
cp libXaw3d.so.6.1 /usr/local/lib/
cd /usr/local/lib/
ln -s libXaw3d.so.6.1 libXaw3d.so.6
ln -s libXaw3d.so.6.1 libXaw3d.so
- Let the system know about the existence of the new Xaw3d
library::
ldconfig -v
Last modified Mar 20 1997 by
jp.