Re: AfterStep Apps

Albert Dorofeev
Sun, 4 Oct 1998 12:13:10 +0200 (CEST)

John Lewis writes:
> I noticed various errors as the compile proceeded but the most common
> is:
>     ld: cannot open -lXpm: no such file or directory
> I have browsed through the rpms on the RedHat CD to try to find which
> pacckage I have missed - there were several needed before I could get to
> the stage of compiling even 'aspostit'  I have installed,
> do I need to upgrade this?

Hmmm... I do not know. Here is what I have:
-rw-r--r--   1 root     root        78832 Jan 25  1998 /usr/X11R6/lib/libXpm.a
lrwxrwxrwx   1 root     root           14 Sep 15 13:12 /usr/X11R6/lib/ ->
lrwxrwxrwx   1 root     root           14 Sep 15 13:12 /usr/X11R6/lib/ ->
-rw-r--r--   1 root     root        53408 Jan 25  1998 /usr/X11R6/lib/

The autoconf should take care of finding your Xpm
library. When you run ./configure it should say:
checking for libXpm... -I, -L/usr/X11R6/lib

If it says just "no", then it cannot find the
location of your Xpm library. Then you should try
running ./configure specifying the location of the
Xpm library manually:
./configure --with-xpm-library=DIR


Albert Dorofeev
fingerprint = C9 49 D0 F3 41 FA 8C D8  E9 5C 6A D4 F1 6D 65 15
Anything good in life is either illegal, immoral or fattening.