[GRASS-dev] configuring grass 6.3 for cross compilation

dear GRASS developers,

I am trying to cross-compile GRASS 6.3.cvs using Radim's instructions
on this page: http://wiki.qgis.org/qgiswiki/BuildingWindowsBinaryOnLinux

However, configure aborts with:

...
checking for proj_api.h... yes
configure: warning: *** Cannot check PROJ.4 version (cross-compiling).
checking for location of External PROJ.4 library...
checking for pj_get_def in -lproj... yes
checking for location of External PROJ.4 data files...
configure: warning: *** External PROJ.4 directory not specified
checking for /epsg... configure: error: Cannot check for file existence
when cross compiling

This did not happen with a 6.1 cvs version.

Are there any updates on how to configure 6.3 for cross compilation?
Any help will be greatly appreciated!

Benjamin

--
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany

Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg

Benjamin Ducke wrote:

I am trying to cross-compile GRASS 6.3.cvs using Radim's instructions
on this page: http://wiki.qgis.org/qgiswiki/BuildingWindowsBinaryOnLinux

However, configure aborts with:

...
checking for proj_api.h... yes
configure: warning: *** Cannot check PROJ.4 version (cross-compiling).
checking for location of External PROJ.4 library...
checking for pj_get_def in -lproj... yes
checking for location of External PROJ.4 data files...
configure: warning: *** External PROJ.4 directory not specified
checking for /epsg... configure: error: Cannot check for file existence
when cross compiling

This did not happen with a 6.1 cvs version.

Are there any updates on how to configure 6.3 for cross compilation?
Any help will be greatly appreciated!

Right now, you can't. I'm looking into a fix, but until then you'll
need to manually remove the check from the configure script.

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

Glynn Clements wrote:

> Are there any updates on how to configure 6.3 for cross compilation?
> Any help will be greatly appreciated!

Right now, you can't. I'm looking into a fix, but until then you'll
need to manually remove the check from the configure script.

I've committed a change to the configure script which should fix this,
although I don't a cross-compilation environment to check it.

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

Ok, it works now. Thanks, Glynn.

Glynn Clements wrote:

Glynn Clements wrote:

Are there any updates on how to configure 6.3 for cross compilation?
Any help will be greatly appreciated!

Right now, you can't. I'm looking into a fix, but until then you'll
need to manually remove the check from the configure script.

I've committed a change to the configure script which should fix this,
although I don't a cross-compilation environment to check it.

--
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany

Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg