[GRASS-user] cvs update error

Glynn Clements glynn at gclements.plus.com
Wed Apr 25 18:34:28 EDT 2007


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 at 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 at 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 at gclements.plus.com>




More information about the grass-user mailing list