<!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>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>BUILD </EM><BR>
<b>Previous:</b> <A HREF="DGux4.html"><EM>DISCUSSION ABOUT GCC</EM></A><BR>
<b>Next:</b> <A HREF="DGux6.html"><EM>INSTALLATION OF THE BINARY:</EM></A>


<HR NOSHADE>
  <H2><A NAME="5"></A>5. BUILD </H2>
<p>In the usual X11R5 of DG (mwm) open an xterm and give:
(/bin/sh = Bourne shell)</p>
<p>
<pre>
  cd xc
  make World &gt; Build-dg.log 
</pre>
</p>
<p>In that way you will get all the error meggages in your
screen.
Dont worry with messages about -znodefs.</p>
<p>Note: the old command 
<pre>
  make World BOOTSTRAPCFLAGS="-DDGUX" &gt; Build-dg.log
</pre>

is no longer needed since imake will detect the DGUX OS
(in Version =&gt; 3.3.3.1) and set up things. However this 
command will also work. </p>
<p>And in another xterm  give cd xc
tail -f Build-dg.log to watch the building progress. </p>
<p>To install X11R6.3 XFree version 3.3.5 after the build
you must have a filesystem say usr_X11R6.3  mounted to
the directory /usr/X11R6 size 350000 blocks. 
(or whatever you choose to be your ProjectRoot, if you
modify DGUX.cf for another ProjectRoot than the default
/usr/X11R6 in site.def).
Then give
<pre>
  make install
  make install.man (install the man pages)
</pre>

The installation will not put an XF86Config in your
/usr/X11R6.3/lib/X11/ and so if you give startx the new
X11 will not start. Read the file README-X3331.DGUX in
this ftp site (located in the binaries) about the whole
installation procedure of X11R6.3. 
Or quickly you can do:
(I remind: DG/ux mouse device "/dev/mouse")
cd /usr/X11R6.3/bin
ln -s XF86_VGA16 X 
Then put in your .profile the path /usr/X11R6.3/bin and 
run the XF86Setup program. Ajust first the mouse device
then everything else. 
(You need to read really the file README-DGUX.INSTALL-&gt; look
in the end of this file).</p>
<p>To build the contributed software with XFree86-3.3.5 get
the X335contrib.tgz and do 
<pre>
  gzip -d &lt; X335contrib.tgz | tar xvf -
</pre>
</p>
<p>(Or for 3.3.3 sources unpack X333contrib.tgz and apply the DGUX
patch as 
<pre>
  gzip -d &lt; X335contrib-DGUX.diff.gz  | patch -p0 -E ). 
</pre>

Please note:
You must have already install and active the X11R6.3 that you
build so that the imake is working properly for your system.
Read below for how to install this Xwindow system.
After that you could do:</p>
<p>
<pre>
  cd contrib
  xmkmf -a
  make
  make install 
  make install.man (for installing the man pages)
</pre>
</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>BUILD </EM><BR>
<b>Previous:</b> <A HREF="DGux4.html"><EM>DISCUSSION ABOUT GCC</EM></A><BR>
<b>Next:</b> <A HREF="DGux6.html"><EM>INSTALLATION OF THE BINARY:</EM></A>



</BODY>
</HTML>
