Re: XPM loading problem (libXPM)

David Mihm (davemann@ionet.net)
Wed, 31 Mar 1999 11:13:06 -0600 (EST)


On Wed, 31 Mar 1999, Derick Wong wrote:

! I've tried removing the config.cache file and recompiling the source but 
! the same problem still exist. Could it by any chance the the 
! libXpm4.7.tar.gz which I downloaded is actually the wrong version?
! 
! I came to this conclusion because after I extracted the files, it 
! actually creates a xpm-3.4g directory and the README file states that 
! nyone the xpm is actually version 3.0 Does anyone know where I can get 
! the latest version of xpm (version 4.0 or higher)?

	I have version 3.4j, so I would pressume yours should work fine.
I don't know where you see that it requires 4.0 of Xpm.  Have you also
follolwed the suggestions in the README.Solaris for compiling on the Sun?
You need to provide the full paths to the libraries as described in this
README file.  So your ./configure line will end up being rather long -
haveing the redefined install locations, the explicit paths to the libs
and headers of all graphics libraries, and the disabling of script ... and
anyothers you might particularily wish to have.

HTH

! >From: David Mihm <davemann@ionet.net>
! >
! >On Tue, 30 Mar 1999, Derick Wong wrote:
! >
! >! I'm still stuck with the Script program. However, I manage to execute 
! >! AfterStep after recompilation. This time around, I encounter the 
! >! following errors :
! >! 
! >! LoadImage: cannot load XPM file 
! >! [$HOME/GNUstep/Library/AfterStep/desktop/icons/8bpp/Bookshelf.xpm]
! >! LoadImage: you need to install libXPM v 4.0 or higher, in order to 
! read 
! >! images of this format.
! >! 
! >! FYI, I've downloaded libXPM-4.7.tar.gz and extracted the files. I 
! used 
! >! $HOME/xpm-3.4g/a.out as my XPM librarie directory which include 
! libXpm.a 
! >! and libXPM.4.7.so and the compilation went successfully. But I still 
! >! have the same problem.
! >! 
! >! AfterStep manages to run albeit without the necessary XPM graphic 
! files. 
! >! Surprisingly, Netscape managed to execute without any problem. I can 
! >! also Quit AfterStep. The rest of the programs cannot be executed.
! >! 
! >! BTW, I'm using AfterStep 1.6.10 on SunOS 4.1.4
! >
! >	Did you do a 'rm config.cache' after gettin the new header/libs?
! >are you using the --disable-script I suggested, and you must  unarchive 
! a
! >*new* source code tree or do the 'rm config.cache' in order for
! >./configure to noticce the headers etc.
! >
! >
! >! >From: David Mihm <davemann@ionet.net>
! >! >
! >! >On Thu, 25 Mar 1999, Derick Wong wrote:
! >! >
! >! >! Hi,
! >! >! 
! >! >! I'm a newbie to AfterStep. I encounter problems compiling the 
! Script 
! >! >! program in src/Script directory. The rest of the source compiles 
! >! >! successfully. I attach the error messages below :
! >! >
! >! >[snip Script compilation error]
! >! >
! >! >	I don't know why Script is not compiling for you, I'd suggest
! >! >using ./configure --disable-Script , you won't miss it imo.
! >! >
! >! >! I also face problem running AfterStep. Even though I changed the 
! >! >! execution path from the default /usr/local/bin to $HOME/afterstep, 
! >! the 
! >! >! changes was not reflected when I execute AfterStep. It indicates 
! the 
! >! >! file /usr/local/share/afterstep/base.8bpp was not found.
! >! >! 
! >! >! I used "configure --prefix=$HOME/afterstep" to change the default 
! >! >! execution path. When I checked the configure.h file, the new path 
! is 
! >! >! indicated there. Can someone show me where I went wrong?
! >! >
! >! >	The README has been modified a bit due to this confusion, it now
! >! >states:
! >! >
! >! >If you can't become root, you will have to change systems-wide 
! >! >installation paths to someplace from your PATH where you have 
! permisson 
! >! to
! >! >write by using the appropriate paths to the following ./configure 
! >! options.
! >! >
! >! >  --prefix=PRE            install architecture-independent files in 
! PRE
! >! >                          [/usr/local]
! >! >  --bindir=DIR            user executables in DIR [PRE/bin]
! >! >  --datadir=DIR           read-only architecture-independent data in 
! >! DIR
! >! >                          [PRE/share]
! >! >  --mandir=DIR            man documentation in DIR [PRE/man]
! >! >
! >! >Make sure these directories exist before you start the configure,
! >! >otherwise you'll have one file called bin, one called man, etc. :)  
! >! Begin
! >! >the build process and monitor the output of the above commands for
! >! >possible error messages!!!
! >! >[... end]
! >! >
! >! >HTH
! >! 

+--------------------------------------------------------------------+
| d a v i d  @  m i h m                         reality.sys corrupt! |
| davemann-at-ionet-dot-net                    reboot universe(y,n)? |
| [www|ftp].the-site.loonybin.net                         ICQ:906859 |
| webmaster-at-afterstep-dot-org      ftpmaster-at-afterstep-dot-org |
+--------------------------------------------------------------------+
  Key fingerprint  = E4 90 15 ED E5 9F 18 8A B0 CC FF 68 61 36 4A 6F


--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html