<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Configuration for the build:</TITLE>
</HEAD>
<BODY BGCOLOR="#efefef" TEXT="black" LINK="blue" VLINK="#551A8B" ALINK="red">

<A HREF="DGux.html"><EM>Instructions for Building XFree86 on an Intel Pentium Aviion machine with DG/ux R4.20MU04</EM></A>
 <b>:</b> <EM>Configuration for the build:</EM><BR>
<b>Previous:</b> <A HREF="DGux2.html"><EM>GENERAL:          </EM></A><BR>
<b>Next:</b> <A HREF="DGux4.html"><EM>DISCUSSION ABOUT GCC</EM></A>


<HR NOSHADE>
  <H2><A NAME="3"></A>3. Configuration for the build:</H2>
<p>Almost all you need is in "DGUX.cf" located in xc/config/cf.
Edit the file DGUX.cf and site.def and change what ever you need.
Remember DGUX.cf overwrites site.def.
The default ProjectRoot for XFree86-3.3.5 is now /usr/X11R6
(located in site.def). If you want to change this to whatever
you like (I prefer /usr/X11R6.3 and a link in /usr X11R6-&gt;X11R6.3)
edit DGUX.cf and locate the entry:</p>
<p>
<pre>
  #if 0
  #define ProjectRoot /usr/X11R6.3
  #endif
</pre>

Eliminate the #if 0 , #endif.
Then change this to whatever you prefer.
(I prefer the above for the precompiled binaries)</p>
<p>The DG/ux malloc is crap and keeps bringing problems with some
X software so I dont use it. Instead there is a port of GNU
malloc in /usr/local (it came with the BuildXtools file).
Dont try to build with the /lib/libmalloc.a of DG/ux and then
send me e-mails that some programs they dont work properly.
In my build I use tcl8.0 and tk8.0 since the xconfig of R4.20MU03
is reporting incorrect values for the monitors and XF86Setup
need to be build in order to manage to adjust the display.
If you dont have this (or dont want this) comment out the lines
about tcl,tk, (in DGUX.cf) </p>
<p>
<pre>
  /*******TCL TK DEFINITIONS ***********/
   #define HasTk  YES--&gt;NO
   ...
   #define HasTcl YES--&gt;NO
</pre>

Also 'GNU make' is required for the correct X11R6.3 build. 
(it is in Buildxtools file). 
If you decide yes to tcl,tk obtain the files
<pre>
                     tcl8.0.3.tar.gz
                     tk8.0.3.tar.gz    (from some ftp)
</pre>

(or newer versions) and compile them before the building
of X11R6.3 (Build first tcl8.0.3 then tk8.0.3).</p>

 <HR NOSHADE>
<A HREF="DGux.html"><EM>Instructions for Building XFree86 on an Intel Pentium Aviion machine with DG/ux R4.20MU04</EM></A>
 <b>:</b> <EM>Configuration for the build:</EM><BR>
<b>Previous:</b> <A HREF="DGux2.html"><EM>GENERAL:          </EM></A><BR>
<b>Next:</b> <A HREF="DGux4.html"><EM>DISCUSSION ABOUT GCC</EM></A>



</BODY>
</HTML>
