Building cairomm (inkscape dependency) fails

Jason Merrill jason.merrill at yale.edu
Fri Apr 18 07:59:12 PDT 2008


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_graphics_cairomm/work/cairomm-1.6.0"
&& make all " returned error 2
Command output: Making all in cairomm
make  all-recursive
/bin/sh ../libtool --tag=CXX   --mode=compile /usr/bin/g++-4.0
-DHAVE_CONFIG_H -I. -I.. -DXTHREADS -I/opt/local/include/cairo
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/libpng12 -I/usr/X11/include
-I/opt/local/include/pixman-1    -I/opt/local/include  -O2 -MT
context.lo -MD -MP -MF .deps/context.Tpo -c -o context.lo context.cc
mkdir .libs
 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I.. -DXTHREADS
-I/opt/local/include/cairo -I/opt/local/include/freetype2
-I/opt/local/include -I/opt/local/include/libpng12 -I/usr/X11/include
-I/opt/local/include/pixman-1 -I/opt/local/include -O2 -MT context.lo
-MD -MP -MF .deps/context.Tpo -c context.cc  -fno-common -DPIC -o
.libs/context.o
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:255:
error: declaration does not declare anything
make[3]: *** [context.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

Can anyone offer any advice?

One thing I should mention is that I had an old ports tree, which I
kind of messed up, so I just moved the entire /opt directory to
/oldopt.  I figured this would be an okay thing to do, but I've
encountered a couple conflicts in cases where macports put things in
directories other than /opt.  For instance, aquaterm gets put in
/Applications/Macports/Aquaterm.app, and also sticks something in the
/Library directory.

Regards,

Jason Merrill


More information about the macports-users mailing list