[GRASSLIST:321] Re: Compiling gdal with grass support: need help on '--with-grass=' p ointer
Dylan Beaudette
dylan.beaudette at gmail.com
Wed Mar 22 20:50:28 EST 2006
Eric,
Ahh.. I might need to update this, or take it down to point to some newer
directions. Sorry about any mis-information that this page might have
dispensed.
Cheers,
Dylan
On Wednesday 22 March 2006 04:52 am, Patton, Eric wrote:
> Following Dylan's tutorial (http://169.237.35.250/~dylan/grass_user_group/)
> on getting Grass cvs installed, I got surprisingly far before running into
> a compile error:
>
> Downloaded latest cvs from repository into /usr/local
> compiled gdal --without-grass, no problems (used the script on Dylan's
> site) ./configure for grass cvs, all dependencies met:
>
> ./configure --with-png=internal --with-jpeg=internal \
> --with-gif=internal --with-libtiff=internal \
> --with-geotiff=internal --with-libz=internal\
> --without-pg --without-ogdi --with-python \
> --with-threads=yes --without-grass \
> --enable-largefile
>
> make
> make install
> ldconfig
>
> And no problems. Now I'm trying to configure gdal with grass support,
> again, using the script provided on Dylan's site:
>
> ./configure --with-png=internal --with-jpeg=internal \
> --with-gif=internal --with-libtiff=internal \
> --with-geotiff=internal --with-libz=internal\
> --without-pg --without-ogdi --with-python \
> --with-threads=yes --with-grass=/usr/local/grass6/
>
> and received error message:
>
> configure: error: --with-grass=/usr/local/grass6/ requested, but libraries
> not found!
>
> So where should the '--with-grass' flag be pointing to? I've read
> conflicting information on the archives that the path inserted for this
> flag should be everything from the binary
> (/usr/local/grass6/bin.i686-pc-linux-gnu/grass61) to a symlink in /usr/lib
> that points to grass libs somewhere else.
>
> I'm able to run grass-cvs normally, except of course I can't use r.*.gdal,
> but everything else seems fine so far.
>
>
>
>
> ~ Eric.
--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341
More information about the grass-user
mailing list