[GRASSLIST:3814] grass_src_pre4 configure problem

Radoslav Bonk bonk at fns.uniba.sk
Sun Jun 2 12:18:37 EDT 2002


Hi GRASSusers,

I am compiling grass_src_pre4 version, anf I got into strange problems in configure procedure of the compilation. It seems like configure script doesn't like several *.h files located at proper locations. The locations are giving to the system by proper *--with-*-includes=DIRS" options. However the "configure" script doesn't recognize them.

./configure --prefix=/home/rado/bin/ --bindir=/usr/local/bin --with-tcltk --without-fftw --with-gdal --with-dbm-includes=/usr/include/gdbm --without-jpeg --without-gd --with-tcltk-includes=/usr/include --with-includes=/usr/include --with--postgres-includes=/usr/include/pgsql

OUTPUTS:
checking for location of Tcl/Tk includes... /usr/include
checking for tcl.h... yes
checking for tk.h... no
configure: error: *** Unable to locate Tk includes.
#BOTH tcl.h, AND tk.h FILES ARE IN THE SAME DIR! SCRIPT ACCEPT tcl.h BUT NOT tk.h!

#THE SAME FOR POSTGRESQL SUPPORT:
checking whether to use PostgreSQL... yes
checking for location of PostgreSQL includes... 
checking for libpq-fe.h... no
configure: error: *** Unable to locate PostgreSQL includes.

Output from locate command:
/usr/include/pgsql/libpq-fe.h
/usr/include/tk.h
/usr/include/tcl.h	


All the *.h files are in the system, but for some reason configure script doesn't recongize them. Any suggestion??

	-Rado


-- 
 Radoslav Bonk M.S.
 Comenius University,Faculty of Natural Sciences
 Department of Physical Geography and Geoecology
 Mlynska Dolina 842 15,Bratislava SLOVAKIA
 fax:00421-2-654 29 064 phone: 00421-2-602 96 250



More information about the grass-user mailing list