[GRASS5] make problems

Glynn Clements glynn.clements at virgin.net
Fri Dec 27 17:06:56 EST 2002


Ivan Marchesini wrote:

> but the command stops with these messages:

> make[3]: Entering directory 
> `/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/visualization/nviz/src'
> gcc  
> -L/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib  
> -o nvwish OBJ.i686-pc-linux-gnu/nvizAppInit.o 

[snip]

Notice that the first command which is run upon entering the directory
is the linking command; no source files are compiled. This suggests
that you still have the object files from the previous build. 
Furthermore, the fact that libvect.a contains references to PQ*
symbols suggests that the previous build had PostgreSQL support
enabled.

You should run "make clean" whenever any significant changes are made
to the source code (e.g. if you update the GRASS 5.1 code, or update
the GRASS 5.0 code, or re-run configure with different options).

A couple of related points for the benefit of anyone trying out 5.1:

1. You need to keep the 5.1 code synchronised with the 5.0 code; if
you update one, you need to update the other.

2. If you update the 5.0 code, and any files are removed as a result,
you also need to run "make mixclean" then re-run "make mix";
otherwise, you will have stale symlinks which may break the build.

Both of the above are due to the fact that 5.1 uses an existing 5.0
tree rather than including its own copy of files which haven't been
changed; this will change eventually.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list