[GRASS-dev] Re: errors in: messages - fixed

> > > I get various "errors in:" messages after an update. So far I did not
> > > find similar threats on the mailing lists.
> > >
> > > After a cvs update, make distclean - configure - make, a long list of
> > > "errors in:" is prompted (see below).
> > >
> > > I deleted my old cvs folder and removed the grass files in /usr/local
> > > and did a fresh cvs but still the same error appears.
> > >
> > > It is a temporal problem or did I forget something?
> > >
> > > Using debian testing.
> > >
> > > TIA Martin
> > >
> > > Errors in:
> > > ...//grass/grass6/lib/proj
> >
> > --snip--
> >
> > > (In case of errors please change into the directory with error and
> > > run 'make')
> >
> > please do that, starting with lib/proj
>
> baliola@wpf063:~/software/grass/grass6$ cd lib/proj/
> baliola@wpf063:~/software/grass/grass6/lib/proj$ make

gcc -shared -o
/home/baliola/software/grass/grass6/dist.i686-pc-linux-gnu/lib/libgrass_gpr
oj.6.3.cvs.so
-L/home/baliola/software/grass/grass6/dist.i686-pc-linux-gnu/lib
-Wl,--export-dynamic
-Wl,-rpath-link,/home/baliola/software/grass/grass6/dist.i686-pc-linux-gnu/
lib

> OBJ.i686-pc-linux-gnu/get_proj.o OBJ.i686-pc-linux-gnu/do_proj.o
> OBJ.i686-pc-linux-gnu/convert.o OBJ.i686-pc-linux-gnu/datum.o

OBJ.i686-pc-linux-gnu/ellipse.o -lgrass_gis -lgrass_datetime -lz -lproj
-L/usr/local/lib -lgdal -lodbc -lodbcinst -ljasper -lmfhdf -ldf -lgif
-ljpeg -ltiff -lpng -lnetcdf -lcfitsio -L/usr/local/grass-6.3.cvs//lib
-lgrass_vect -lgrass_dig2 -lgrass_dgl -lgrass_rtree -lgrass_linkm
-lgrass_dbmiclient -lgrass_dbmibase -lgrass_I -lgrass_gproj -lgrass_vask
-lgrass_gmath -lgrass_gis -lgrass_datetime -lpq -L/usr/lib -lpq -lz -lm
-lrt -ldl

> && \
> (cd
> /home/baliola/software/grass/grass6/dist.i686-pc-linux-gnu/lib; ln -f -s

libgrass_gproj.6.3.cvs.so
/home/baliola/software/grass/grass6/dist.i686-pc-linux-gnu/lib/libgrass_gpr
oj.so)

> /usr/bin/ld: cannot find -lgrass_vect

As libgrass_gproj library doesn't use libgrass_vect, this is almost
certainly a GDAL issue (i.e. your GDAL library was built with GRASS
support, but you've removed the GRASS installation on which it
depends). If that is the case, you will first need to re-install GDAL;
if you're building it from source, you'll need to build without GRASS
support.

I removed my whole gdal installation (deb and source) and compiled the source
without GRASS support and pointed GRASS to this GDAL path.

Now it works fine again. Thanks!

Martin