Building cairomm (inkscape dependency) fails

Ryan Schmidt ryandesign at macports.org
Fri Apr 18 12:02:38 PDT 2008


On Apr 18, 2008, at 9: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_graph 
> ics_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?

Not sure. I don't use cairomm. I just updated cairo to 1.6.4 and  
Guido just updated cairomm to 1.6.0. What OS and processor are you  
on? Do you have the latest Xcode for your OS?

> 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.

The correct way to uninstall MacPorts is in the FAQ:

http://trac.macports.org/projects/macports/wiki/ 
FAQ#HowdoIremoveoruninstallMacPorts




More information about the macports-users mailing list