Re: FVWM: Compiling 2.0.42

From: Charles Hines <>
Date: Tue, 30 Apr 1996 14:28:54 -0400

>>>>> "David" == David Kennedy <D.Kennedy_at_Queens-Belfast.AC.UK> writes:

David> making all in ./libs...
David> gcc -g -Wall -c CopyString.c
David> In file included from CopyString.c:4:
David> fvwmlib.h:3: X11/Xlib.h: No such file or directory
David> fvwmlib.h:4: X11/Xutil.h: No such file or directory

David> Kai said:
>> There is the problem of 2.0.42 linking the global libfvwm before the
>> local (in "."). You might want to switch the two -L arguments in the
>> Makefile or remove (rename?) the global libfvwm.

David> Well, I have deleted my old libfvwm, but it makes no
David> difference. As for swapping the -L arguements, could you be a
David> little more precise?

This problem has nothing to do with linking. gcc isn't finding
include files properly. The X11 headers are usually found in
/usr/include/X11, and most compilers have this as a default search
location, I believe. But you might want to find out exactly where
your X11 headers are and add an explicit '-I/usr/include' or wherever
the X11 header directory is to your cflags. You can do this without
rerunning Imake:

  make CDEBUGFLAGS='-g -Wall -I/usr/include'

Chuck
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
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 Tue Apr 30 1996 - 13:26:50 BST

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