Opened 19 years ago

Last modified 16 years ago

#823 closed defect

GDAL compiling under GRASS 6.0 — at Version 3

Reported by: usenet@… Owned by: warmerdam
Priority: normal Milestone: 1.4.2
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: grass
Cc: Mateusz Łoskot

Description (last modified by Mateusz Łoskot)

I can't compile --with-grass=ARG for GDAL 1.2.6 and GRASS 6.0 (its looking for grass5 libraries).

As such, I can't use r.out.gdal and related gdal operations from withing GRASS 6. Help!

Change History (3)

comment:1 by warmerdam, 19 years ago

Jonathan, 

At long last, I have tried to reproduce this and was unable to. 

Could you be more specific about why you think it is failing?

In my case I configured with:

    --with-grass=/usr/local/grass-6.0.0

And it worked fine. 



comment:2 by tzhai2002@…, 18 years ago

(In reply to comment #1)
> Jonathan, 
> 
> At long last, I have tried to reproduce this and was unable to. 
> 
> Could you be more specific about why you think it is failing?
> 
> In my case I configured with:
> 
>     --with-grass=/usr/local/grass-6.0.0
> 
> And it worked fine. 
> 
> 
> 

Hi, Frank,
   Actually, I have similar problem on my 
Machine hardware:   sun4u
OS version:         5.9
Processor type:     sparc
Hardware:           SUNW,Sun-Fire-V440

   I don't have system admin privi, hence I installed GRASS 6 locally and it is
installed in a directory grass-6.0.1/, I am also aware of the cyclic dependence
of GRASS and GDAL, I am down to the last step of recompiling GDAL to be
--with-grass, but no matter what I do with that flag, it just keep saying that
it can't find the GRASS libraries.

   all the grass libs are installed at: dist.sparc-sun-solaris2.9/ directory
under the grass-6.0.1/ folder, everything is in place, but when I set 
--with-grass=$HOME/grass-6.0.1/dist.sparc-sun-solaris2.9/      or
--with-grass=$HOME/grass-6.0.1/dist.sparc-sun-solaris2.9       and/or
--with-libgrass=$HOME/grass-6.0.1/dist.sparc-sun-solaris2.9/lib

and other combinations, it keeps saying so and so directory is requested, but no
library is found!

  Could you help?
  Thanks!


comment:3 by Mateusz Łoskot, 17 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.