> > I've been trying to get the latest version of inkscape going, and I've > > run into some trouble installing cairomm: > > 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? > >
> What OS and processor are you on? Do you have the latest Xcode for your OS? I'm running 10.5.2 on an intel macbook. My Xcode is 3.0. >The correct way to uninstall MacPorts is in the FAQ: >http://trac.macports.org/projects/macports/wiki/FAQ#HowdoIremoveoruninstallMacPorts Thanks for the tip. On Fri, Apr 18, 2008 at 4:08 PM, Guido Soranzio <[EMAIL PROTECTED]> wrote: > It could be a conflict in the definition of "Status" in the > headers from Carbon and X11, which context.cc is including > at the same time. > > I solved the double definition of "Cursor" and "Picture" with the > following trick: > > > ------------8<---------------------------- > #define Cursor X11_Cursor <------ > #define Picture X11_Picture <------ > > #include <cairomm/xlib_surface.h> > > #undef Cursor <------ > #undef Picture <------ > > #include <cairomm/quartz_surface.h> > -----------8<----------------------------- > > > as you can see in: > <http://trac.macports.org/projects/macports/browser/trunk/dports/graphics/cairomm/files/patch-cairomm-context.cc.diff?rev=36082>) > undefine > > > I can't test on a Mac Intel but you could try to re-define > and un-define "Status" before including the Carbon headers. > > > -Guido_______________________________________________ > macports-users mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo/macports-users This sounds interesting. I don't quite understand what you're suggesting I try, though. Which file do I actually have to edit? Thanks, JM _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo/macports-users
