Subject: pkg/31977: cairo 1.0.2 doesn't build on macppc -current (libtool problem)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <timo.schoeler@riscworks.net>
List: pkgsrc-bugs
Date: 11/02/2005 07:46:01
>Number: 31977
>Category: pkg
>Synopsis: cairo 1.0.2 doesn't build on macppc -current (libtool problem)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 02 07:46:01 +0000 2005
>Originator: Timo Schoeler
>Release: 3.99.10
>Organization:
RISCworks
>Environment:
>Description:
cairo fails to build this way:
/bin/sh ../libtool --tag=CC --mode=link cc -O2 -pipe -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -DGLX_GLXEXT_LEGACY -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -o libcairo.la -rpath /usr/pkg/lib -version-info 4:3: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-ps-surface.lo cairo-pdf-surface.lo cairo-font-subset.lo cairo-png.lo cairo-xlib-surface.lo cairo-xlib-screen.lo ca
iro-glitz-surface.lo ../pixman/src/libpixman.la -L/usr/pkg/lib -L/usr/X11R6/lib -lXrender -lX11 -L@PREFIX@/lib -lpng -lz -lm -L/usr/pkg/lib -lglitz -lm -L/usr/pkg/lib -lfontconfig -L/usr/pkg/lib -lfreetype -lz -lz -lz -pthread -lm
cd: can't cd to @PREFIX@/lib
libtool: link: cannot determine absolute directory name of `@PREFIX@/lib'
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.0.2/src
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.0.2
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.0.2
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/pkgsrc/graphics/cairo/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo
>How-To-Repeat:
built cairo.
>Fix:
yes, please :) -- cairo is a very important package, e.g. xfce4, gnumeric, abiword etc. need it!