On 5/10/13 9:21 AM, Hanspeter Niederstrasser wrote: > On 5/10/2013 11:29 AM, Michael Trione wrote: >> Hi, I hope you can help me out. I'm trying to install Inkscape using Fink. >> When I install Inkscape I get the error >> >> Failed: phase compiling: dbus1.3-shlibs-1.4.18-2 failed > >> checking for suffix of object files... o >> checking whether we are using the GNU C compiler... yes >> checking whether gcc-4.2 accepts -g... yes >> checking for gcc-4.2 option to accept ISO C89... none needed >> checking for style of include used by make... GNU >> checking dependency style of gcc-4.2... none >> checking whether gcc-4.2 and cc understand -c and -o together... rm: >> conftest.dSYM: is a directory >> yes >> checking whether we are using the GNU C++ compiler... no >> checking whether g++-4.2 accepts -g... no >> checking dependency style of g++-4.2... none >> checking how to run the C preprocessor... cpp-4.2 >> configure: error: in >> `/sw/src/fink.build/dbus1.3-shlibs-1.4.18-2/dbus-1.4.18': >> configure: error: C preprocessor "cpp-4.2" fails sanity check >> See `config.log' for more details > >> Also include the following system information: >> Package manager version: 0.34.8 >> Distribution version: selfupdate-rsync Fri May 10 10:17:31 2013, 10.6, i386 >> Trees: local/main stable/main >> Xcode.app: 4.2 >> Xcode command-line tools: 4.2 >> Max. Fink build jobs: 1 > > Look for the file > > /sw/src/fink.build/dbus1.3-shlibs-1.4.18-2/dbus-1.4.18/config.log > > and see what it says about the error the C preprocessor gives. dbus1.3 > was packaged around the time that xcode 3.2 was the only Xcode for OS X > 10.6, and Xcode 4.2 changed some things that might break dbus' expectations. > > Also, post the output of > > ls -l /usr/bin/cpp* > > Hanspeter > >
My suspicion is that Michael may be a victim of a (not ours) "leave random stuff around on upgrades" policy. Xcode 4.2 doesn't install a /usr/bin/gcc-4.2, but it also doesn't remove it when upgrading. Unfortunately, it isn't left behind in a fully functional state. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners