[GRASS-user] cvs update error

Hi all,
after updating with cvs ( cvs update -d -P ) i tried to compile with make but i get same errors, in particular the HTMLMAP i had the following error:

[maxi@localhost HTMLMAP]$ make
gcc -L/home/maxi/grass-6.3.cvs_src_snapshot_2007_03_10/dist.i686-pc-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/home/maxi/grass-6.3.cvs_src_snapshot_2007_03_10/dist.i686-pc-linux-gnu/lib -o /home/maxi/grass-6.3.cvs_src_snapshot_2007_03_10/dist.i686-pc-linux-gnu/driver/HTMLMAP OBJ.i686-pc-linux-gnu/Graph_Clse.o OBJ.i686-pc-linux-gnu/Graph_Set.o OBJ.i686-pc-linux-gnu/Polygn_abs.o OBJ.i686-pc-linux-gnu/Text.o OBJ.i686-pc-linux-gnu/main.o -lgrass_driver -lgrass_gis -lgrass_datetime -lz -lfreetype -lgrass_display -lgrass_gis -lgrass_datetime -lz -lgrass_raster -lgrass_pngdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lz -lfreetype -lgrass_gis -lgrass_datetime -lz -lpng -lz -lm -lgrass_psdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lz -lfreetype -lgrass_gis -lgrass_datetime -lz -lgrass_driver -lgrass_gis -lgrass_datetime -lz -lfreetype -lgrass_gis -lgrass_datetime -lz -lgrass_raster -lgrass_pngdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lz -lfreetype -lgrass_gis -lgrass_datetime -lz -lpng -lz -lm -lgrass_psdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lz -lfreetype -lgrass_gis -lgrass_datetime -lz -lgrass_driver -lgrass_gis -lgrass_datetime -lz -lfreetype -lgrass_gis -lgrass_datetime -lz -lgrass_gis -lgrass_datetime -lz -lfreetype -lm -lz
/usr/bin/ld: *cannot find -lgrass_psdriver*
collect2: ld returned 1 exit status
make: *** [/home/maxi/grass-6.3.cvs_src_snapshot_2007_03_10/dist.i686-pc-linux-gnu/driver/HTMLMAP] Error 1

and in PS:

[maxi@localhost PS]$ make
make: *** No rule to make target `/home/maxi/grass-6.3.cvs_src_snapshot_2007_03_10/dist.i686-pc-linux-gnu/lib/libgrass_psdriver.so', needed by `/home/maxi/grass-6.3.cvs_src_snapshot_2007_03_10/dist.i686-pc-linux-gnu/driver/PS'. Stop.

Any idea?
do I miss any library?

Thanks,
Maxi

Massimiliano Cannata wrote:

after updating with cvs ( cvs update -d -P ) i tried to compile with
make but i get same errors, in particular the HTMLMAP i had the
following error:

[maxi@localhost HTMLMAP]$ make

/usr/bin/ld: *cannot find -lgrass_psdriver*
collect2: ld returned 1 exit status
make: ***
[/home/maxi/grass-6.3.cvs_src_snapshot_2007_03_10/dist.i686-pc-linux-gnu/driver/HTMLMAP]
Error 1

and in PS:

[maxi@localhost PS]$ make
make: *** No rule to make target
`/home/maxi/grass-6.3.cvs_src_snapshot_2007_03_10/dist.i686-pc-linux-gnu/lib/libgrass_psdriver.so',
needed by
`/home/maxi/grass-6.3.cvs_src_snapshot_2007_03_10/dist.i686-pc-linux-gnu/driver/PS'.
Stop.

Any idea?
do I miss any library?

Whenever you update the source code, you need to run "make distclean"
then re-compile from scratch.

If you get any errors, you need to deal with them in the order they
appear in the error.log file. If you get an error building a library,
you will also get errors from anything which uses the library.

--
Glynn Clements <glynn@gclements.plus.com>