[GRASS-user] Problems compiling Grass 6.4 and Grass addons under MacOS

David Montoya jdmonto0 at gmail.com
Sat Jun 2 19:39:22 PDT 2012


Thanks for your help, finally I was able to install some addons using the
recommendations from William.


On Sat, Jun 2, 2012 at 5:20 PM, William Kyngesburye <kyngchaos at kyngchaos.com
> wrote:

> Put it in that /Developr/SDKs folder.
>
> On Jun 2, 2012, at 5:00 PM, David Montoya wrote:
>
> > Hi, thanks for your help, but I did not understand pretty well where I
> should paste the folder MacOSX10.6.sdk. The path that you give me is the
> same path where I found the directory. Did I misunderstood your
> instructions? Could you give please a hand due to I need the program on my
> computer full working with some addons (r.stream.extract, r.stream.order,
> r.fuzzy, r.stream.basin and others that I wrote).
> >
> > Thanks in advance for your help
> >
> > On Wed, May 30, 2012 at 9:32 AM, William Kyngesburye <
> woklist at kyngchaos.com> wrote:
> > 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
> > > grass-user at lists.osgeo.org
> > > 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
> >
> >
> >
> >
> >
> > --
> > David Montoya González
> > Ing. Forestal, Universidad Nacional de Colombia
> > Laboratorio de Sistemas Complejos, UNAL Medellin
> >
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> The equator is so long, it could encircle the earth completely once.
>
>


-- 
David Montoya González
Ing. Forestal, Universidad Nacional de Colombia
Laboratorio de Sistemas Complejos, UNAL Medellin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120602/4cdef853/attachment.html>


More information about the grass-user mailing list