Re: FVWM: fvwm on XDarwin

From: Michael Han <mikehan_at_mikehan.com>
Date: Tue, 22 May 2001 00:41:35 -0700

On Mon, May 21, 2001 at 11:57:34PM -0700, Jim Hickstein wrote:
> I'm trying unsuccessfully to build fvwm-2.2.5 on XFree86 4.0.2 as ported to
> MacOS X, i.e. XDarwin.
>
> Make fails with this:
>
> Making all in fvwm
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I../libs -I/usr/X11R6/include -g -O2
> -c add_window.c
> add_window.c:110: illegal expression, found `void'
> fvwm.h:55: parse error in conditional expression
> cpp-precomp: warning: errors during smart preprocessing, retrying in basic
> mode
> make[2]: *** [add_window.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2

I'd guess that your compiler isn't an ANSI compiler. I thought the
Darwin tools were based on FreeBSD-3.0, which would imply an older
version of gcc. That's an ANSI compiler. You might want to try
throwing an explicit CC variable for gcc when you configure, a la
"./configure CC=/path/to/gcc". Or possibly your cpp is broken, though
typically with gcc, cpp is simply "gcc -E". You might try overriding
CPP similarly to CC.
-- 
mikehan_at_mikehan.com                            http://www.mikehan.com/
coffee achiever                              San Francisco, California
The life uncaffeinated is not worth living.
--
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 Tue May 22 2001 - 02:41:27 BST

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