Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

gcc using wrong isysroot?

Hi,

After upgrading to the newest xcode I'm having problems compiling various open source projects with gcc. In essence I'm always getting a variant of:

/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory

But why is gcc using the 10.4u sdk, and not the newest version? And can I change this somehow? Searching around haven't really given me any clues.

Alexander

Macbook

Posted on Feb 5, 2010 6:43 AM

Reply
6 replies

Feb 5, 2010 10:46 AM in response to rsh1

rsh1 wrote:
I am having the same problems and I suspect the problem is related to Fink.


Normally I caution people against such "same problem" replies because you can't be sure of that. In this case, however, I don't doubt it.

If you are using some "open-source" package that you downloaded from Fink or *ports, you are essentially using a fork of that project. It may or may not work correctly on your machine. Most open-source software builds just fine on MacOS X out of the box. If it doesn't, there is very little chance that anything you get from Fink or *ports is going to be any better.

Short story - build it yourself. If you have problems, I'll be happy to help. If you have problems with Fink or *ports, take it up with them.

Feb 7, 2010 8:39 AM in response to etresoft

No, I'm not using ports or fink to build software. The stuff I try to build comes directly from the publisher webpage. I.e. I'm trying to build the python-mysqldb module. Failing miserably in the progress.

But maybe I should just try to wipe out my developer tools install somehow and do a fresh install.

Also, all of this worked before I upgraded to 10.6.

gcc using wrong isysroot?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.