8 Compiling XFree86 under 3.2.4

Contents of this section

Compiling gcc2.5.8 is accomplished after doing the following.

    ./configure i386-*-sco3.2v4.2
DO NOT USE "./configure i386-*-sco" it will not work.

Make sure you run the "make fix-includes" after you have installed.

It is recommended that you use a gcc compiled without any changes to the value of __STDC__. Some people may have compiled gcc by adding the define "-DSTDC_VALUE=0" to their CPP_PREDEFINES flag. If you have done this and are able to recompile gcc without this change then you should. Otherwise refer to the end of this section for instructions on how to fix the XFree86 tree so that it will still compile.

Compiling XFree86,

  1. Check that you have a "sys/uio.h" as there have been reports of systems which have it and systems which don't! If you already have one it need not be changed. Otherwise see the 3.2.2 section above on how to create one.
  2. Check the paragraph on site.def/xf86site.def in the compiling for 3.2.2 section.
  3. Add a -DSCO324 to the BOOTSTRAPCFLAGS when you do the make World.
            make BOOTSTRAPCFLAGS="-DSYSV -Di386 -DSCO -DSCO324" World
    
    Under 3.2.4 several different options become activated.
  4. If you have problems with mkshlib reporting an error like
            mkshlib: : cannot exec /bin/sh
     
    
    when compiling libX11, then the following should fix it,
            rm -f lib/X/libX11.a
            env - make
    
    The error is related to a lack of environment space.

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter