problem compiling xrender.

Mike Roberts zoarre.37258548 at bloglines.com
Sun Jan 21 20:02:06 PST 2007


here's a transcript of the error:

--->  Building xrender with target all
Error: Target com.apple.build returned: shell command "cd 
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rs
ync.darwinports.org_dpupdate_dports_x11_xrender/work/libXrender-0.9.0" 
&& make all" returned error 2
Command output: make  all-am
if /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. 
-I. -I.    -I/opt/local/include   -I/usr/X11R6/include -DXTHREADS -g -O2 
-MT AddTrap.lo -MD -MP -MF ".deps/AddTrap.Tpo" \
  -c -o AddTrap.lo `test -f 'AddTrap.c' || echo './'`AddTrap.c; \
then mv -f ".deps/AddTrap.Tpo" ".deps/AddTrap.Plo"; \
else rm -f ".deps/AddTrap.Tpo"; exit 1; \
fi
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include 
-I/usr/X11R6/include -DXTHREADS -g -O2 -MT AddTrap.lo -MD -MP -MF 
.deps/AddTrap.Tpo -c AddTrap.c  -fno-common -DPIC -o .libs/AddTrap.o
In file included from Xrenderint.h:39,
                 from AddTrap.c:25:
/usr/X11R6/include/X11/Xlibint.h:69: error: redefinition of 'struct 
_XDisplay'
In file included from Xrenderint.h:39,
                 from AddTrap.c:25:
/usr/X11R6/include/X11/Xlibint.h:1226: error: parse error before 
'XConnectionWatchProc'
/usr/X11R6/include/X11/Xlibint.h:1226: warning: no semicolon at end of 
struct or union
/usr/X11R6/include/X11/Xlibint.h:1229: error: parse error before '}' 
token
make[1]: *** [AddTrap.lo] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: doxygen graphviz 
cairo xrender
Error: Status 1 encountered during processing.

/mike




More information about the macports-users mailing list