[GRASSLIST:5822] Problem installing grass-6.0.0beta2

Greetings!
I'm trying to install grass-6.0.0beta2 on a Fedora3 system, and the
configure
program stops with the error

checking for location of External PROJ.4 includes...
checking for proj_api.h... no
configure: error: *** Unable to locate External PROJ.4 includes.

The file was not part of the download; however, there is a file
named "gproj_api.h" in the include subdirectory. Is this the file I
need? Can I simply list the proj_api.h filename to that file?

Any advice is welcome...

Thanks!

da

I'm trying to install grass-6.0.0beta2 on a Fedora3 system, and the
configure
program stops with the error

checking for location of External PROJ.4 includes...
checking for proj_api.h... no
configure: error: *** Unable to locate External PROJ.4 includes.

The file was not part of the download; however, there is a file
named "gproj_api.h" in the include subdirectory. Is this the file I
need? Can I simply list the proj_api.h filename to that file?

Any advice is welcome...

You need to install PROJ.4 first.

it is on the GRASS 6 requirements page:
  http://grass.ibiblio.org/grass60/source/REQUIREMENTS.html

PROJ4 - Projection Library
  http://www.remotesensing.org/proj

Hamish

Jack Varga wrote:

It's looking for Proj4 headers which it sounds like you don't have. Most everyone needs a projection engine. Unless you're certain you don't, I'd start there (download and install proj4). Otherwise, there may be a configure command line option to disable Proj4 sharing, although I can't specifically find one. You may want to try executing './configure ' with the '--disable-proj' &/or '--without-proj' options set.

On the other hand, Grass may have a dependency on proj4 and can't be compiled without it. You can dig around the grass site(s) to see if that's the case, or format another question to the list. I wouldn't be surprised if that's the case.

I suspect that if you don't have proj4, you probably don't have gdal/ogr, perhaps libgeotiff and some other important libraries?

David Adam wrote:

Greetings!
I'm trying to install grass-6.0.0beta2 on a Fedora3 system, and the
configure
program stops with the error

checking for location of External PROJ.4 includes...
checking for proj_api.h... no
configure: error: *** Unable to locate External PROJ.4 includes.

The file was not part of the download; however, there is a file
named "gproj_api.h" in the include subdirectory. Is this the file I
need? Can I simply list the proj_api.h filename to that file?

Any advice is welcome...

Thanks!

da

*

*

Thanks for the help so far! I have installed the various libraries and the program,
which so far works only a little bit. When I start the program with the Spearfish
data set, I get a quick look at a very early map, and then the message:

GRASS 6.0.0beta2:/home/david > Error in startup script: ps.map: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory
    while executing
"exec ps.map -p"
    (procedure "DmPrint::init" line 14)
    invoked from within
"DmPrint::init"
    (procedure "main" line 31)
    invoked from within
"main $argc $argv"
    (file "/usr/local/grass-6.0.0beta2/etc/dm/d.m.tcl" line 891)
*
*The* **libgdal.so.1 *file does exist, at /usr/local/lib/libgdal.so.1, so I apparently need
to modify a search path somewhere, but cannot find anything in the docs. Can anyone
help me out? TIA

david

Hello David,

On Mon, 21 Feb 2005 07:24:22 -0800 David Adam <david@quercus.org> wrote:

*The* **libgdal.so.1 *file does exist, at /usr/local/lib/libgdal.so.1,
so I apparently need
to modify a search path somewhere, but cannot find anything in the
docs. Can anyone
help me out? TIA

you need to add the path /usr/local/lib
to /etc/ld.so.conf
and run
ldconfig
afterwards.

This should solve the problem of not finding the lib.

hth
  Stephan

--
Stephan Holl

Check headers for GnuPG Key!
http://www.gdf-hannover.de

Stephan Holl wrote:

Hello David,

On Mon, 21 Feb 2005 07:24:22 -0800 David Adam <david@quercus.org> wrote:

*The* **libgdal.so.1 *file does exist, at /usr/local/lib/libgdal.so.1,
so I apparently need
to modify a search path somewhere, but cannot find anything in the docs. Can anyone
help me out? TIA
   
you need to add the path /usr/local/lib
to /etc/ld.so.conf
and run
ldconfig
afterwards.

This should solve the problem of not finding the lib.

hth
Stephan

Worked like a charm! Many thanks!

david