%% Andrew Laden <andrew_at_sgc.com> writes:
al> Recap: Fvwm 2.1.10, Xpm 3.4k, configure sees it, but thinks its
al> less then 3.4f.
>> If that still doesn't help, look in the config.log file and see where it
>> tries to compile and run the xpm app to find the version: what does it
>> say there?
al> Its says...(minus pine's formatting)
al> configure:4382: checking for XpmReadFileToXpmImage in -lXpm
al> configure:4401: gcc -o conftest -g -O2 conftest.c -lXpm -L/opt/fvwm/lib
al> -lXpm
al> -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lsocket -lnsl 1>&5
al> configure:4446: checking for X11/xpm.h
al> configure:4456: gcc -E -I/opt/fvwm/include -I/usr/openwin/include
al> conftest.c >
al> /dev/null 2>conftest.out
al> configure:4508: checking for Xpm 3.4f or better
al> configure:4525: gcc -o conftest -g -O2 -I/opt/fvwm/include
al> -I/usr/openwin/include conftest.c -L/opt/fvwm/lib -lXpm
al> -L/usr/openwin/lib -R/usr/openwin/lib -
al> lX11 -lsocket -lnsl 1>&5
al> configure: failed program was:
al> #line 4517 "configure"
al> #include "confdefs.h"
al> #include <X11/xpm.h>
al> int main(int c, char **v) {
al> return c == 1 ? 0 :
al> XpmIncludeVersion != XpmLibraryVersion() ? 1 :
al> XpmIncludeVersion < 30406 ? 2 : 0 ;}
That's _it_? No error message after that? No link error? Arg.
OK, try extracting the text there into a .c file and compiling it by
hand using the commands configure used:
$ cat >foo.c
#include <X11/xpm.h>
int main(int c, char **v) {
return c == 1 ? 0 :
XpmIncludeVersion != XpmLibraryVersion() ? 1 :
XpmIncludeVersion < 30406 ? 2 : 0 ;}
^D
$ gcc -o conftest -g -O2 -I/opt/fvwm/include -I/usr/openwin/include foo.c -L/opt/fvwm/lib -lXpm -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lsocket -lnsl
Do you get any compiler or linker errors? Next try:
$ ./conftest
$ echo $?
(assuming Bourne shells; I guess you'd use $status in C shells?)
What is the return code for the program?
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith_at_baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.
--
Visit the official FVWM web page at <URL: http://fvwm.math.uh.edu/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Jan 29 1999 - 11:52:52 GMT