[GRASS-dev] GRASS 7.0 compile error

Hi,

I am trying to compile the latest GRASS 7.0 from source (on Ubuntu 13.10). This is usually easy, but now I am getting errors, with errors in about all modules. Going into the modules and running make again gives me the error below:

Any idea what to do?

: && gcc -L/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib -L/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib  -o /home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/etc/clean_temp OBJ.x86_64-unknown-linux-gnu/clean_temp.o    -lgrass_gis.7.0.svn -lgrass_datetime.7.0.svn  -lm 
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib/libgrass_gis.7.0.svn.so: undefined reference to `_n'
collect2: error: ld returned 1 exit status
make: *** [/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/etc/clean_temp] Error 1

Cheers

Paulo

Further to my email below, it seems to be an error in the latest version. I reverted back to a previous version (59504) and that compiled without problems.

On Mon 03 Mar 2014 06:10:09 PM CET, Paulo van Breugel wrote:

Hi,

I am trying to compile the latest GRASS 7.0 from source (on Ubuntu
13.10). This is usually easy, but now I am getting errors, with errors
in about all modules. Going into the modules and running make again
gives me the error below:

Any idea what to do?

: && gcc -L/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib -L/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib -o /home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/etc/clean_temp OBJ.x86_64-unknown-linux-gnu/clean_temp.o -lgrass_gis.7.0.svn -lgrass_datetime.7.0.svn -lm
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib/libgrass_gis.7.0.svn.so: undefined reference to `_n'
collect2: error: ld returned 1 exit status
make: *** [/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/etc/clean_temp] Error 1

Cheers

Paulo

Hi,

2014-03-03 18:37 GMT+01:00 Paulo van Breugel <p.vanbreugel@gmail.com>:

Further to my email below, it seems to be an error in the latest version. I
reverted back to a previous version (59504) and that compiled without
problems.

it's related to r59156 [1]. Have you tried to build GRASS from scratch
(`make distclean`)?

Martin

[1] http://trac.osgeo.org/grass/changeset/59156

Hi Martin, yes, I build it completely from scratch. i.e., I did not do an svn update but a new svn checkout. Are there any new dependencies perhaps?

On Mon 03 Mar 2014 06:42:23 PM CET, Martin Landa wrote:

Hi,

2014-03-03 18:37 GMT+01:00 Paulo van Breugel <p.vanbreugel@gmail.com>:

Further to my email below, it seems to be an error in the latest version. I
reverted back to a previous version (59504) and that compiled without
problems.

it's related to r59156 [1]. Have you tried to build GRASS from scratch
(`make distclean`)?

Martin

[1] http://trac.osgeo.org/grass/changeset/59156

Auch!
Seems that I missed a "small" problem - I tested only on NLS-enabled GRASS.

Please, try out r59189 as it should work now just fine with non-NLS GRASS.

Please accept my sincere apology for causing a short breakage of GRASS
building and thanks for fast feedback.

Maris.

2014-03-03 21:18 GMT+02:00 Paulo van Breugel <p.vanbreugel@gmail.com>:

Hi Martin, yes, I build it completely from scratch. i.e., I did not do an
svn update but a new svn checkout. Are there any new dependencies perhaps?

On Mon 03 Mar 2014 06:42:23 PM CET, Martin Landa wrote:

Hi,

2014-03-03 18:37 GMT+01:00 Paulo van Breugel <p.vanbreugel@gmail.com>:

Further to my email below, it seems to be an error in the latest version.
I
reverted back to a previous version (59504) and that compiled without
problems.

it's related to r59156 [1]. Have you tried to build GRASS from scratch
(`make distclean`)?

Martin

[1] http://trac.osgeo.org/grass/changeset/59156

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Thanks for the quick fix!

p.s. what is non-NLS GRASS?

Paulo

On Mon 03 Mar 2014 09:23:42 PM CET, Maris Nartiss wrote:

Auch!
Seems that I missed a "small" problem - I tested only on NLS-enabled GRASS.

Please, try out r59189 as it should work now just fine with non-NLS GRASS.

Please accept my sincere apology for causing a short breakage of GRASS
building and thanks for fast feedback.

Maris.

2014-03-03 21:18 GMT+02:00 Paulo van Breugel <p.vanbreugel@gmail.com>:

Hi Martin, yes, I build it completely from scratch. i.e., I did not do an
svn update but a new svn checkout. Are there any new dependencies perhaps?

On Mon 03 Mar 2014 06:42:23 PM CET, Martin Landa wrote:

Hi,

2014-03-03 18:37 GMT+01:00 Paulo van Breugel <p.vanbreugel@gmail.com>:

Further to my email below, it seems to be an error in the latest version.
I
reverted back to a previous version (59504) and that compiled without
problems.

it's related to r59156 [1]. Have you tried to build GRASS from scratch
(`make distclean`)?

Martin

[1] http://trac.osgeo.org/grass/changeset/59156

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Paulo van Breugel wrote:

p.s. what is non-NLS GRASS?

NLS is "Native Language Support" (or "National Language Support").

If GRASS is built with the --with-nls option, text such as the --help
output and error/warning/informative messages is translated to the
user's preferred language. Without that option, the text is in
English.

--
Glynn Clements <glynn@gclements.plus.com>