cairo on Tiger: can't locate file for: -lXrender
Ryan Schmidt
ryandesign at macports.org
Wed Jan 14 18:15:56 PST 2009
I can't install cairo on Tiger:
libtool: link: /usr/bin/gcc-4.0 -dynamiclib -o .libs/libcairo.
2.dylib .libs/cairo-analysis-surface.o .libs/cairo-arc.o .libs/cairo-
array.o .libs/cairo-atomic.o .libs/cairo-base85-stream.o .libs/cairo-
bentley-ottmann.o .libs/cairo.o .libs/cairo-cache.o .libs/cairo-
clip.o .libs/cairo-color.o .libs/cairo-debug.o .libs/cairo-
fixed.o .libs/cairo-font-face.o .libs/cairo-font-face-twin.o .libs/
cairo-font-face-twin-data.o .libs/cairo-font-options.o .libs/cairo-
freelist.o .libs/cairo-gstate.o .libs/cairo-hash.o .libs/cairo-
hull.o .libs/cairo-image-surface.o .libs/cairo-lzw.o .libs/cairo-
matrix.o .libs/cairo-meta-surface.o .libs/cairo-misc.o .libs/cairo-
mutex.o .libs/cairo-output-stream.o .libs/cairo-paginated-
surface.o .libs/cairo-path-bounds.o .libs/cairo-path.o .libs/cairo-
path-fill.o .libs/cairo-path-fixed.o .libs/cairo-path-stroke.o .libs/
cairo-pattern.o .libs/cairo-pen.o .libs/cairo-polygon.o .libs/cairo-
rectangle.o .libs/cairo-region.o .libs/cairo-scaled-font.o .libs/
cairo-skiplist.o .libs/cairo-slope.o .libs/cairo-spline.o .libs/cairo-
stroke-style.o .libs/cairo-surface.o .libs/cairo-surface-
fallback.o .libs/cairo-system.o .libs/cairo-traps.o .libs/cairo-
unicode.o .libs/cairo-user-font.o .libs/cairo-version.o .libs/cairo-
wideint.o .libs/cairo-cff-subset.o .libs/cairo-scaled-font-
subsets.o .libs/cairo-truetype-subset.o .libs/cairo-type1-
fallback.o .libs/cairo-type1-subset.o .libs/cairo-type3-glyph-
surface.o .libs/cairo-pdf-operators.o .libs/cairo-xlib-
display.o .libs/cairo-xlib-screen.o .libs/cairo-xlib-surface.o .libs/
cairo-xlib-visual.o .libs/cairo-quartz-surface.o .libs/cairo-quartz-
font.o .libs/cairo-quartz-image-surface.o .libs/cairo-png.o .libs/
cairo-ft-font.o .libs/cairo-ps-surface.o .libs/cairo-pdf-
surface.o .libs/cairo-deflate-stream.o .libs/cairo-svg-surface.o -L/
mp/lib /mp/lib/libpixman-1.dylib -lm /mp/lib/libfontconfig.dylib /mp/
lib/libiconv.dylib /mp/lib/libexpat.dylib /mp/lib/libfreetype.dylib /
mp/lib/libpng12.dylib /mp/lib/libX11.dylib /mp/lib/libXau.dylib /mp/
lib/libXdmcp.dylib -lz -lXrender -Wl,-framework -Wl,CoreServices -
Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,CoreServices
-Wl,-framework -Wl,ApplicationServices -Wl,-framework -
Wl,ApplicationServices -install_name /mp/lib/libcairo.2.dylib -
compatibility_version 10803 -current_version 10803.6 -Wl,-single_module
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file
for: -lXrender
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lXrender is
not an object file (not allowed in a library)
make[3]: *** [libcairo.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
Here are the xorg ports I have installed:
$ port installed xorg-*
The following ports are currently installed:
xorg-bigreqsproto @1.0.2_0 (active)
xorg-inputproto @1.5.0_0 (active)
xorg-kbproto @1.0.3_0 (active)
xorg-libpthread-stubs @0.1_0 (active)
xorg-libX11 @1.1.5_1+universal (active)
xorg-libXau @1.0.4_0+universal (active)
xorg-libxcb @1.1_0+universal (active)
xorg-libXdmcp @1.0.2_0+universal (active)
xorg-renderproto @0.9.3_0 (active)
xorg-util-macros @1.2.1_0 (active)
xorg-xcb-proto @1.3_0+python26 (active)
xorg-xcmiscproto @1.1.2_0 (active)
xorg-xextproto @7.0.4_0 (active)
xorg-xf86bigfontproto @1.1.2_0 (active)
xorg-xproto @7.0.14_1 (active)
xorg-xtrans @1.2.2_0+universal (active)
$
The xrender port is not installed. It had been, but then r43644 and
r43686 changed xrender to a lib dependency and sometime later I
uninstalled it. Does anyone know (Jeremy?) what should be done here?
More information about the macports-dev
mailing list