[GRASS5] make problems
Ivan Marchesini
marchesini at unipg.it
Fri Dec 27 07:31:13 EST 2002
Dear All
I hope someone can help me:
I used this command to configure grass 5.1:
CFLAGS="-g -Wall" ./configure
--with-grass50=/home/ivan/Desktop/grass5.1/grass-5.0.0 --with-postgres=no
and I obtained this:
GRASS is now configured for i686-pc-linux-gnu
Source directory:
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13
Build directory:
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13
Installation directory: /usr/local/grass
C compiler: gcc -g -Wall
FORTRAN compiler:
NVIZ: yes
X11 support: yes
DBM support: no
JPEG support: yes
TIFF support: yes
PNG support: yes
GD support: yes
Tcl/Tk support: yes
PostgreSQL support: no
MySQL support: no
OpenGL(R) support: yes
After that I did:
make mix
and I obtained:
./tools/link -old=/home/ivan/Desktop/grass5.1/grass-5.0.0 -new=./
-conf=./tools/link.conf
Linking
Subdir ignored: /home/ivan/Desktop/grass5.1/grass-5.0.0/src/include/geom
Subdir ignored: /home/ivan/Desktop/grass5.1/grass-5.0.0/src/include/vect
Subdir ignored:
/home/ivan/Desktop/grass5.1/grass-5.0.0/src/libes/datetime/tests
Subdir ignored: /home/ivan/Desktop/grass5.1/grass-5.0.0/src/libes/gis/TESTS
Subdir ignored:
/home/ivan/Desktop/grass5.1/grass-5.0.0/src/libes/ogsf/newFeatures
Subdir ignored: /home/ivan/Desktop/grass5.1/grass-5.0.0/src/libes/proj/doc
Subdir ignored: /home/ivan/Desktop/grass5.1/grass-5.0.0/src/front.end/log
Subdir ignored:
/home/ivan/Desktop/grass5.1/grass-5.0.0/src/display/d.mon/cmd/OLD
Subdir ignored:
/home/ivan/Desktop/grass5.1/grass-5.0.0/src.contrib/GMSL/NVIZ2.2/src/compat
after I tried:
make
but the command stops with these messages:
[.....]
make[1]: Entering directory
`/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/visualization'
nviz
make[2]: Entering directory
`/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/visualization/nviz'
*** PostgreSQL unsupported ***
cd src ; make
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
OBJ.i686-pc-linux-gnu/change_view.o OBJ.i686-pc-linux-gnu/draw.o
OBJ.i686-pc-linux-gnu/exag.o OBJ.i686-pc-linux-gnu/glwrappers.o
OBJ.i686-pc-linux-gnu/init_commands.o OBJ.i686-pc-linux-gnu/lights.o
OBJ.i686-pc-linux-gnu/map_obj.o OBJ.i686-pc-linux-gnu/misc.o
OBJ.i686-pc-linux-gnu/nviz_init.o OBJ.i686-pc-linux-gnu/position.o
OBJ.i686-pc-linux-gnu/quick_draw.o OBJ.i686-pc-linux-gnu/anim_support.o
OBJ.i686-pc-linux-gnu/cutplane_obj.o OBJ.i686-pc-linux-gnu/script_support.o
OBJ.i686-pc-linux-gnu/do_zoom.o OBJ.i686-pc-linux-gnu/label.o
OBJ.i686-pc-linux-gnu/nvizMain.o OBJ.i686-pc-linux-gnu/togl.o
OBJ.i686-pc-linux-gnu/togl_cb.o OBJ.i686-pc-linux-gnu/query_postgr.o
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libogsf.a
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libimage.a
\
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libbitmap.a
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/liblinkm.a
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libvect.a
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libdig2.a
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libshape.a
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libbtree.a
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/librtree.a
\
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libgis.a
-lm -lz \
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libdatetime.a
-ltk -lm -ltcl -lm -lGLU -lGL -lSM -lICE -lX11 -lXmu -lXext -lm -ldl -lz
-L/usr/X11R6/lib -ltiff -lSM -lICE -lX11
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libvect.a(close_post.o):
In function `V1_close_post':
close_post.o(.text+0xba): undefined reference to `PQfinish'
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libvect.a(open_post.o):
In function `setup':
open_post.o(.text+0x341): undefined reference to `PQsetdbLogin'
open_post.o(.text+0x35b): undefined reference to `PQstatus'
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libvect.a(open_post.o):
In function `V1_open_new_post':
open_post.o(.text+0x570): undefined reference to `PQexec'
open_post.o(.text+0x590): undefined reference to `PQresultStatus'
open_post.o(.text+0x5ab): undefined reference to `PQresultErrorMessage'
open_post.o(.text+0x5ca): undefined reference to `PQclear'
open_post.o(.text+0x5de): undefined reference to `PQfinish'
open_post.o(.text+0x602): undefined reference to `PQgetvalue'
open_post.o(.text+0x64b): undefined reference to `PQclear'
open_post.o(.text+0x686): undefined reference to `PQexec'
open_post.o(.text+0x6a6): undefined reference to `PQresultStatus'
open_post.o(.text+0x6c1): undefined reference to `PQresultErrorMessage'
open_post.o(.text+0x6e0): undefined reference to `PQclear'
open_post.o(.text+0x6f4): undefined reference to `PQfinish'
open_post.o(.text+0x718): undefined reference to `PQgetvalue'
open_post.o(.text+0x761): undefined reference to `PQclear'
open_post.o(.text+0x803): undefined reference to `PQexec'
open_post.o(.text+0x823): undefined reference to `PQresultStatus'
open_post.o(.text+0x83e): undefined reference to `PQresultErrorMessage'
open_post.o(.text+0x85d): undefined reference to `PQclear'
open_post.o(.text+0x871): undefined reference to `PQfinish'
open_post.o(.text+0x891): undefined reference to `PQclear'
open_post.o(.text+0x928): undefined reference to `PQexec'
open_post.o(.text+0x948): undefined reference to `PQresultStatus'
open_post.o(.text+0x963): undefined reference to `PQresultErrorMessage'
open_post.o(.text+0x982): undefined reference to `PQclear'
open_post.o(.text+0x996): undefined reference to `PQfinish'
open_post.o(.text+0x9b3): undefined reference to `PQclear'
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libvect.a(read_post.o):
In function `V1_read_next_line_post':
read_post.o(.text+0xd1): undefined reference to `PQexec'
read_post.o(.text+0xe8): undefined reference to `PQresultStatus'
read_post.o(.text+0x100): undefined reference to `PQresultErrorMessage'
read_post.o(.text+0x11c): undefined reference to `PQclear'
read_post.o(.text+0x13d): undefined reference to `PQgetvalue'
read_post.o(.text+0x163): undefined reference to `PQgetvalue'
read_post.o(.text+0x183): undefined reference to `PQclear'
/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/lib/libvect.a(read_post.o):
In function `Vect__Read_line_post':
read_post.o(.text+0x44d): undefined reference to `PQexec'
read_post.o(.text+0x46d): undefined reference to `PQresultStatdus'
read_post.o(.text+0x488): undefined reference to `PQresultErrorMessage'
read_post.o(.text+0x4aa): undefined reference to `PQclear'
read_post.o(.text+0x4ca): undefined reference to `PQntuples'
read_post.o(.text+0x4f2): undefined reference to `PQclear'
read_post.o(.text+0x516): undefined reference to `PQgetvalue'
read_post.o(.text+0x554): undefined reference to `PQgetvalue'
read_post.o(.text+0x57b): undefined reference to `PQgetvalue'
read_post.o(.text+0x59e): undefined reference to `PQclear'
read_post.o(.text+0x5ea): undefined reference to `PQexec'
read_post.o(.text+0x60a): undefined reference to `PQresultStatus'
read_post.o(.text+0x625): undefined reference to `PQresultErrorMessage'
read_post.o(.text+0x644): undefined reference to `PQclear'
read_post.o(.text+0x664): undefined reference to `PQclear'
read_post.o(.text+0x75c): undefined reference to `PQexec'
read_post.o(.text+0x77c): undefined reference to `PQresultStatus'
read_post.o(.text+0x797): undefined reference to `PQresultErrorMessage'
read_post.o(.text+0x7b6): undefined reference to `PQclear'
read_post.o(.text+0x810): undefined reference to `PQexec'
read_post.o(.text+0x830): undefined reference to `PQresultStatus'
read_post.o(.text+0x84b): undefined reference to `PQresultErrorMessage'
read_post.o(.text+0x86a): undefined reference to `PQclear'
read_post.o(.text+0x88a): undefined reference to `PQntuples'
read_post.o(.text+0x8a3): undefined reference to `PQntuples'
read_post.o(.text+0x8c2): undefined reference to `PQclear'
read_post.o(.text+0x8e6): undefined reference to `PQgetlength'
read_post.o(.text+0x90b): undefined reference to `PQgetvalue'
read_post.o(.text+0xc5c): undefined reference to `PQclear'
read_post.o(.text+0xc75): undefined reference to `PQexec'
read_post.o(.text+0xc95): undefined reference to `PQresultStatus'
read_post.o(.text+0xcb0): undefined reference to `PQresultErrorMessage'
read_post.o(.text+0xccf): undefined reference to `PQclear'
read_post.o(.text+0xcef): undefined reference to `PQclear'
read_post.o(.text+0xd08): undefined reference to `PQexec'
read_post.o(.text+0xd28): undefined reference to `PQresultStatus'
read_post.o(.text+0xd43): undefined reference to `PQresultErrorMessage'
read_post.o(.text+0xd62): undefined reference to `PQclear'
read_post.o(.text+0xd82): undefined reference to `PQclear'
read_post.o(.text+0xe0a): undefined reference to `PQexec'
read_post.o(.text+0xe2a): undefined reference to `PQresultStatus'
read_post.o(.text+0xe45): undefined reference to `PQresultErrorMessage'
read_post.o(.text+0xe64): undefined reference to `PQclear'
read_post.o(.text+0xe84): undefined reference to `PQntuples'
read_post.o(.text+0xece): undefined reference to `PQgetvalue'
read_post.o(.text+0xef9): undefined reference to `PQgetvalue'
read_post.o(.text+0xf53): undefined reference to `PQclear'
collect2: ld returned 1 exit status
make[3]: *** [nvwish] Error 1
make[3]: Leaving directory
`/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/visualization/nviz/src'
make[2]: *** [nvwish] Error 2
make[2]: Leaving directory
`/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/visualization/nviz'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/home/ivan/Desktop/grass5.1/grass51_exp_2002_12_13/visualization'
make: *** [default] Error 1
What about this errors???
can someone help me??
I apologize If this question is too simple or stupid
feel you free to not answer :-)
thank you....
Ivan
More information about the grass-dev
mailing list