cairo install fails (was: Building cairomm (inkscape dependency)
fails)
sourceforge.rocks at xemaps.com
sourceforge.rocks at xemaps.com
Sun Apr 20 03:34:32 PDT 2008
On Apr 18, 2008, at 10:59 AM, "Jason Merrill"
<jason.merrill at yale.edu> wrote:
> I've been trying to get the latest version of inkscape going, and I've
> run into some trouble installing cairomm:
>
> jmerrill:Frameworks jm843$ sudo port clean cairomm
> ---> Cleaning cairomm
> jmerrill:Frameworks jm843$ sudo port install -d cairomm
> ---> Fetching cairomm
> ---> Verifying checksum(s) for cairomm
> ---> Extracting cairomm
> ---> Applying patches to cairomm
> ---> Configuring cairomm
> ---> Building cairomm with target all
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph
> ics_cairomm/work/cairomm-1.6.0"
> && make all " returned error 2
8<-----snip----
I get a similar error when trying to install cairo 1.6.4 in the
following environment:
Mac OS X 10.4.11
PowerPC G4
Xcode 2.5
---------- Begin included text ----------
My-Mac:~ me$ sudo port clean cairo
Password:
---> Cleaning cairo
My-Mac:~ me$ sudo port install cairo
---> Fetching cairo
---> Verifying checksum(s) for cairo
---> Extracting cairo
---> Configuring cairo
---> Building cairo with target all
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphic
s_cairo/work/cairo-1.6.4" && make all " returned error 2
Command output: mv -f .deps/libcairo_la-cairo-scaled-font-
subsets.Tpo .deps/libcairo_la-cairo-scaled-font-subsets.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -
DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -I/opt/local/
include/freetype2 -I/opt/local/include -I/opt/local/include -I/
opt/local/include/libpng12 -DXTHREADS -I/opt/local/include -I/usr/
X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-type1-
subset.lo -MD -MP -MF .deps/libcairo_la-cairo-type1-subset.Tpo -c -o
libcairo_la-cairo-type1-subset.lo `test -f 'cairo-type1-subset.c' ||
echo './'`cairo-type1-subset.c
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -
I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/
include -I/opt/local/include/libpng12 -DXTHREADS -I/opt/local/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-type1-
subset.lo -MD -MP -MF .deps/libcairo_la-cairo-type1-subset.Tpo -c
cairo-type1-subset.c -fno-common -DPIC -o .libs/libcairo_la-cairo-
type1-subset.o
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -
I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/
include -I/opt/local/include/libpng12 -DXTHREADS -I/opt/local/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-type1-
subset.lo -MD -MP -MF .deps/libcairo_la-cairo-type1-subset.Tpo -c
cairo-type1-subset.c -o libcairo_la-cairo-type1-subset.o >/dev/null 2>&1
mv -f .deps/libcairo_la-cairo-type1-subset.Tpo .deps/libcairo_la-
cairo-type1-subset.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -
DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -I/opt/local/
include/freetype2 -I/opt/local/include -I/opt/local/include -I/
opt/local/include/libpng12 -DXTHREADS -I/opt/local/include -I/usr/
X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-xlib-
surface.lo -MD -MP -MF .deps/libcairo_la-cairo-xlib-surface.Tpo -c -o
libcairo_la-cairo-xlib-surface.lo `test -f 'cairo-xlib-surface.c' ||
echo './'`cairo-xlib-surface.c
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -
I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/
include -I/opt/local/include/libpng12 -DXTHREADS -I/opt/local/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-xlib-
surface.lo -MD -MP -MF .deps/libcairo_la-cairo-xlib-surface.Tpo -c
cairo-xlib-surface.c -fno-common -DPIC -o .libs/libcairo_la-cairo-
xlib-surface.o
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -
I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/
include -I/opt/local/include/libpng12 -DXTHREADS -I/opt/local/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-xlib-
surface.lo -MD -MP -MF .deps/libcairo_la-cairo-xlib-surface.Tpo -c
cairo-xlib-surface.c -o libcairo_la-cairo-xlib-surface.o >/dev/null 2>&1
mv -f .deps/libcairo_la-cairo-xlib-surface.Tpo .deps/libcairo_la-
cairo-xlib-surface.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -
DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -I/opt/local/
include/freetype2 -I/opt/local/include -I/opt/local/include -I/
opt/local/include/libpng12 -DXTHREADS -I/opt/local/include -I/usr/
X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-xlib-
display.lo -MD -MP -MF .deps/libcairo_la-cairo-xlib-display.Tpo -c -o
libcairo_la-cairo-xlib-display.lo `test -f 'cairo-xlib-display.c' ||
echo './'`cairo-xlib-display.c
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -
I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/
include -I/opt/local/include/libpng12 -DXTHREADS -I/opt/local/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-xlib-
display.lo -MD -MP -MF .deps/libcairo_la-cairo-xlib-display.Tpo -c
cairo-xlib-display.c -fno-common -DPIC -o .libs/libcairo_la-cairo-
xlib-display.o
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -
I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/
include -I/opt/local/include/libpng12 -DXTHREADS -I/opt/local/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-xlib-
display.lo -MD -MP -MF .deps/libcairo_la-cairo-xlib-display.Tpo -c
cairo-xlib-display.c -o libcairo_la-cairo-xlib-display.o >/dev/null 2>&1
mv -f .deps/libcairo_la-cairo-xlib-display.Tpo .deps/libcairo_la-
cairo-xlib-display.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -
DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -I/opt/local/
include/freetype2 -I/opt/local/include -I/opt/local/include -I/
opt/local/include/libpng12 -DXTHREADS -I/opt/local/include -I/usr/
X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-xlib-screen.lo
-MD -MP -MF .deps/libcairo_la-cairo-xlib-screen.Tpo -c -o libcairo_la-
cairo-xlib-screen.lo `test -f 'cairo-xlib-screen.c' || echo
'./'`cairo-xlib-screen.c
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -
I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/
include -I/opt/local/include/libpng12 -DXTHREADS -I/opt/local/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-xlib-screen.lo
-MD -MP -MF .deps/libcairo_la-cairo-xlib-screen.Tpo -c cairo-xlib-
screen.c -fno-common -DPIC -o .libs/libcairo_la-cairo-xlib-screen.o
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -
I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/
include -I/opt/local/include/libpng12 -DXTHREADS -I/opt/local/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-xlib-screen.lo
-MD -MP -MF .deps/libcairo_la-cairo-xlib-screen.Tpo -c cairo-xlib-
screen.c -o libcairo_la-cairo-xlib-screen.o >/dev/null 2>&1
mv -f .deps/libcairo_la-cairo-xlib-screen.Tpo .deps/libcairo_la-cairo-
xlib-screen.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -
DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -I/opt/local/
include/freetype2 -I/opt/local/include -I/opt/local/include -I/
opt/local/include/libpng12 -DXTHREADS -I/opt/local/include -I/usr/
X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-xlib-visual.lo
-MD -MP -MF .deps/libcairo_la-cairo-xlib-visual.Tpo -c -o libcairo_la-
cairo-xlib-visual.lo `test -f 'cairo-xlib-visual.c' || echo
'./'`cairo-xlib-visual.c
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -
I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/
include -I/opt/local/include/libpng12 -DXTHREADS -I/opt/local/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-xlib-visual.lo
-MD -MP -MF .deps/libcairo_la-cairo-xlib-visual.Tpo -c cairo-xlib-
visual.c -fno-common -DPIC -o .libs/libcairo_la-cairo-xlib-visual.o
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -
I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/
include -I/opt/local/include/libpng12 -DXTHREADS -I/opt/local/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-xlib-visual.lo
-MD -MP -MF .deps/libcairo_la-cairo-xlib-visual.Tpo -c cairo-xlib-
visual.c -o libcairo_la-cairo-xlib-visual.o >/dev/null 2>&1
mv -f .deps/libcairo_la-cairo-xlib-visual.Tpo .deps/libcairo_la-cairo-
xlib-visual.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -
DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -I/opt/local/
include/freetype2 -I/opt/local/include -I/opt/local/include -I/
opt/local/include/libpng12 -DXTHREADS -I/opt/local/include -I/usr/
X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-quartz-
surface.lo -MD -MP -MF .deps/libcairo_la-cairo-quartz-surface.Tpo -c -
o libcairo_la-cairo-quartz-surface.lo `test -f 'cairo-quartz-
surface.c' || echo './'`cairo-quartz-surface.c
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I. -
I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/
include -I/opt/local/include/libpng12 -DXTHREADS -I/opt/local/include
-I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include/
pixman-1 -Wall -Wextra -Wsign-compare -Werror-implicit-function-
declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-
self -Wdeclaration-after-statement -Wold-style-definition -Wno-
missing-field-initializers -Wno-unused-parameter -Wno-long-long -
Winline -fno-strict-aliasing -O2 -MT libcairo_la-cairo-quartz-
surface.lo -MD -MP -MF .deps/libcairo_la-cairo-quartz-surface.Tpo -c
cairo-quartz-surface.c -fno-common -DPIC -o .libs/libcairo_la-cairo-
quartz-surface.o
cairo-quartz-surface.c: In function 'quartz_ensure_symbols':
cairo-quartz-surface.c:144: error: 'RTLD_DEFAULT' undeclared (first
use in this function)
cairo-quartz-surface.c:144: error: (Each undeclared identifier is
reported only once
cairo-quartz-surface.c:144: error: for each function it appears in.)
make[2]: *** [libcairo_la-cairo-quartz-surface.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
----------- End included text -----------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080420/6d6a4a43/attachment-0001.html
More information about the macports-users
mailing list