Opened 19 years ago

Closed 17 years ago

Last modified 16 years ago

#823 closed defect (fixed)

GDAL compiling under GRASS 6.0

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 (7)

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)

comment:4 by Mateusz Łoskot, 17 years ago

Frank,

I think this ticket can be reviewed againt more recent reports about GRASS support and grass-plugin. Perhaps it can be closed.

comment:5 by warmerdam, 17 years ago

Cc: Mateusz Łoskot added
Milestone: 1.4.2
Priority: highnormal
Severity: majornormal

Mateusz,

I think this is already dealt with. Could you verify that building the grass driver into GDAL still works with 1.4.x and trunk and then close this report?

comment:6 by Mateusz Łoskot, 17 years ago

Resolution: fixed
Status: assignedclosed

I confirm building GDAL with GRASS support, using --with-grass option, works for me.

I'm closing this ticket as fixed.

comment:7 by Mateusz Łoskot, 16 years ago

Keywords: grass added
Note: See TracTickets for help on using tickets.