Fwd: [GRASS-dev] Scripting in Linux

Kim Besson kimbesson1981 at gmail.com
Mon Feb 1 09:11:38 EST 2010


:)

Ok I have done make clean first and then configure

./configure --with-wxwidgets --with-blas --with-lapack --with-cxx
--with-python=/usr/bin/python2.6-config --with-gdal --enable-largefile
--with-wxpython --with-sqlite --with-fftw --with-motif --with-freetype
--with-tcltk-includes=/usr/include/tk
--with-freetype-includes=/usr/include/freetype2 --with-nls



and then make and make install



and when I run GRASS I get the following errors:

(process:24523): Gdk-WARNING **: locale not supported by C library

(process:24523): Gtk-WARNING **: Locale not supported by C library.

                Using the fallback 'C' locale.



Grasswxpy.mo are being used but grassmods.mo NO.



Regarding#i18N HAVE_NLS at Platform.make:

=1 (as expected)



And everything as expected at config.h

/* define if libintl.h exists */
#define HAVE_LIBINTL_H 1

/* define if iconv.h exists */
#define HAVE_ICONV_H 1

/* define if NLS requested */
#define USE_NLS 1



Regarding libgrass_gis.so  (at /usr/local/grass-6.4.0svn/lib):

U bindtextdomain@@GLIBC_2.0

No U dgettext, only :
00029f00 T G_gettext
U dcgettext@@GLIBC_2.0

Regarding g.parser  (/usr/local/grass-6.4.0svn/bin):

U G_gettext is present



Shall I configure only with –nls  to test this?



Thank you (lost in translation )

Kim
2010/1/29 Glynn Clements <glynn at gclements.plus.com>

>
> Kim Besson wrote:
>
> > - Regarding  i18N Platform.make:
> > #i18N
> > HAVE_NLS            = 1
> > (seems ok)
> >
> > - Config.h (/usr/local/grass-6.4.0svn/include/grass/):
> > /* define if libintl.h exists */
> > #define HAVE_LIBINTL_H 1
> >
> > /* define if iconv.h exists */
> > #define HAVE_ICONV_H 1
> >
> > /* define if NLS requested */
> > #define USE_NLS 1
> >
> > (seems to be equal)
> >
> > By doing:
> > nm /usr/local/grass-6.4.0svn/lib/libgrass_gis.so
> > U bindtextdomain ==> There was no output with bindtextdomain
> > U dgettext==> There was no output with dgettext
> > Only:
> > 00029130 T G_gettext
> >
> > About:
> > nm /usr/local/grass-6.4.0svn/bin/g.parser
> > U G_gettext ==> Nothing with gettext...
> >
> > So, what the prognosis? :)
>
> Probably: configure without NLS, make, configure --with-nls, make.
>
> Whenever you run configure, you should run "make clean" immediately
> afterwards. Otherwise, "make" will notice that the compiled files
> already exist and appear to be up-to-date, and not bother to
> re-compile them.
>
> Try "make clean ; make".
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20100201/8f0b0b07/attachment.html


More information about the grass-dev mailing list