Using the GNU Development System, compiling the distribution should be fairly straightforward. Before attempting to compile the system though, you should make sure that you have met all of the requirements above. To actually start the compilation, perform the following steps:
xorgsite.def
in xc/config/cf
to host.def
. Edit host.def
and make any changes you
think you need. The most useful options to change are HasTcl
,
HasTk
, HasXdmAuth
if you have the file
WrapHelp.c
and GccWarningOptions
. Due to the nature
of OpenServer's header files, the default options for this last setting
are a bit aggressive, and I recommend you set this option to
-Wpointer-arith
.
PATH
. The official version lives in
/usr/gnu/bin
, and the Skunkware version (if any) lives in
/usr/local/bin
. You must ensure that /usr/gnu/bin
appears first in your PATH
.
CC=gcc make World BOOTSTRAPCFLAGS=-DSCO5 2>&1 | tee world.log
.
This will do a full build, and send all of the build results to the
file world.log
.
make install 2>&1 | tee install.log
as root.
This will send the install results to the file install.log
.
make install.man 2>&1 | tee -a install.log
as root.