Instructions for Installing XFree86 4.2.0 on an Intel Pentium Aviion machine with DG/UX Release 4.20MU07 Takis Psarogiannakopoulos February 17, 2002 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.6. You need to create a link X11R6 ---> X11R6.6 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.6". This is the default location of X11R6.6 , 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 225 MB (450000 blocks). In X11R6.6 XFree86 v4.2.0 there is only one big tar file. If you unfold this file by giving the command tar -xvf X11-V420-DGUX-BIN.tar it will produce two smaller compressed tar.bzip2/gz files: X11R66-XF86V420-DGUX.tar.bz2 (the binaries for XFree86 v4.2.0) extract-tools-v420.tgz (extract tools for XFree86 v4.2.0) Trivial:you must have root privilege to install the new X11R6.6 system. o To unpack the X11R66-XF86V420-DGUX.tar.bz2 file do as follows: First unpack in some directory the extract-tools for v4.2.0 by doing gzip -d < extract-tools-v420.tgz | tar xvf - In the newly created dir you will find the compression program "bzip2". Copy this file to your path (for example do: cp bzip2 /usr/bin). Then give from the directory that holds the X11R66-XF86V420-DGUX.tar.bz2 the command: bzip2 -d < X11R66-XF86V420-DGUX.tar.bz2 | tar xvf - The new X files will go directly to the new filesystem /usr/X11R6.6. Make sure that you have created the filesystem /usr/X11R6.6 otherwise you will just fill up your /usr and maybe crash your machine. So you must make **sure** that your /usr has enough space if you dont choose to create a separate filesystem /usr/X11R6.6. o cd your home dir and backup your .profile as "cp .profile myprofile". Then cd /usr/X11R6.6. Copy the file profile.X11R66 to your home dir by using "cp profile.X11R66 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.6/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 called "xdgconfigure". Please do: cd /usr/ ln -s X11R6.6 X11R6 cd (to go back to your home directory) Then just run "xdgconfigure". (It knows for all the monitors of DG). Please note: The XFree86 v4.2.0 Xserver doesnt produce messages unless you 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 at 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.6 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.6 is to delete the filesystem /usr/opt/X11 and make a link /usr/opt/X11--->/usr/X11R6.6 , so that the libraries from dglib and /usr/lib point correctly to the new ones in /usr/X11R6.6/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.6/lib. (I have done that for you). Then cd /usr/X11R6.6/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-x11r66 (found in /usr/X11R6.6 to /usr/dglib , cd /usr/dglib and execute the script. This will create all new links for the X11R6.6 X window system. Then unmount (delete?) the old X11 by giving "umount /usr/opt/X11". NOTE: If you compile programs in the X11R6.6 *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.6 compilation do "ldd prog" to make sure that the binary loads only R6.6 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.6/include/X11 X11 ln -s ../X11R6.6/include/uil Uil ln -s ../X11R6.6/include/uil uil ln -s ../X11R6.6/include/Xm Xm ln -s ../X11R6.6/include/Mrm Mrm ln -s ../X11R6.6/include/DPS DPS ln -s ../X11R6.6/include/GL GL ln -s ../X11R6.6/include/freetype2 freetype2 7. What is about: First this new X11 window system comes with the latest Motif 2.1.30 Old Motif libraries are still there for compatibility with programs. It supports multiple graphics 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 technical info that XFree86 doesnt have to see how to handle the situation. Please note in particular tha the ATI Charger 3D has a bug in its video BIOS and so is not suitable 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 17/02/2002, England Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/DGUX.sgml,v 1.1.3.1 2002/02/17 00:00:01 Takis Exp $ $XFree86: xc/programs/Xserver/hw/xfree86/doc/README.DGUX,v 1.1.3.1 2002/02/16 00:0:01 Takis Exp $