[GRASS-user] installation problem

temiz temiz at deprem.gov.tr
Mon Sep 18 13:30:34 EDT 2006


Glynn Clements wrote:
> temiz wrote:
>
>   
>> I try to install "grass-6.2.0beta2"
>>
>> when I use this configuration file:
>> ./configure --with-motif  --with-readline  --with-proj --with-postgres \
>> --with-cxx --with-glw --with-odbc --with-freetype \
>> --with-freetype-includes=/usr/local/loc0/down1/freetype-2.1.9/include 
>> --with-nls \
>> --with-tcltk-includes=/usr/include/tcl8.3/ \
>> --with-postgres-includes=/usr/local/pgsql/include/ \
>> --with-postgres-libs=/usr/local/pgsql/lib/  \
>> --with-gdal=/usr/bin/gdal-config
>>
>> it gives :
>>
>> checking whether to use Tcl/Tk... yes
>> checking for location of Tcl/Tk includes... /usr/include/tcl8.3/
>> checking for tcl.h... yes
>> checking for tk.h... no
>> configure: error: *** Unable to locate Tk includes.
>>
>> I checked tk.h. It resides resides in :
>>
>> ls /usr/include/tcl8.3/
>> tclDecls.h  tcl.h  tclPlatDecls.h  tcl-private  tk.h
>>
>> what might the problem ?
>>     
>
> Look for the actual error message in config.log.
>
>   
thank you

I looked there seems to be many errors:

~~~~~
orkun at landslide:~/data/grass-6.2.0beta2$ less | grep error config.log
configure:954: error: '__CYGWIN32__' undeclared (first use in this function)
configure:954: error: (Each undeclared identifier is reported only once
configure:954: error: for each function it appears in.)
configure:980: error: '__MINGW32__' undeclared (first use in this function)
configure:980: error: (Each undeclared identifier is reported only once
configure:980: error: for each function it appears in.)
configure:3877:17: error: g2c.h: No such file or directory
configure:3877:17: error: f2c.h: No such file or directory
configure:4196: error: '__CYGWIN32__' undeclared (first use in this 
function)
configure:4196: error: (Each undeclared identifier is reported only once
configure:4196: error: for each function it appears in.)
/* Override any gcc2 internal prototype to avoid an error.  */
configure:4495: error: too many arguments to function 'setpgrp'
configure:4650:27: error: X11/Intrinsic.h: No such file or directory
configure:5463: error: 'WINDOW' has no member named 'maxy'
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
/usr/include/tcl8.3/tk.h:83:23: error: X11/Xlib.h: No such file or directory
/usr/include/tcl8.3/tk.h:1361:21: error: tkDecls.h: No such file or 
directory

~

regards

-- 
Ahmet Temiz


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the grass-user mailing list