[GRASS-user] i.pr --> g.extension and compiling error on ubuntu 11.10 64 bit

Gabriele N. gis.gn at libero.it
Mon Jan 30 17:16:57 EST 2012


Ciao.
I have installed GRASS (6.4.1) from the repository and I can not install
i.pr (add-on).
With g.extension (with the script downloaded from 
http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/scripts/g.extension/g.extension)
and also g.extension present in my installation of GRASS I have error):

(Mon Jan 30 22:57:31 2012)                                                      
g.extension -s extension=i.pr
svnurl=http://svn.osgeo.org/grass/grass-addons/grass6
/GRASS_ADDON_PATH is not defined, installing to ~/.grass6/addons/
Fetching <i.pr> from GRASS-Addons SVN (be patient)...
A    i.pr/i.pr_subsets
A    i.pr/i.pr_subsets/main.c
A    i.pr/i.pr_subsets/Makefile
A    i.pr/i.pr_subsets/old
...................................
.........................................
A    i.pr/i.pr_features_selection/Makefile
A    i.pr/Makefile
Estratta revisione 50573.
Compiling <i.pr>...
/usr/lib/grass64/include/Make/Grass.make:418: attenzione:
sovrascrittura dei comandi per l'obiettivo "/home/gab/stage_
master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/bin"
/usr/lib/grass64/include/Make/Grass.make:409: attenzione:
comandi obsoleti per l'obiettivo "/home/gab/stage_master/GRA
SSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/bin" ignorati
/usr/lib/grass64/include/Make/Grass.make:418: attenzione:
sovrascrittura dei comandi per l'obiettivo "/home/gab/stage_
master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/bin"
/usr/lib/grass64/include/Make/Grass.make:409: attenzione:
comandi obsoleti per l'obiettivo "/home/gab/stage_master/GRA
SSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/bin" ignorati
mkdir -p
/home/gab/stage_master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-laptop/30962.0c
entropy.c
gcc '-I/usr/lib/grass64/include' '-I/home/gab/.grass6/addons/include'
'-I/home/gab/stage_master
...................................
.............................................
/usr/lib/grass64/include/Make/Grass.make:418: attenzione:
sovrascrittura dei comandi per l'obiettivo "/home/gab/stage_
master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/bin"
/usr/lib/grass64/include/Make/Grass.make:409: attenzione:
comandi obsoleti per l'obiettivo "/home/gab/stage_master/GRA
SSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/bin" ignorati
/bin/sh: /usr/lib/grass64/tools/mkhtml.sh: not found
make htmlcmd
make[2]: ingresso nella directory
"/home/gab/stage_master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-laptop/30962.0/i.pr/i.pr_blob"
........................................
..............................................
/usr/lib/grass64/include/Make/Grass.make:418: attenzione:
sovrascrittura dei comandi per l'obiettivo "/home/gab/stage_
master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/bin"
/usr/lib/grass64/include/Make/Grass.make:409: attenzione:
comandi obsoleti per l'obiettivo "/home/gab/stage_master/GRA
SSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/bin" ignorati
/usr/lib/grass64/include/Make/Grass.make:418: attenzione:
sovrascrittura dei comandi per l'obiettivo "/home/gab/stage_
master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/bin"
/usr/lib/grass64/include/Make/Grass.make:409: attenzione:
comandi obsoleti per l'obiettivo "/home/gab/stage_master/GRA
SSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/bin" ignorati
sh: Can't open
/build/buildd/grass-6.4.1/tools/g.html2man/g.html2man
make[5]: *** [/home/gab/stage_master/GRASSDATA/utm_wgs84/dot
torato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/man/man1/i.pr.features.1] Errore
127
make[4]: *** [mancmd] Errore 2
make[3]: *** [cmd] Errore 2
/usr/lib/grass64/include/Make/Grass.make:418: attenzione:
sovrascrittura dei comandi per l'obiettivo "/home/gab/stage_
master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/bin"
/usr/lib/grass64/include/Make/Grass.make:409: attenzione:
comandi obsoleti per l'obiettivo "/home/gab/stage_master/GRA
SSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
laptop/30962.0/dist.x86_64/bin" ignorati
make[5]: ingresso nella directory
"/home/gab/stage_master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-laptop/30962.0/i.pr/i.pr_blob"
mkdir -p
/home/gab/stage_master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-laptop/30962.0/dist.x86_64/man/man1
GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.1 sh
/build/buildd/grass-6.4.1/tools/g.html2man/g.html2man
/home/gab/stage_master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-laptop/30962.0/dist.x86_64/docs/html/i.pr.blob.html
/home/gab/stage_master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-laptop/30962.0/dist.x86_64/man/man1/i.pr.blob.1
1
make[5]: uscita dalla directory
"/home/gab/stage_master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-laptop/30962.0/i.pr/i.pr_blob"
make[4]: uscita dalla directory
"/home/gab/stage_master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-laptop/30962.0/i.pr/i.pr_blob"
make[3]: uscita dalla directory
"/home/gab/stage_master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-laptop/30962.0/i.pr/i.pr_blob"
i.pr_classify
.............................
........................................
make[4]: uscita dalla directory
"/home/gab/stage_master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-laptop/30962.0/i.pr/i.pr_features"
make[3]: uscita dalla directory
"/home/gab/stage_master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-laptop/30962.0/i.pr/i.pr_features"
i.pr_features_additional
..........................................
.......................
make[3]: *** [cmd] Errore 2
/usr/lib/grass64/include/Make/Grass.make:418: attenzione:
sovrascrittura dei comandi per l'obiettivo "/home/gab/stage_
master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-
..................................................
............................................
make[1]: uscita dalla directory
"/home/gab/stage_master/GRASSDATA/utm_wgs84/dottorato_bari/.tmp/gab-laptop/30962.0/i.pr"
(Mon Jan 30 22:57:50 2012) Comando terminato (18 sec)                           
/

At this point I tried to compile GRASS 6.5 and then I wanted to install i.pr
but ...
#configure
sudo CFLAGS="-g -Wall" ./configure --prefix=/usr/local/src/grass6_devel
--with-cxx  --with-python --with-widgets --with-wxwidgets
--with-freetype=yes --with-ffmpeg=yes --with-postgres=yes --with-sqlite
--with-motif=no --with-glw=no --enable-largefile=yes
--with-freetype-includes=/usr/include/freetype2
--with-postgres-includes=/usr/include/postgresql
--with-opengl-libs=/usr/include/GL --with-proj-share=/usr/share/proj
--without-fftw --without-ffmpeg --with-readline=no
--with-tcltk-includes=/usr/include/tcl8.5/ --with-gdal --enable-64bit

...and 
checking whether to use Tcl/Tk... yes
checking for location of Tcl/Tk includes... /usr/include/tcl8.5/
configure: error: *** Tcl/Tk includes directory /usr/include/tcl8.5/ does
not exist.

tcl8.5 is in /usr/share/tcltk/tcl8.5/  I have also tried:  sudo ln -s
/usr/share/tcltk/tcl8.5/ /usr/include/

but..nothing 

Thanks for any help




--
View this message in context: http://osgeo-org.1560.n6.nabble.com/i-pr-g-extension-and-compiling-error-on-ubuntu-11-10-64-bit-tp4352067p4352067.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list