This is a problem I've seen before (those headers are in the Xcode 
installation).  I think Apple's -isysroot SDK flag is a bit broken in Xcode 4.1 
(or 4.2? before the app store release) so the system is not looking in the 
right place.

The new Xcode 4.3 seems to be fixed, though I haven't paid close attention to 
it.  There are 2 parts now to Xcode - the app and the CLI tools.  Both can be 
downloaded free (the app was available only from the app store for a while)  
You really only need the CLI tools, but it doesn't have the SDKs.

The app has the SDKs, but they're in the wrong place for GRASS to see them.  
You need to dig into the Xcode app package 
Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs and copy 
the MacOSX10.6.sdk to /Developer/SDKs on your Mac.

On May 30, 2012, at 6:01 AM, Hamish wrote:

> David wrote:
>>> /Applications/GRASS-6.4.app/Contents/MacOS/include/grass/gis.h:24:19:
>>> error:  stdio.h: No such file or directory
> MarkusN:
>> This is a fundamental system file. On my Linux box, it is in a
>> package called "glibc-headers". No idea how that's called on MacOSX.
>> The lack of this file causes all subsequent errors.
> 
> perhaps install Xcode development tools from the Mac install DVD ?
> 
> (just a guess)
> 
> 
> Hamish
> _______________________________________________
> grass-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"I ache, therefore I am.  Or in my case - I am, therefore I ache."

- Marvin


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to