On 5/10/13 3:46 PM, Michael Trione wrote:
> Thanks Hanspeter for getting back to me so soon.
>
> I looked at the config.log and the error I see is:
>
> |                  Syntax error
> configure:5209: error: in 
> `/sw/src/fink.build/dbus1.3-shlibs-1.4.18-2/dbus-1.4.18':
> configure:5211: error: C preprocessor "cpp-4.2" fails sanity check
> See `config.log' for more details
>
>
> I don't know if you need the whole config.log but its below just in case.  
> Also, the output of 'ls -l /usr/bin/cpp*' is:
>
> -r-xr-xr-x  1 root  wheel  3446 Jul 30  2011 /usr/bin/cpp
>
> Hope that helps, thanks again, Micky
>
> ----------------------------------------------------

> configure:4810: checking for C++ compiler version
> configure:4819: g++-4.2 --version >&5
> /sw/var/lib/fink/path-prefix-10.6/g++-4.2: line 14: exec: g++-4.2: not found

<snip>

> configure:5089: checking how to run the C preprocessor
> configure:5159: result: cpp-4.2
> configure:5179: cpp-4.2 -I/sw/include conftest.c
> ./configure: line 1856: cpp-4.2: command not found
> configure:5179: $? = 127
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "dbus"
> | #define PACKAGE_TARNAME "dbus"
> | #define PACKAGE_VERSION "1.4.18"
> | #define PACKAGE_STRING "dbus 1.4.18"
> | #define PACKAGE_BUGREPORT 
> "https://bugs.freedesktop.org/enter_bug.cgi?product=dbus";
> | #define PACKAGE_URL ""
> | #define PACKAGE "dbus"
> | #define VERSION "1.4.18"
> | #define GETTEXT_PACKAGE "dbus-1"
> | #define DBUS_DAEMON_NAME "dbus-daemon"
> | /* end confdefs.h.  */
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> |                  Syntax error
> configure:5179: cpp-4.2 -I/sw/include conftest.c
> ./configure: line 1856: cpp-4.2: command not found
<snip>

>
>
> On May 10, 2013, at 12:21 PM, Hanspeter Niederstrasser wrote:
>
> 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
>
>
>

As I thought, broken remnants from an earlier Xcode.  Rename 
/usr/bin/gcc-4.2 to something else or get rid of it, and the 
dbus1.3-shlibs package will use the proper default compiler for your 
OS/Xcode version.

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

Reply via email to