Building cairomm (inkscape dependency) fails

Ryan Schmidt ryandesign at macports.org
Fri Apr 18 12:30:41 PDT 2008


On Apr 18, 2008, at 2:02 PM, Ryan Schmidt wrote:
> 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_grap 
>> hics_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?

FYI: I just built cairomm successfully, with Mac OS X 10.4.11, Xcode  
2.5, and MacPorts 1.6.0 on a PowerPC G4.



More information about the macports-users mailing list