Instructions for Installing XFree86 4.0.3 on an Intel Pentium Aviion machine with DG/UX Release 4.20MU07 Takis Psarogiannakopoulos April 29, 2001 NOTE:This executable has been compiled with the macro -DPENTIUM_CHANGE (that all the new Aviion machines support). If you have an old i486 (rather unlikely) the executable will NOT RUN correctly. But we havent use -mcpu=pentiumpro, so the executable will work on ALL PENTIUM machines. o About Project Root: We choose as ProjectRoot for ix86 DG/UX the location /usr/X11R6.4. You need to create a link X11R6 ---> X11R6.4 inside /usr. I dont like the location /usr/opt/X11 (default location of DG X11R5) that some of you have suggested to me in different times. I believe it is a good idea to keep the original X11 as is for several reasons. o Make a filesystem,using sysadm, mounted under "/usr/X11R6.4". This is the default location of X11R6.4 , you cannot change this except if you recompile the whole source of X. (Please dont send e-mails about this). The size of this filesystem should be around 160 MB(320000 blocks). In X11R6.4 XFree86 4.0.3 there is only one big "tar.bz2" file: X11R64-XF86V403-DGUX.tar.bz2 You *need* also the file (lying in the same dir with the above file): extract-tools-v403.tgz Trivial:you must have root privilege to install the new system. o Unpack the X11R64-XF86V403-DGUX.tar.bz2 file as follows: First give in your home dir the extract-tools-v403.tgz by doing gzip -d < extract-tools-v403.tgz | tar xvf - In the newly created dir you will find the file "bzip2". Copy this file to your path (eg: cp bzip2 /usr/bin). Then give from the directory that you holds X11R64-XF86V403-DGUX.tar.bz2 the command: bzip2 -d < X11R64-XF86V403-DGUX.tar.bz2 | tar xvf - The new X files will go directly to the new filesystem /usr/X11R6.4. Make sure that you have created the filesystem /usr/X11R6.4 otherwise you will just fill up your /usr and maybe crash the machine. So you must make **sure** that your /usr has enough space if you dont create a separate filesystem /usr/X11R6.4. o cd your home dir and backup your .profile as "cp .profile myprofile". Then cd /usr/X11R6.4. Copy the file profile.X11R64 to your home dir by using "cp profile.X11R64 your HOME-DIR/.profile" ,then cd your home dir and give "chmod 644 .profile" to make sure that the new profile is active. This is because you need to tell to the system to look for the X software in a different location than the usual /usr/bin/X11 of DG/UX. Also you need to tell to the system that the new X libraries are in /usr/X11R6.4/lib. **You NEED to re-login in order to make the new .profile active !** ** DO NOT GIVE "startx" AFTER THAT, READ Configuration below !** o About Configuration: DG/UX now has a program "xdgconfigure". Please do: cd /usr/ ln -s X11R6.4 X11R6 Then just run xdgconfigure. (It knows for all the monitors of DG). Please note: The XFree86 v403 Xserver doesnt produce messages unless want it to do so. This is because the DG/UX console driver some times causes corruption of the screen if you print text during the startup of the Xserver. If you require messages try in bash shell to give: (bash$ ) X -verbose >& info1 or even X -verbose -verbose -verbose >& info2 for more messages. X -dgmsg -help >& help X -dgmsg Then when the server is up press CONTROL+ALT+BACKSPACE to shutdown the Xserver. File info1 (or info2) have all relevant info about your graph- ics card , display memory etc ... Also a log is in /var/adm/log/. It is required if you want me to look any problems you found! o If you want to compile programs with the new X11R6.4 the headers in /usr/include/X11 pointing to /usr/opt/X11 of DG/UX is a problem . Do: a): unmounting the /usr/opt/X11 will prevent the sysadm to use the X graphical interface. But this will be the only thing that you loose. The correct thing to do for X11R6.4 is to delete the filesystem /usr/opt/X11 and make a link /usr/opt/X11--->/usr/X11R6.4 , so that the libraries from dglib and /usr/lib point correctly to the new ones in /usr/X11r6.4/lib. Before copy the following and similarly copy the following libraries: libX11.so.2, libX11.so.5, libXIM.so.1, libXaw.so.1, libXaw.so.2, libXext.so.2, libXi.so.2, libXimp.so.1, libXm.so.2, libXmu.so.2, libXsess.so.1, libXsi.so.1, libXt.so.2, libXt.so.5.0, libMrm.a, libUil.a, libX11_s, libXR4sco_s into /usr/X11R6.4/lib. (I have done that for you). Then cd /usr/X11R6.4/lib and make links: (I have done that for you): ln -s libXm.so.2 libXm.so.1 ln -s libXm.so.2 libXm.so.5.0 ln -s libX11.so.5.0 libX11.so.1 ln -s libXIM.so.1 libXIM.so.5.0 ln -s libXaw.so.2 libXaw.so.5.0 ln -s libXext.so.2 libXext.so.5.0 ln -s libXext.so.2 libXext.so.1 ln -s libXi.so.2 libXi.so.1 ln -s libXi.so.2 libXi.so.5.0 ln -s libXimp.so.1 libXimp.so.5.0 ln -s libXmu.so.2 libXmu.so.5.0 ln -s libXt.so.2 libXt.so.5.0 ln -s libXsi.so.1 libXi.so.5.0 Also you need to correct the links in /usr/dglib at least! (the correct thing to do is modify also /usr/lib links to /usr/opt/X11 libs). Try cd /usr/ tar -cvf dglib-orig-R420MU07.tar dglib gzip dglib-orig-R420MU07.tar (to minimize the space dglib-backup takes) then cd /usr/dglib rm libX* i.e. delete ALL links to libraries in /usr/opt/X11. Then copy the script create_new_links-in-dglib-x11r64 (found in /usr/X11R6.4 to /usr/dglib , cd /usr/dglib and execute the script. This will create all new links for the X11R6.4 X window system. Then unmount (delete) the old X11 by giving "umount /usr/opt/X11". NOTE: If you compile programs in the X11R6 *make sure* that you *unmount* /usr/opt/X11 or you eliminate the links in /usr/lib to the OLD libX's in /usr/opt/X11/lib. Otherwise gcc will link these old libraries! and the binary will not run correctly. Always after an R6 compilation do "ldd prog" to make sure that the binary loads only R6 version libraries (except maybe the motif library libXm.so.2). b:) cd /usr/include tar -cvf old-X11headers.tar X11 gzip old-X11headers.tar so that you store your old headers in /usr/include. Then cd /usr/include/ and delete rm -r X11 rm Xm rm Mrm rm Uil rm uil Make new links as: cd /usr/include ln -s ../X11R6.4/include/X11 X11 ln -s ../X11R6.4/include/uil Uil ln -s ../X11R6.4/include/uil uil ln -s ../X11R6.4/include/Xm Xm ln -s ../X11R6.4/include/Mrm Mrm ln -s ../X11R6.4/include/DPS DPS ln -s ../X11R6.4/include/GL GL ln -s ../X11R6.4/include/freetype2 freetype2 7. What is about: First this X window system comes with the latest Motif 2.1.30 Old Motif libraries are there for compatibility with programs. It supports multiple cards ! and multiple monitors. If your AViiON has onboard graphics card (on the motherboard) it will be OK for one monitor display but *wont* work with multiple configurations. Since its Video BIOS is part of the system BIOS and is tech info that XFree86 doesnt have to see how to handle the situation. Also ATI Charger 3D have a bug in their BIOS for dual configurations. I have used : A) 1) ATI Rage 128 32MB PCI + 2) Cirrus 5446 PCI 2MB card B) 2) ATI All in Woncer Pro 8MB PCI + 2) Cirrus 5446 PCI 2MB card C) 3) Matrox G200 PCI Dual headed PCI 8MB per channel. I would like to test the G200 quad head/monitor but unfortunately they are *still* far too expensive for my wallet at this time. Takis, Cambridge 29/04/2001, England Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/DGUX.sgml,v 1.1.2.3 2001/04/29 00:00:01 Takis Exp $ $XFree86: xc/programs/Xserver/hw/xfree86/doc/README.DGUX,v 1.1.2.3 2001/04/29 00:0:01 Takis Exp $