Re: FVWM: Xpm Problems

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Sun, 27 May 2001 09:13:16 -0400

Administrator <Administrator_at_isshou.com> writes:
> I have tried everything suggested in the FAQ and INSTALL files
> and have been unable to get colored icons. I am not a programmer but am
> very familiar with UNIX. Enclosed is the information about the computer
> and the error messages.
>
> I probably missed something simple but I need help please ?
>
> Sincerely
>
> Operating system
> SunOS ultra80 5.8 Generic sun4u sparc SUNW,Ultra-80
> xpm version is xpm-3.4k-solaris
> invoking configure
> setenv LDFLAGS -R/usr/local/xpm
>
> ./configure --with-xpm-library=/usr/local/xpm/lib --with-xpm-includes=/usr/lo
> cal/xpm/include

> config.log
>
> configure:2353: checking for XpmReadFileToXpmImage in -lXpm
> configure:2372: cc -o conftest -g -R/usr/local/xpm conftest.c -lXpm -L/usr/l
> ocal/xpm/lib -lXpm -L/usr/openwin/lib -R/usr/openwin/l
> ib -lSM -lICE -lX11 -lsocket -lnsl 1>&5
> ld: fatal: library -lXpm: not found
> ld: fatal: File processing errors. No output written to conftest
> configure: failed program was:
> #line 2361 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error. */
> /* We use char because int might match the return type of a gcc2
> builtin and then its argument prototype would still apply. */
> char XpmReadFileToXpmImage();
>
> int main() {
> XpmReadFileToXpmImage()
> ; return 0; }

Trying this myself, I see that my first suggestion wasn't right.

This does seem to work:

export LD_OPTIONS="-L/usr/local/lib -R/usr/local/lib"
./configure --with-xpm-library=/usr/local/xpm/lib\
 --with-xpm-includes=/usr/local/xpm/include


-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun May 27 2001 - 08:17:47 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:51 BST