Problems compiling xfwm4

Brian J. Tarricone bjt23 at cornell.edu
Thu Apr 22 19:37:13 CEST 2004


hmm... the shape.h header on my sun box doesn't appear to include 
Xutil.h, where Region (and other stuff) is defined (whereas my linux box 
does). try adding
#include <X11/Xutil.h>
to the top of client.c, above where it includes shape.h.

	-brian


On Thu, 22 Apr 2004, Chris Greenman wrote:

> Hello, I'm having problem compiling xfwm4 4.0.5 under Solaris.  the
> compiler output is:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/openwin/include
> -I/usr/openwin/include -I/usr/local/include/xfce4
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/openwin/include -I/usr/local/include/xfce4
> -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
> -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0
> -I/usr/openwin/include -I../common
> -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\"
> -DDATADIR=\"/usr/local/share/xfwm4\" -g -O2 -c -o xfwm4-client.o `test
> -f 'client.c' || echo './'`client.c
> In file included from client.c:31:
> /usr/openwin/include/X11/extensions/shape.h:93: parse error before
> `Region'
> make[2]: *** [xfwm4-client.o] Error 1
> make[2]: Leaving directory
> `/export/xfce/src/xfce-4.0.5/src/xfwm4-4.0.5/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/xfce/src/xfce-4.0.5/src/xfwm4-4.0.5'
> make: *** [all] Error 2
> 
> 
> 
> Up to now I have not had any problems compiling.
> 
> I am using gnu make 3.80 and gcc 2.95.3 (mainly because they come with
> the Solaris 9 media pack).
> 
> Does anyone have any suggestions?
> 
> Thanks,
> Chris
> 
> 
> 




More information about the Xfce4-dev mailing list