[Gdal-dev] cannot build dal-grass plugin
Maciek Sieczka
werchowyna at epf.pl
Mon Jun 27 17:04:19 EDT 2005
Hi Folks
I've been succesfully building and using gdal --with-grass so far. Now I
want to try it in a plugin instead to save me some re-compiling but either
dumb or blind, I can't make it work. ./configure is ok by make fails.
Here's how it goes. Please somebody help.
Example based on gdal-cvs-2005.05.31 because at hand now, but I have this
problem with the fresh cvs as well.
[pingwin at localhost pkg]$ cd /src/gdal-cvs-2005.05.31/frmts/grass/pkg
[pingwin at localhost pkg]$
./configure --with-gdal=/usr/local/bin/gdal-config --with-grass=/usr/local/grass-6.1.cvs
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for g++ -shared ... yes
user supplied gdal-config (/usr/local/bin/gdal-config)
using /usr/local/lib as GDAL shared library autoload directory
checking for G_asprintf in -lgrass_gis... yes
configure: creating ./config.status
config.status: creating Makefile
[pingwin at localhost pkg]$ make
make: *** No rules for making object `grass57dataset.o', required by
`gdal_GRASS.so'. Stop.
Anything wrong with my /etc/ld.so.conf ? :
include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/lib/qt3/lib
/usr/local/lib
//usr/lib/python2.3/site-packages
//usr/local/lib
/usr/local/grass-6.1.cvs/lib
/usr/lib/wine
//usr/local/lib/qgis
Maciek
More information about the Gdal-dev
mailing list