SUMMARY: Where oh where is XPM stuff on Solaris 2.4

From: John D. Schneider (jdschn@dilbert.monsanto.com)
Date: Sat Mar 18 1995 - 04:32:24 CST


My original post:

> I am running Solaris 2.4 and trying to build xscreensaver-1.25 using
> gcc-2.6.3. During the build it has failed at several points looking for
> components referred to as XPM or Xm, as in:
>
> make[1]: Entering directory `/usr/local/xscreensaver-1.25/hacks'
> gcc -O -DSYSV -DSVR4 -Wa,-cg92 -I../utils -I/usr/openwin/include -DSVR4 -DSYSV -DHAVE_XPM -c blitspin.c -o blitspin.o
> blitspin.c:31: X11/xpm.h: No such file or directory
> make[1]: *** [blitspin.o] Error 1
> make[1]: Leaving directory `/usr/local/xscreensaver-1.25/hacks'
> make: *** [all] Error 2
> dilbert root(7)#
>
> It is looking for a xpm.h file. Also missing were some other Xm includes,
> which I happened to find in the Solaris 2.4 Hardware 11/94 CD under:
>
> /cdrom/sol_2_4_hw1194_sparc/s0/export/exec/sparc.Solaris_2.4/dt/include/Xm
>
> and the appropriate libraries which were in:
>
> /cdrom/sol_2_4_hw1194_sparc/s0/export/exec/sparc.Solaris_2.4/dt/lib/libXm.so
> /cdrom/sol_2_4_hw1194_sparc/s0/export/exec/sparc.Solaris_2.4/dt/lib/libXm.so.3
>
> I installed them in the usual places under /usr/openwin, and those messages
> have gone away. But I still can't find a xpm.h file.
>
> Are these part of some package I have not installed? When they turned up on
> the cdrom but not on my workstation it made me wonder if I was missing a
> package, so I went and installed the openwindow, tooltalk, and xwindows
> includes and development stuff. I don't think I am missing anything like that.

Thanks for all who responded. Most told me where to find XPM, which is
available at ftp.x.org. I pulled it down, but had some trouble building it
at first. I had to toy with the Imakefile so it wouldn't try to build the
shared library. Then I had to change the resulting Makefile so it would:

1) Specify gcc instead of cc (obviously).
2) Use /usr/ucb/install instead of /usr/sbin/install. (Most people do not place
ucb ahead of sbin in their PATH).
3) Strip out non-gnu options (like -xF) from the gcc statement.

The static library built and installed OK after these changes.

Salvatore Saieva <merccap!saieva@uunet.uu.net> also mentioned that xpm
updates are announced on the comp.windows.x newsgroup, and the xpm-talk list.

I was also missing the Motif RunTime Kit available in the Solaris 2.4 cdrom as
SUNmfrun. With these two packages properly installed xscreensaver built fine.

My thanks to the following fine people:

ericb@telecnnct.com (Eric William Burger)
tkevans@eplrx7.es.duPont.com (Tim Evans)
Ian MacPhedran <macphed@engr.USask.Ca>
pirmann@lehman.com (David Pirmann)
john@oncology.uthscsa.edu (John Justin Hough)
Joe Konczal <konczal@csmes.ncsl.nist.gov>
Richard Pieri <ratinox@unilab.dfci.harvard.edu>
Salvatore Saieva <merccap!saieva@uunet.uu.net>

John

*******************************************************************************
* John D. Schneider Internet: jdschn@dilbert.monsanto.com *
* Monsanto Company Telephone: (314)537-6808 *
*-----------------------------------------------------------------------------*
* "No sciences are better tested than the religion of the Bible." *
* - Sir Isaac Newton *
*-----------------------------------------------------------------------------*
* Disclaimer: If you think I am a spokesperson for the Monsanto Company, its *
* subsidiaries, management, or lackeys, you are sadly mistaken. *
*******************************************************************************



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:18 CDT