Building cairomm (inkscape dependency) fails

William Davis frstan at bellsouth.net
Fri Apr 18 09:19:09 PDT 2008


On Apr 18, 2008, at 10:59 AM, Jason Merrill 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_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
>

Jason, I get exactly the same error without any /optold.............

William Davis
frstanATbellsouthDOTnet
Mac OS X.5.2 Darwin 9.2.2
Xquartz 2.2.1 - (xorg-server 1.3.0-apple13)
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non



More information about the macports-users mailing list