Re: XForms: Compilatin with Xform

Steve Lamont (spl@szechuan.ucsd.edu)
Tue, 5 Oct 99 13:02:24 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> i have a software wich want xform and now i have xform but can't compile
> it;
> I have always the same error :
> can't open -lXPM
> i take xpm but now and modify the mkconfig.h like that
> SYSLIB=-l/home/francois/CAD/xpm-3.4k-linux/include/X11/xpm.h

This is not correct.

This should look like

SYSLIB=-L/to/where/the/xpm/library/lives -lXpm [... other stuff maybe ...]

Assuming, for instance, you've installed `libXpm.a' and/or `libXpm.so' in

/home/francois/CAD/xpm-3.4k-linux/lib

then this line would read, in part,

SYSLIB=-L/home/francois/CAD/xpm-3.4k-linux/lib -lXpm

SYSLIB should point only to library (.a or .so) files, not header
files (such as `xpm.h').

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/