Opened 18 years ago

Closed 18 years ago

#8982 closed defect (fixed)

cairo won't build

Reported by: elong@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.2
Keywords: Cc: markd@…, steph3n@…
Port:

Description

looks like some autoconf variables are not being expanded. see -L@libdir@,-lpng@PNGLIB_MAJOR@, etc. in the sample output below.

/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o libcairo.la -rpath /opt/local/lib -version-info 4:4:2 -no-undefined cairo.lo cairo-arc.lo cairo-array.lo cairo-cache.lo cairo-clip.lo cairo-color.lo cairo-debug.lo cairo-fixed.lo cairo-font.lo cairo-font-options.lo cairo-gstate.lo cairo-hash.lo cairo-hull.lo cairo-image-surface.lo cairo-matrix.lo cairo-path.lo cairo-path-bounds.lo cairo-path-data.lo cairo-path-fill.lo cairo-path-stroke.lo cairo-pen.lo cairo-polygon.lo cairo-region.lo cairo-slope.lo cairo-spline.lo cairo-surface.lo cairo-traps.lo cairo-pattern.lo cairo-unicode.lo cairo-output-stream.lo cairo-wideint.lo cairo-meta-surface.lo cairo-ft-font.lo cairo-png.lo cairo-xlib-surface.lo cairo-xlib-screen.lo ../pixman/src/libpixman.la -L/opt/local/lib -L/usr/X11R6/lib -lXrender -lX11 -L@libdir@ -lpng@PNGLIB_MAJOR@ -L/opt/local/lib -lfontconfig -L/opt/local/lib -lfreetype -lz ../libtool: line 1: cd: @libdir@: No such file or directory libtool: link: cannot determine absolute directory name of `@libdir@'

Change History (4)

comment:1 Changed 18 years ago by steph3n@…

Cc: steph3n@… added

Confirmed on a fresh install of ports on a macbook pro.

port install cairo

fails with the given same error as above.

DarwinPorts base version 1.211

comment:2 Changed 18 years ago by markd@…

Cc: markd@… added

(In reply to comment #1)

Confirmed on a fresh install of ports on a macbook pro. port install cairo fails with the given same error as above. DarwinPorts base version 1.211

Cairo depends on libpng and it had a bug that was fixed just a few hours ago. Uninstall libpng, do a 'port clean --all libpng', reinstall libpng (now revision 2), and then try installing cairo again.

comment:3 Changed 18 years ago by steph3n@…

Resolved, thankyou

comment:4 Changed 18 years ago by markd@…

Resolution: fixed
Status: newclosed

This bug was caused by a bug in libpng that is now resolved by revision 2 of libpng 1.2.10.

Note: See TracTickets for help on using tickets.