xrender busted?
Ryan Schmidt
ryandesign at macports.org
Thu Jun 28 16:50:02 PDT 2007
On Jun 28, 2007, at 13:25, Aaron Voisine wrote:
> sudo port install gimp
> ---> Building xrender with target all
> Error: Target com.apple.build returned: shell command " cd
> "/usr/local/var/db/dports/build/
> _usr_local_var_db_dports_sources_rsync.rsync.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/usr/local/include -I/usr/local/include
> -I/usr/X11R6/include -DXTHREADS -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/usr/local/include
> -I/usr/local/include -I/usr/X11R6/include -DXTHREADS -O2 -MT
> AddTrap.lo -MD -MP -MF .deps/AddTrap.Tpo -c AddTrap.c -fno-common
> -DPIC -o .libs/AddTrap.o
> AddTrap.c: In function 'XRenderAddTraps':
> AddTrap.c:38: error: 'xRenderAddTrapsReq' undeclared (first use in
> this function)
> AddTrap.c:38: error: (Each undeclared identifier is reported only once
> AddTrap.c:38: error: for each function it appears in.)
> AddTrap.c:38: error: 'req' undeclared (first use in this function)
> AddTrap.c:47: error: 'sz_xRenderAddTrapsReq' undeclared (first use in
> this function)
> AddTrap.c:47: error: parse error before ')' token
> AddTrap.c:47: error: 'X_RenderAddTraps' undeclared (first use in
> this function)
> AddTrap.c:54: error: 'sz_xTrap' undeclared (first use in this
> function)
> make[1]: *** [AddTrap.lo] Error 1
> make: *** [all] Error 2
>
> Error: The following dependencies failed to build: gtk2 pango Xft2
> xrender cairo tiff jpeg lcms libart_lgpl libexif libmng autoconf
> automake libtool libwmf p5-xml-parser perl5.8
> Error: Status 1 encountered during processing.
>
>
> Apparently xRenderAddTrapsReq is supposed to be defined in
> renderproto.h which is part of X11-sdk. I have the version installed
> from the latest XCode release, but it isn't in there. I wasn't able to
> find any updates. Any ideas?
xrender installs fine for me. I just rebuilt render and xrender to
make sure. I have Mac OS X 10.4.9 on Intel Core 2 Duo with Xcode
2.4.1 and MacPorts 1.4.42. And you?
If you don't have the latest, upgrade. If you do have the latest, or
upgrading doesn't help, try "sudo port -dv install xrender" and send
us the output.
More information about the macports-users
mailing list