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

Maciek Sieczka werchowyna at epf.pl
Tue Jul 19 16:53:29 EDT 2005


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.

Frank, could that also be addressed, so that if a gdal-grass plugin is built
the default destination for "make install" would be
/usr/local/lib/gdalplugins like it should?

Maciek




More information about the Gdal-dev mailing list