[Gdal-dev] cannot build grass plugin in gdal - still

Markus Neteler neteler at itc.it
Tue Jul 19 17:52:10 EDT 2005


On Tue, Jul 19, 2005 at 10:53:29PM +0200, Maciek Sieczka wrote:
> From: "Maciek Sieczka" <werchowyna at epf.pl>
> 
> >From: "Markus Neteler" <neteler at itc.it>
> >
> >>On Fri, Jul 15, 2005 at 08:28:38PM +0200, Maciek Sieczka wrote:
> >>>Hi
> >>>
> >>>Still I can't build the gdal-grass plugin in gdal. I'm following what
> >>>the
> >>>README says - and nothing.
> >
> ><snip>
> >
> >>>[trawiarz at quercus pkg]$ make
> >>>make: *** No rule to make target `grass57dataset.o', needed by
> >>>`gdal_GRASS.so'.  Stop.
> >>>
> >>>Where's my error?
> >
> >>What I do (maybe not ideal, but works):
> >>You have to link the C files from ../ into the current directory:
> >>
> >>ln -sf ../*.cpp .
> >>make
> >>make install
> >
> >Will try this, thanks Markus.
> >
> >Does it have to be like this Frank? This makes an average amateur like me
> >not able to build gdal-grass...
> 
> Allright! Built and installed the plugin - for the very first time.
> 
> Yet the other problem was that after "make install" it didn't go to where
> gdal expect plugins (/usr/local/lib/gdalplugins) but to standard
> /usr/local/lib. Sure, I moved it manually, but I would be badly puzzled if I
> didn't remember the issue discussed on the list before.

Yes, it was discussed (unfortunately google doesn't index the xflids server).

You can grab a script to do the job here:

 http://mpa.itc.it/markus/useful/index.html
 ->  conf_install_gdal_grass_plugin.sh


Cheers

 Markus 



More information about the Gdal-dev mailing list