[Gdal-dev] gdal-grass plugin rpm

Otto Dassau dassau at gdf-hannover.de
Wed Oct 26 11:05:35 EDT 2005


Am Mittwoch, 26. Oktober 2005 16:30 schrieb Frank Warmerdam:
> On 10/26/05, Otto Dassau <dassau at gdf-hannover.de> wrote:
> > Hi,
> >
> > I (tried to) built a current gdal-grass plugin 1.3.1.1 as RPM and defined
> > the PREFIX as:
> > %define _prefix /usr
> >
> > When I install the package the support is missing:
>
> ...
>
> > of course it works linking /usr/local/lib/gdalplugins to
> > /usr/lib/gdalplugins, but that's not a real solution -  guess. Hopefully
> > someone has an idea how to fix this problem.
>
> Otto,
>
> If GDAL is configured to install in /usr instead of
> /usr/local then the GDAL_PREFIX macro in gdal/port/cpl_config.h
> should be /usr and gdaldrivermanager.cpp should look in
> /usr/lib/gdalplugins instead of /usr/local/lib/gdalplugins.

Hi,

GDAL_PREFIX is /usr/local
gdaldrivermanager.cpp looks in  /usr/local/lib/gdalplugins

ok, it happens in gdal itself, but building the gdal rpm package I also 
defined /usr as prefix, so how can I change this and make gdal look 
in /usr/lib/gdalplugins? 

thanks
  Otto

> You might want to look into whether GDAL was built right.



> Best regards,



More information about the Gdal-dev mailing list