Thank you for your mail. I could compile dbus.

The following was my environment:
lisa:bin rfukaya$ ls -alF gcc*
lrwxr-xr-x  1 root  wheel      12 11 25 21:01 gcc@ -> llvm-gcc-4.2
-rwxr-xr-x  1 root  wheel   97392 10 24  2010 gcc-4.0*
-rwxr-xr-x  1 root  wheel  166128 10 24  2010 gcc-4.2*
lisa:bin rfukaya$

I moved gcc4.2 into gcc.4.2.moved.,  then I could configure dbus.

Before I posted my first mail, I had re-installed Xcode 4.2.1. However
I could not resolve my problem.
It seems that removing gcc-4.2 is essential.

Thank you again.

Ryuji

2011/11/26 Alexander Hansen <[email protected]>:
> -----BEGIN PGP SIGNED MESSAGE-----

> (ccing the maintainer, since I thought packages in the 10.7 tree
> weren't supposed to be using gcc-4.2 anyway, and dbus tries to, if
> /usr/bin/gcc-4.2 is present)
>
> What the problem appears to be to me is that dbus is trying to use
> gcc-4.2, but that is supposed to be absent in Xcode 4.2.  However, the
> Xcode 4.2 update didn't clean out your /usr/bin/gcc-4.2 executable,
> but did change the headers around in an incompatible way.
>
> To work around this problem, rename the gcc-4.2 executable, e.g.
>
> sudo mv /usr/bin/gcc-4.2 /usr/bin/gcc-4.2.moved
>
> After doing that, the dbus package will build with clang, which is
> what Fink builds are normally supposed to use on 10.7.


> For a cleaner solution, I'd recommend running
>
> /Developer/Library/uninstall-devtools
>
> to clean out your Xcode installation, and then reinstalling Xcode
> 4.2.1.  That will help make sure that your compilers, headers, etc.
> are from Xcode 4.2.1 and not from older, possibly incompatible, versions.
> - --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> http://finkakh.wordpress.com/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk7PuLwACgkQB8UpO3rKjQ9jxgCfYvKTn+Y32cga4AXu58pXznnF
> S+kAoKgo/kq/CPbVhedRuCHuHH8LURb7
> =muJo
> -----END PGP SIGNATURE-----
>



-- 
Ryuji FUKAYA (Dr. Math. Sci.)
e-mail:[email protected]
--

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Fink-beginners mailing list
[email protected]
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