[GRASS-user] fatal error: 'libintl.h' file not found (OSX)

Anyone know how to get the r.stream addons to work on mac??

When trying to install I get this error:

/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/grass/glocale.h:9:10:
fatal error: 'libintl.h' file not found
#include <libintl.h>

Installed grass gis 6.4.3 on my mac OSX v.10.9.5.
GIS Library Revision 50937 (2012-02-25)
Python: 2.6.8
wxPython: 2.8.12.1

Error message:

(Sun Oct 12 22:11:35 2014)
g.extension.py extension=r.stream.extract
svnurl=http://svn.osgeo.org/grass/grass-addons/grass6
WARNING: GRASS_ADDON_PATH has more items, using first defined -
'/Users/snarrald/Library/GRASS/6.4/Modules/bin'
WARNING: Extension <r.stream.extract> already installed. Re-installing...
Fetching <r.stream.extract> from GRASS-Addons SVN (be patient)...
Compiling...
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Grass.make:423: warning: overriding commands for target `/
Users/snarrald/Desktop/GrassData/GBNP/GBNP/.tmp/Gravenstein.
local/53389.0/r.stream.extract/bin'
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Grass.make:414: warning: ignoring old commands for target
`/Users/snarrald/Desktop/GrassData/GBNP/GBNP/.tmp/Gravenstei
n.local/53389.0/r.stream.extract/bin'
In file included from close.c:2:
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/gra
ss/glocale.h:9:10: fatal error: 'libintl.h' file not found
#include <libintl.h>
         ^
1 error generated.
make: *** [OBJ.x86_64-apple-darwin12.4.0/close.o] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.
(Sun Oct 12 22:11:41 2014) Command finished (5 sec)

libintl.h is not part of the OS X system, so it needs to be included in the GRASS app. I don't build my GRASS app with libintl, but I think Michael Barton does.

But first, make sure you have the latest version of GRASS, 6.4.4. Michael may have missed libintl.h in older versions but fixed it later.

On Oct 12, 2014, at 3:23 PM, Svein Harald Sønderland <snarrald@gmail.com> wrote:

Anyone know how to get the r.stream addons to work on mac??

When trying to install I get this error:

/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/grass/glocale.h:9:10:
fatal error: 'libintl.h' file not found
#include <libintl.h>

Installed grass gis 6.4.3 on my mac OSX v.10.9.5.
GIS Library Revision 50937 (2012-02-25)
Python: 2.6.8
wxPython: 2.8.12.1

Error message:

(Sun Oct 12 22:11:35 2014)
g.extension.py extension=r.stream.extract
svnurl=http://svn.osgeo.org/grass/grass-addons/grass6
WARNING: GRASS_ADDON_PATH has more items, using first defined -
'/Users/snarrald/Library/GRASS/6.4/Modules/bin'
WARNING: Extension <r.stream.extract> already installed. Re-installing...
Fetching <r.stream.extract> from GRASS-Addons SVN (be patient)...
Compiling...
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Grass.make:423: warning: overriding commands for target `/
Users/snarrald/Desktop/GrassData/GBNP/GBNP/.tmp/Gravenstein.
local/53389.0/r.stream.extract/bin'
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Grass.make:414: warning: ignoring old commands for target
`/Users/snarrald/Desktop/GrassData/GBNP/GBNP/.tmp/Gravenstei
n.local/53389.0/r.stream.extract/bin'
In file included from close.c:2:
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/gra
ss/glocale.h:9:10: fatal error: 'libintl.h' file not found
#include <libintl.h>
        ^
1 error generated.
make: *** [OBJ.x86_64-apple-darwin12.4.0/close.o] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.
(Sun Oct 12 22:11:41 2014) Command finished (5 sec)
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

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

First Pogril: Why is life like sticking your head in a bucket filled with hyena offal?
Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal?
First Pogril: I don't know either. Wretched, isn't it?

-HitchHiker's Guide to the Galaxy

I do compile GRASS with internationalization for 6.4.3 and above. However, there have repeatedly been some problems with the way this is implemented on the Mac. Mainly, the internal checks for what is the system language implemented in the GUI have tended to only look at environment settings that are implemented in Linux but not OSX. Another problem with some addons (possibly with r.stream.extract) is the tendency to hardwire searches for needed (and unneeded) libraries to only look in places specific to Linux. There is no reason that libintl.h should be required to compile r.stream.extract. So either this is a bogus error or improper compilation files.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Oct 13, 2014, at 8:18 PM, William Kyngesburye <woklist@kyngchaos.com> wrote:

libintl.h is not part of the OS X system, so it needs to be included in the GRASS app. I don't build my GRASS app with libintl, but I think Michael Barton does.

But first, make sure you have the latest version of GRASS, 6.4.4. Michael may have missed libintl.h in older versions but fixed it later.

On Oct 12, 2014, at 3:23 PM, Svein Harald Sønderland <snarrald@gmail.com> wrote:

Anyone know how to get the r.stream addons to work on mac??

When trying to install I get this error:

/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/grass/glocale.h:9:10:
fatal error: 'libintl.h' file not found
#include <libintl.h>

Installed grass gis 6.4.3 on my mac OSX v.10.9.5.
GIS Library Revision 50937 (2012-02-25)
Python: 2.6.8
wxPython: 2.8.12.1

Error message:

(Sun Oct 12 22:11:35 2014)
g.extension.py extension=r.stream.extract
svnurl=http://svn.osgeo.org/grass/grass-addons/grass6
WARNING: GRASS_ADDON_PATH has more items, using first defined -
'/Users/snarrald/Library/GRASS/6.4/Modules/bin'
WARNING: Extension <r.stream.extract> already installed. Re-installing...
Fetching <r.stream.extract> from GRASS-Addons SVN (be patient)...
Compiling...
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Grass.make:423: warning: overriding commands for target `/
Users/snarrald/Desktop/GrassData/GBNP/GBNP/.tmp/Gravenstein.
local/53389.0/r.stream.extract/bin'
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Grass.make:414: warning: ignoring old commands for target
`/Users/snarrald/Desktop/GrassData/GBNP/GBNP/.tmp/Gravenstei
n.local/53389.0/r.stream.extract/bin'
In file included from close.c:2:
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/gra
ss/glocale.h:9:10: fatal error: 'libintl.h' file not found
#include <libintl.h>
       ^
1 error generated.
make: *** [OBJ.x86_64-apple-darwin12.4.0/close.o] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.
(Sun Oct 12 22:11:41 2014) Command finished (5 sec)
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

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

First Pogril: Why is life like sticking your head in a bucket filled with hyena offal?
Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal?
First Pogril: I don't know either. Wretched, isn't it?

-HitchHiker's Guide to the Galaxy

It's included from a GRASS header, so it's needed for compiling extensions.

You would have to add it to your bundle.make to package it into the installer.

On Oct 14, 2014, at 2:16 PM, Michael Barton <michael.barton@asu.edu> wrote:

I do compile GRASS with internationalization for 6.4.3 and above. However, there have repeatedly been some problems with the way this is implemented on the Mac. Mainly, the internal checks for what is the system language implemented in the GUI have tended to only look at environment settings that are implemented in Linux but not OSX. Another problem with some addons (possibly with r.stream.extract) is the tendency to hardwire searches for needed (and unneeded) libraries to only look in places specific to Linux. There is no reason that libintl.h should be required to compile r.stream.extract. So either this is a bogus error or improper compilation files.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Oct 13, 2014, at 8:18 PM, William Kyngesburye <woklist@kyngchaos.com> wrote:

libintl.h is not part of the OS X system, so it needs to be included in the GRASS app. I don't build my GRASS app with libintl, but I think Michael Barton does.

But first, make sure you have the latest version of GRASS, 6.4.4. Michael may have missed libintl.h in older versions but fixed it later.

On Oct 12, 2014, at 3:23 PM, Svein Harald Sønderland <snarrald@gmail.com> wrote:

Anyone know how to get the r.stream addons to work on mac??

When trying to install I get this error:

/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/grass/glocale.h:9:10:
fatal error: 'libintl.h' file not found
#include <libintl.h>

Installed grass gis 6.4.3 on my mac OSX v.10.9.5.
GIS Library Revision 50937 (2012-02-25)
Python: 2.6.8
wxPython: 2.8.12.1

Error message:

(Sun Oct 12 22:11:35 2014)
g.extension.py extension=r.stream.extract
svnurl=http://svn.osgeo.org/grass/grass-addons/grass6
WARNING: GRASS_ADDON_PATH has more items, using first defined -
'/Users/snarrald/Library/GRASS/6.4/Modules/bin'
WARNING: Extension <r.stream.extract> already installed. Re-installing...
Fetching <r.stream.extract> from GRASS-Addons SVN (be patient)...
Compiling...
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Grass.make:423: warning: overriding commands for target `/
Users/snarrald/Desktop/GrassData/GBNP/GBNP/.tmp/Gravenstein.
local/53389.0/r.stream.extract/bin'
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Grass.make:414: warning: ignoring old commands for target
`/Users/snarrald/Desktop/GrassData/GBNP/GBNP/.tmp/Gravenstei
n.local/53389.0/r.stream.extract/bin'
In file included from close.c:2:
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/gra
ss/glocale.h:9:10: fatal error: 'libintl.h' file not found
#include <libintl.h>
      ^
1 error generated.
make: *** [OBJ.x86_64-apple-darwin12.4.0/close.o] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.
(Sun Oct 12 22:11:41 2014) Command finished (5 sec)
_______________________________________________

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

"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy

I do bundle it in my GRASS binaries.

My point is that there is no functional reason that internationalization (which is otherwise optional in configuration for GRASS) should be needed to compile r.stream. extract.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Oct 14, 2014, at 4:46 PM, William Kyngesburye <woklist@kyngchaos.com> wrote:

It's included from a GRASS header, so it's needed for compiling extensions.

You would have to add it to your bundle.make to package it into the installer.

On Oct 14, 2014, at 2:16 PM, Michael Barton <michael.barton@asu.edu> wrote:

I do compile GRASS with internationalization for 6.4.3 and above. However, there have repeatedly been some problems with the way this is implemented on the Mac. Mainly, the internal checks for what is the system language implemented in the GUI have tended to only look at environment settings that are implemented in Linux but not OSX. Another problem with some addons (possibly with r.stream.extract) is the tendency to hardwire searches for needed (and unneeded) libraries to only look in places specific to Linux. There is no reason that libintl.h should be required to compile r.stream.extract. So either this is a bogus error or improper compilation files.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Oct 13, 2014, at 8:18 PM, William Kyngesburye <woklist@kyngchaos.com> wrote:

libintl.h is not part of the OS X system, so it needs to be included in the GRASS app. I don't build my GRASS app with libintl, but I think Michael Barton does.

But first, make sure you have the latest version of GRASS, 6.4.4. Michael may have missed libintl.h in older versions but fixed it later.

On Oct 12, 2014, at 3:23 PM, Svein Harald Sønderland <snarrald@gmail.com> wrote:

Anyone know how to get the r.stream addons to work on mac??

When trying to install I get this error:

/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/grass/glocale.h:9:10:
fatal error: 'libintl.h' file not found
#include <libintl.h>

Installed grass gis 6.4.3 on my mac OSX v.10.9.5.
GIS Library Revision 50937 (2012-02-25)
Python: 2.6.8
wxPython: 2.8.12.1

Error message:

(Sun Oct 12 22:11:35 2014)
g.extension.py extension=r.stream.extract
svnurl=http://svn.osgeo.org/grass/grass-addons/grass6
WARNING: GRASS_ADDON_PATH has more items, using first defined -
'/Users/snarrald/Library/GRASS/6.4/Modules/bin'
WARNING: Extension <r.stream.extract> already installed. Re-installing...
Fetching <r.stream.extract> from GRASS-Addons SVN (be patient)...
Compiling...
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Grass.make:423: warning: overriding commands for target `/
Users/snarrald/Desktop/GrassData/GBNP/GBNP/.tmp/Gravenstein.
local/53389.0/r.stream.extract/bin'
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/Mak
e/Grass.make:414: warning: ignoring old commands for target
`/Users/snarrald/Desktop/GrassData/GBNP/GBNP/.tmp/Gravenstei
n.local/53389.0/r.stream.extract/bin'
In file included from close.c:2:
/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/gra
ss/glocale.h:9:10: fatal error: 'libintl.h' file not found
#include <libintl.h>
     ^
1 error generated.
make: *** [OBJ.x86_64-apple-darwin12.4.0/close.o] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.
(Sun Oct 12 22:11:41 2014) Command finished (5 sec)
_______________________________________________

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

"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy

On Wed, Oct 15, 2014 at 1:57 AM, Michael Barton <Michael.Barton@asu.edu> wrote:

I do bundle it in my GRASS binaries.

My point is that there is no functional reason that internationalization (which is otherwise optional in configuration for GRASS) should be needed to compile r.stream. extract.

But don't you compile with --with-nls support? Then it is needed as it
is for most other commands which come with gettext enabled messages.

Markus

On Tue, Oct 14, 2014 at 9:16 PM, Michael Barton <Michael.Barton@asu.edu> wrote:

I do compile GRASS with internationalization for 6.4.3 and above. However, there have repeatedly been some problems with the way this is implemented on the Mac. Mainly, the internal checks for what is the system language implemented in the GUI have tended to only look at environment settings that are implemented in Linux but not OSX.

Do you have any details here?

Markus

Right, so we're back to the problem, if libintl.h is bundled in the GRASS app include dir, why isn't it found? I just looked, yes it's there, in the right place, it should work.

Svein, is there more before the error? I'm looking for a line that starts with 'gcc' or 'clang'.

On Oct 15, 2014, at 1:08 AM, Markus Neteler <neteler@osgeo.org> wrote:

On Wed, Oct 15, 2014 at 1:57 AM, Michael Barton <Michael.Barton@asu.edu> wrote:

I do bundle it in my GRASS binaries.

My point is that there is no functional reason that internationalization (which is otherwise optional in configuration for GRASS) should be needed to compile r.stream. extract.

But don't you compile with --with-nls support? Then it is needed as it
is for most other commands which come with gettext enabled messages.

On Oct 12, 2014, at 3:23 PM, Svein Harald Sønderland <snarrald@gmail.com> wrote:

Anyone know how to get the r.stream addons to work on mac??

When trying to install I get this error:

/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/grass/glocale.h:9:10:
fatal error: 'libintl.h' file not found
#include <libintl.h>

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

"Those people who most want to rule people are, ipso-facto, those least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy

Hi,

I upgraded from v6.4.3 to v6.4.4 and used the KyngChaos installer
package. After having installed all the necessary packages listed on
that page the error message about libintl.h was no longer appearing.
Using this version I currently have no problems neither installing nor
using the addons I need for my work.

Prior to using KyngChaos installer package I tried v6.4.5-svn from
Michael Barton, but in many cases the layers did not show anything
except for blank layers. The rasters could be selected, but nothing
appeared on screen. Due to this I quickly jumped over to the KyngChaos
package, and it luckily worked better (for me).

Thank you all for your helpful replies, as of now everything seemingly
works as it should.

--
Best wishes,
Svein Harald Sønderland

On Wed, Oct 15, 2014 at 3:43 PM, William Kyngesburye
<woklist@kyngchaos.com> wrote:

Right, so we're back to the problem, if libintl.h is bundled in the GRASS app include dir, why isn't it found? I just looked, yes it's there, in the right place, it should work.

Svein, is there more before the error? I'm looking for a line that starts with 'gcc' or 'clang'.

On Oct 15, 2014, at 1:08 AM, Markus Neteler <neteler@osgeo.org> wrote:

On Wed, Oct 15, 2014 at 1:57 AM, Michael Barton <Michael.Barton@asu.edu> wrote:

I do bundle it in my GRASS binaries.

My point is that there is no functional reason that internationalization (which is otherwise optional in configuration for GRASS) should be needed to compile r.stream. extract.

But don't you compile with --with-nls support? Then it is needed as it
is for most other commands which come with gettext enabled messages.

On Oct 12, 2014, at 3:23 PM, Svein Harald Sønderland <snarrald@gmail.com> wrote:

Anyone know how to get the r.stream addons to work on mac??

When trying to install I get this error:

/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/grass/glocale.h:9:10:
fatal error: 'libintl.h' file not found
#include <libintl.h>

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

"Those people who most want to rule people are, ipso-facto, those least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy

I’m glad this worked. But I don’t have a 6.4.5 package. The only GRASS 6.x package I have is 6.4.4 stable, the same one that William has. So I wonder what the difference is? I do compile this with internationalization on but otherwise, it is pretty much the same as William.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Oct 15, 2014, at 1:57 PM, Svein Harald Sønderland <snarrald@gmail.com> wrote:

Hi,

I upgraded from v6.4.3 to v6.4.4 and used the KyngChaos installer
package. After having installed all the necessary packages listed on
that page the error message about libintl.h was no longer appearing.
Using this version I currently have no problems neither installing nor
using the addons I need for my work.

Prior to using KyngChaos installer package I tried v6.4.5-svn from
Michael Barton, but in many cases the layers did not show anything
except for blank layers. The rasters could be selected, but nothing
appeared on screen. Due to this I quickly jumped over to the KyngChaos
package, and it luckily worked better (for me).

Thank you all for your helpful replies, as of now everything seemingly
works as it should.

--
Best wishes,
Svein Harald Sønderland

On Wed, Oct 15, 2014 at 3:43 PM, William Kyngesburye
<woklist@kyngchaos.com> wrote:

Right, so we're back to the problem, if libintl.h is bundled in the GRASS app include dir, why isn't it found? I just looked, yes it's there, in the right place, it should work.

Svein, is there more before the error? I'm looking for a line that starts with 'gcc' or 'clang'.

On Oct 15, 2014, at 1:08 AM, Markus Neteler <neteler@osgeo.org> wrote:

On Wed, Oct 15, 2014 at 1:57 AM, Michael Barton <Michael.Barton@asu.edu> wrote:

I do bundle it in my GRASS binaries.

My point is that there is no functional reason that internationalization (which is otherwise optional in configuration for GRASS) should be needed to compile r.stream. extract.

But don't you compile with --with-nls support? Then it is needed as it
is for most other commands which come with gettext enabled messages.

On Oct 12, 2014, at 3:23 PM, Svein Harald Sønderland <snarrald@gmail.com> wrote:

Anyone know how to get the r.stream addons to work on mac??

When trying to install I get this error:

/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/grass/glocale.h:9:10:
fatal error: 'libintl.h' file not found
#include <libintl.h>

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

"Those people who most want to rule people are, ipso-facto, those least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy

:slight_smile:

Correct, the package provided by you said "GRASS 6.4.4 stable (svn
snapshot with bug fixes)"
<http://grassmac.wdfiles.com/local--files/downloads/GRASS-6.4.4svn.pkg.zip&gt;
on the download page, but upon launching the Grass application, the
terminal window said v6.4.5-svn. I became a bit suspicious, and it
felt like walking in the land of unstable alphas :-).

The KyngChaos release of v6.4.4, on the other hand, says 'Welcome to
GRASS 6.4.4 (2014)'.

Thank you again for the quick response and great support.

On Wed, Oct 15, 2014 at 11:05 PM, Michael Barton <Michael.Barton@asu.edu> wrote:

I’m glad this worked. But I don’t have a 6.4.5 package. The only GRASS 6.x package I have is 6.4.4 stable, the same one that William has. So I wonder what the difference is? I do compile this with internationalization on but otherwise, it is pretty much the same as William.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Oct 15, 2014, at 1:57 PM, Svein Harald Sønderland <snarrald@gmail.com> wrote:

Hi,

I upgraded from v6.4.3 to v6.4.4 and used the KyngChaos installer
package. After having installed all the necessary packages listed on
that page the error message about libintl.h was no longer appearing.
Using this version I currently have no problems neither installing nor
using the addons I need for my work.

Prior to using KyngChaos installer package I tried v6.4.5-svn from
Michael Barton, but in many cases the layers did not show anything
except for blank layers. The rasters could be selected, but nothing
appeared on screen. Due to this I quickly jumped over to the KyngChaos
package, and it luckily worked better (for me).

Thank you all for your helpful replies, as of now everything seemingly
works as it should.

--
Best wishes,
Svein Harald Sønderland

On Wed, Oct 15, 2014 at 3:43 PM, William Kyngesburye
<woklist@kyngchaos.com> wrote:

Right, so we're back to the problem, if libintl.h is bundled in the GRASS app include dir, why isn't it found? I just looked, yes it's there, in the right place, it should work.

Svein, is there more before the error? I'm looking for a line that starts with 'gcc' or 'clang'.

On Oct 15, 2014, at 1:08 AM, Markus Neteler <neteler@osgeo.org> wrote:

On Wed, Oct 15, 2014 at 1:57 AM, Michael Barton <Michael.Barton@asu.edu> wrote:

I do bundle it in my GRASS binaries.

My point is that there is no functional reason that internationalization (which is otherwise optional in configuration for GRASS) should be needed to compile r.stream. extract.

But don't you compile with --with-nls support? Then it is needed as it
is for most other commands which come with gettext enabled messages.

On Oct 12, 2014, at 3:23 PM, Svein Harald Sønderland <snarrald@gmail.com> wrote:

Anyone know how to get the r.stream addons to work on mac??

When trying to install I get this error:

/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/include/grass/glocale.h:9:10:
fatal error: 'libintl.h' file not found
#include <libintl.h>

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

"Those people who most want to rule people are, ipso-facto, those least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy

--
Best wishes,
Svein Harald Sønderland