"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "xiterm-2.0/README.SOLARIS" of archive xiterm-2.0.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 Note for Solaris users:
    2 
    3 AfterStep builds and runs on (at least) the following versions of Solaris:
    4 
    5         Solaris 2.5.1 with SunPro C 4.2 or gcc 2.7.2
    6         Solaris 2.4 with IXI Motif and SunPro C 3.0.1
    7 
    8 It ought to build on Solaris 2.4 with normal OpenWindows too.
    9 
   10 There may be problems running some parts of AfterStep on 8bpp screens; these
   11 are not problems with Solaris per se - they affect all platforms.
   12 
   13 The build procedure for AfterStep uses the X imake program
   14 extensively. Unfortunately, the versions of imake and associated files that
   15 Sun supplies with Solaris are somewhat broken. Even worse, other versions of
   16 imake that you might have (if you bought IXI's Motif development kit, for
   17 instance) are also broken.
   18 
   19 There are three things that you might have to change:
   20 
   21 1) the imake program binary (unless you have Solaris 2.4 or later)
   22 
   23 2) the xmkmf shell script
   24 
   25 3) the files in /usr/openwin/lib/config
   26 
   27 Fortunately, you can download some patches from:
   28 
   29         http://www.primate.wisc.edu/software/imake-stuff/
   30 
   31 Those patches include a fixed imake (which you may not need), instructions to
   32 fix xmkmf, and fixes for the config files that let (for example) gcc be used
   33 to build programs instead of the normal cc.
   34 
   35 If you read the instructions at the above web site, you shouldn't have too
   36 many problems.
   37 
   38 None of the imake stuff says how the compiler should find the Xpm library and
   39 header file, so you have to do two things when building AfterStep. First, you
   40 should edit include/configure.h so that XPMLIBRARY contains the linker options
   41 needed to link with the Xpm library. In our systems here, libXpm.so is
   42 installed in /usr/local/lib, so I have:
   43 
   44         #define XPMLIBRARY -L/usr/local/lib -R/usr/local/lib -lXpm
   45 
   46 (If you don't know what -L or -R do, read the man page for ld.)
   47 
   48 Whilst you are editing the include/configure.h file remember to change all the
   49 references to /usr/X11R6 to somewhere suitable for your machine.
   50 
   51 When you come to the final "make" which compiles everything, you will probably
   52 have to do something which tells the compiler where to find the Xpm header
   53 file (xpm.h). You should do this by defining the CDEBUGFLAGS macro on make's
   54 command line. Because xpm.h is installed on our network in
   55 /usr/local/include/X11, I do this:
   56 
   57         make CDEBUGFLAGS=-I/usr/local/include
   58 
   59 A correctly configured imake should define SYSV and SVR4 in the Makefiles. If
   60 it doesn't (and IXI's imake doesn't) you will need to add them to the
   61 CDEBUGFLAGS macro as well. Something like:
   62 
   63         make "CDEBUGFLAGS=-DSYSV -I/opt/IXI/X11 -I/opt/IXI/include"
   64 
   65 [If anyone has other broken versions of imake please email the afterstep
   66 maintainers so it can be mentioned here. Thanks!]
   67  
   68 From Doug Hughes <Doug.Hughes@Eng.Auburn.EDU> :
   69 
   70 PagerNOXPM will not build (because the Makefile has no rules) and causes
   71 the general compile to fail if XPM is defined (which it will be in many
   72 cases). So, it should arguably have a case for that in the default
   73 Makefile, or should not be attempted to be built. (or a comment to comment
   74 it out of the top Imakefile..)
   75 
   76 
   77 						Chris Ridd <C.Ridd@isode.com>