Re: [GRASS-user] problem installing GRASS
>"The program cant start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer.." which operating system are you using? during installation by the standalone installer, there is an option to install Microsoft Visual C/C++ Runtimes. activate this option, then Microsoft Visual C/C++ Runtimes are downloaded and installed. please report back, if it's working then. - best regards Helmut -- Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Problem installing GRASS extension r.inund.fluv
Tom, On Fri, Apr 18, 2014 at 7:23 PM, Thomas Adams tea...@gmail.com wrote: I have tried a couple of times to use g.extension and below is what I get. I'm using GRASS 6.4.3 on the Ubuntu 13.04. I also have GRASS 7.0 installed, but r.inund.fluv is not available for it. Any thoughts? Thank you, Tom g.extension.py extension=r.inund.fluv svnurl=http://svn.osgeo.org/grass/grass-addons/grass6 Fetching r.inund.fluv from GRASS-Addons SVN (be patient)... Compiling... [...] Makefile:31: warning: overriding commands for target `clean' /usr/local/grass-6.4.3/include/Make/Rules.make:89: warning: ignoring old commands for target `clean' /usr/bin/install: cannot stat ‘/home/teaiii/grass/data/potomac_utm/teaiii/.tmp/teaiii- Wild-Dog- Performance/23864.0/r.inund.fluv/bin/r.inund.fluv’: No such file or directory make: *** [install] Error 1 WARNING: Installation failed, sorry. Please check above error messages. Since GRASS 6.4.3 a few things have been fixed: http://trac.osgeo.org/grass/log/grass/branches/releasebranch_6_4/gui/scripts So testing the current 6.4.svn would be great in order to know if it is now working. Markus PS: glad you successfully compiled and installed it manually according to your other email ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] problem installing Grass 7 in RHEL6
On Fri, Sep 14, 2012 at 3:20 PM, Markus Neteler nete...@osgeo.org wrote: On Fri, Sep 14, 2012 at 2:47 PM, Mauricio Zambrano-Bigiarini hzambran.newsgro...@gmail.com wrote: ... Errors in: /dataMZB/src/grass_trunk/scripts/v.krige ... So, I run 'make' on the directory: /dataMZB/src/grass_trunk/scripts/v.krige There appears to big in the Makefile of v.krige. (bug of course) I get the same problem: success only at the second run of make. In GRASS 7, I have now commented the broken v.krige, unless ticket #1619 is fixed. Markus ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] problem installing Grass 7 in RHEL6
On Fri, Sep 14, 2012 at 9:17 AM, Mauricio Zambrano-Bigiarini hzambran.newsgro...@gmail.com wrote: Dear List, I already managed to compile and install Grass 7 in Ubuntu 12.04, but now I want to try it at work. I'm trying to install Grass 7 on Red Hat Enterprise Linux 6, but I got stuck during 'make', and I would like to ask your advice for solving the issue. According to the error log, most of GRASS was compiled successfully and can be used without problems. The t.* commands require an additional package python-dateutil which you can install on RHEL 6 with yum install python-dateutil After that package has been installed, the t.* modules should compile successfully. HTH, Markus M My machine: $ uname -r 2.6.32-279.5.2.el6.x86_64 Following the instructions given on 'http://grass.osgeo.org/wiki/Compile_and_Install', I tried: 1) Installing all dependencies: sudo yum install flex bison zlib-devel tcl-devel tk-devel gcc-c++ swig gettext \ libtiff-devel libpng-devel sqlite-devel \ mesa-libGL-devel mesa-libGLU-devel mesa-libGLw-devel \ mesa-libOSMesa-devel libXmu-devel python-devel gtk2-devel\ ncurses-devel postgresql-devel 2) configure: CFLAGS=-g -Wall ./configure \ --with-cxx \ --with-sqlite \ --with-postgres \ --with-freetype \ --with-freetype-includes=/usr/include/freetype2 \ --with-motif \ --with-proj-share=/usr/share/proj which gave as output: GRASS is now configured for: x86_64-unknown-linux-gnu Source directory:/dataMZB/src/grass_trunk Build directory: /dataMZB/src/grass_trunk Installation directory: ${prefix}/grass-7.0.svn Startup script in directory: ${exec_prefix}/bin C compiler: gcc -g -O2 C++ compiler:c++ -g -O2 Building shared libraries: yes OpenGL platform: X11 MacOSX application: no MacOSX architectures: MacOSX SDK: Tcl/Tk NVIZ:yes BLAS support: no C++ support:yes Cairo support: yes DWG support:no FFMPEG support: no FFTW support: no FreeType support: yes GDAL support: yes NETCDF support: no GEOS support: no LAPACK support: no Large File support (LFS): yes libLAS support: no MySQL support: no NLS support:yes ODBC support: no OGR support:yes OpenGL support: yes OpenMP support: no PNG support:yes POSIX thread support: yes PostgreSQL support: yes Readline support: no Regex support: yes SQLite support: yes TIFF support: yes Tcl/Tk support: yes wxWidgets support: yes X11 support:yes 3) $ make and the the errors I got at the end of 'make' were: /usr/bin/install -c -m 644 REQUIREMENTS.html /dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/REQUIREMENTS.html /usr/bin/install -c -m 644 GPL.TXT /dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/GPL.TXT /usr/bin/install -c -m 644 contributors.csv /dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/contributors.csv /usr/bin/install -c -m 644 contributors_extra.csv /dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/contributors_extra.csv /usr/bin/install -c -m 644 translators.csv /dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/translators.csv make[1]: Leaving directory `/dataMZB/src/grass_trunk' make manifests make[1]: Entering directory `/dataMZB/src/grass_trunk' make[1]: Nothing to be done for `manifests'. make[1]: Leaving directory `/dataMZB/src/grass_trunk' GRASS GIS compilation log - Started compilation: Thu Sep 13 17:03:08 CEST 2012 -- Errors in: /dataMZB/src/grass_trunk/scripts/v.krige /dataMZB/src/grass_trunk/temporal/t.create /dataMZB/src/grass_trunk/temporal/t.support /dataMZB/src/grass_trunk/temporal/t.topology /dataMZB/src/grass_trunk/temporal/t.list /dataMZB/src/grass_trunk/temporal/t.info /dataMZB/src/grass_trunk/temporal/t.remove /dataMZB/src/grass_trunk/temporal/t.sample /dataMZB/src/grass_trunk/temporal/t.register /dataMZB/src/grass_trunk/temporal/t.unregister /dataMZB/src/grass_trunk/temporal/t.rast.aggregate /dataMZB/src/grass_trunk/temporal/t.rast.aggregate.ds /dataMZB/src/grass_trunk/temporal/t.rast.to.rast3 /dataMZB/src/grass_trunk/temporal/t.rast.univar /dataMZB/src/grass_trunk/temporal/t.rast.list /dataMZB/src/grass_trunk/temporal/t.rast.mapcalc /dataMZB/src/grass_trunk/temporal/t.rast.series /dataMZB/src/grass_trunk/temporal/t.rast.export /dataMZB/src/grass_trunk/temporal/t.rast.out.vtk
Re: [GRASS-user] problem installing Grass 7 in RHEL6
Thank you very much Soeren and Markus for your help. Now I have Grass 7 running on RHEL6 :) Just in case this be useful for somebody else. The final part of the procedure I used for getting the installation done was: 4) Following 'http://grass.osgeo.org/wiki/Compile_and_Install#CentOS', in the file: grass_trunk/include/Make/Platform.make I manually add the path to the python include: PYTHONINC = -I/usr/include/python2.6 # not python2.4 !! 5) After installing 'python-dateutil' package (I think it would be useful for other users to add it into the dependencies listed in ''http://grass.osgeo.org/wiki/Compile_and_Install'' ), I only got one error: Errors in: /dataMZB/src/grass_trunk/scripts/v.krige -- In case of errors please change into the directory with error and run 'make'. If you get multiple errors, you need to deal with them in the order they appear in the error log. If you get an error building a library, you will also get errors from anything which uses the library. -- Finished compilation: Fri Sep 14 13:47:54 CEST 2012 make: *** [default] Error 1 So, I run 'make' on the directory: /dataMZB/src/grass_trunk/scripts/v.krige 6) Then, I change to the original trunk directory and run 'make' again, and I didn't get any error. The last lines of the output were: GRASS GIS compilation log - Started compilation: Fri Sep 14 14:33:51 CEST 2012 -- Errors in: No errors detected. 7) Finally, I run: $ sudo make install and Grass 7 is finally running. All the best, Mauricio -- Water Resources Unit Institute for Environment and Sustainability Joint Research Centre, European Commission webinfo: http://floods.jrc.ec.europa.eu/ DISCLAIMER: The views expressed are purely those of the writer and may not in any circumstances be regarded as stating an official position of the European Commission = Linux user #454569 -- Ubuntu user #17469 = If you can dream it, you can do it . (Walt Disney) = http://c2.com/cgi/wiki?HowToAskQuestionsTheSmartWay 2012/9/14 Markus Metz markus.metz.gisw...@gmail.com: On Fri, Sep 14, 2012 at 9:17 AM, Mauricio Zambrano-Bigiarini hzambran.newsgro...@gmail.com wrote: Dear List, I already managed to compile and install Grass 7 in Ubuntu 12.04, but now I want to try it at work. I'm trying to install Grass 7 on Red Hat Enterprise Linux 6, but I got stuck during 'make', and I would like to ask your advice for solving the issue. According to the error log, most of GRASS was compiled successfully and can be used without problems. The t.* commands require an additional package python-dateutil which you can install on RHEL 6 with yum install python-dateutil After that package has been installed, the t.* modules should compile successfully. HTH, Markus M My machine: $ uname -r 2.6.32-279.5.2.el6.x86_64 Following the instructions given on 'http://grass.osgeo.org/wiki/Compile_and_Install', I tried: 1) Installing all dependencies: sudo yum install flex bison zlib-devel tcl-devel tk-devel gcc-c++ swig gettext \ libtiff-devel libpng-devel sqlite-devel \ mesa-libGL-devel mesa-libGLU-devel mesa-libGLw-devel \ mesa-libOSMesa-devel libXmu-devel python-devel gtk2-devel\ ncurses-devel postgresql-devel 2) configure: CFLAGS=-g -Wall ./configure \ --with-cxx \ --with-sqlite \ --with-postgres \ --with-freetype \ --with-freetype-includes=/usr/include/freetype2 \ --with-motif \ --with-proj-share=/usr/share/proj which gave as output: GRASS is now configured for: x86_64-unknown-linux-gnu Source directory:/dataMZB/src/grass_trunk Build directory: /dataMZB/src/grass_trunk Installation directory: ${prefix}/grass-7.0.svn Startup script in directory: ${exec_prefix}/bin C compiler: gcc -g -O2 C++ compiler:c++ -g -O2 Building shared libraries: yes OpenGL platform: X11 MacOSX application: no MacOSX architectures: MacOSX SDK: Tcl/Tk NVIZ:yes BLAS support: no C++ support:yes Cairo support: yes DWG support:no FFMPEG support: no FFTW support: no FreeType support: yes GDAL support: yes NETCDF support: no GEOS support: no LAPACK support: no Large File support (LFS): yes libLAS support: no MySQL support: no NLS support:yes ODBC support: no OGR support:yes OpenGL support: yes OpenMP
Re: [GRASS-user] problem installing Grass 7 in RHEL6
On Fri, Sep 14, 2012 at 2:47 PM, Mauricio Zambrano-Bigiarini hzambran.newsgro...@gmail.com wrote: ... Errors in: /dataMZB/src/grass_trunk/scripts/v.krige ... So, I run 'make' on the directory: /dataMZB/src/grass_trunk/scripts/v.krige There appears to big in the Makefile of v.krige. I get the same problem: success only at the second run of make. Markus ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] problem installing Grass 7 in RHEL6
Hi, On Fri, Sep 14, 2012 at 3:26 PM, Mauricio Zambrano-Bigiarini hzambran.newsgro...@gmail.com wrote: 2012/9/14 Markus Neteler nete...@osgeo.org: On Fri, Sep 14, 2012 at 2:47 PM, Mauricio Zambrano-Bigiarini hzambran.newsgro...@gmail.com wrote: ... Errors in: /dataMZB/src/grass_trunk/scripts/v.krige ... So, I run 'make' on the directory: /dataMZB/src/grass_trunk/scripts/v.krige There appears to big in the Makefile of v.krige. I get the same problem: success only at the second run of make. That is strange for me, because in Ubuntu 12.04 (I'm almost sure that) I only run make once I confirm i don't need to run 'make' in this folder either, I'm on Red Hat. cheers, madi -- Margherita DI LEO Postdoctoral Researcher European Commission - DG JRC Forest Resources and Climate I-21020 Ispra (VA) - Italy - TP 261 Tel. +39 0332 78 3600 margherita.di-...@jrc.ec.europa.eu ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] problem installing Grass 7 in RHEL6
Hi Margherita, 2012/9/14 Margherita Di Leo direg...@gmail.com: Hi, On Fri, Sep 14, 2012 at 3:26 PM, Mauricio Zambrano-Bigiarini hzambran.newsgro...@gmail.com wrote: 2012/9/14 Markus Neteler nete...@osgeo.org: On Fri, Sep 14, 2012 at 2:47 PM, Mauricio Zambrano-Bigiarini hzambran.newsgro...@gmail.com wrote: ... Errors in: /dataMZB/src/grass_trunk/scripts/v.krige ... So, I run 'make' on the directory: /dataMZB/src/grass_trunk/scripts/v.krige There appears to big in the Makefile of v.krige. I get the same problem: success only at the second run of make. That is strange for me, because in Ubuntu 12.04 (I'm almost sure that) I only run make once I confirm i don't need to run 'make' in this folder either, I'm on Red Hat. 32 or 64 bits ? Mauricio ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] problem installing Grass 7 in RHEL6
On Fri, Sep 14, 2012 at 4:27 PM, Mauricio Zambrano-Bigiarini hzambran.newsgro...@gmail.com wrote: Hi Margherita, 2012/9/14 Margherita Di Leo direg...@gmail.com: Hi, On Fri, Sep 14, 2012 at 3:26 PM, Mauricio Zambrano-Bigiarini hzambran.newsgro...@gmail.com wrote: 2012/9/14 Markus Neteler nete...@osgeo.org: On Fri, Sep 14, 2012 at 2:47 PM, Mauricio Zambrano-Bigiarini hzambran.newsgro...@gmail.com wrote: ... Errors in: /dataMZB/src/grass_trunk/scripts/v.krige ... So, I run 'make' on the directory: /dataMZB/src/grass_trunk/scripts/v.krige There appears to big in the Makefile of v.krige. I get the same problem: success only at the second run of make. That is strange for me, because in Ubuntu 12.04 (I'm almost sure that) I only run make once I confirm i don't need to run 'make' in this folder either, I'm on Red Hat. 32 or 64 bits ? 64 Mauricio -- Margherita DI LEO Postdoctoral Researcher European Commission - DG JRC Forest Resources and Climate I-21020 Ispra (VA) - Italy - TP 261 Tel. +39 0332 78 3600 margherita.di-...@jrc.ec.europa.eu ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Problem installing GRASS Addons
2012/6/6 David Montoya jdmon...@gmail.com: I tried to use g.extension, but without success. The only solution that works for me was through this process well, and could you post the exact error message? It's hard to guess otherwise. Martin -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Problem installing GRASS Addons
Hi Regie These are the instructions that I use to compile Grass 6.4.3svn on Ubuntu 12.04: 1. Install the repository from UbuntuGIS (I noticed that you have done it) 2. Install the following libraries (There are some libraries that I installed in order to compile Qgis, but I don't remember which are for Grass and which for Qgis, they are mixed, so install them anyway) sudo aptitude install freeglut3 lesstif2 libblas3gf libdap11 libdapclient3 libepsilon0 libfftw3-3 libfreexl1 libgdal1-1.7.0 libgeos-3.2.2 libgeos-c1 libgfortran3 libgif4 libhdf4-0-alt libhdf5-serial-1.8.4 liblapack3gf libmysqlclient18 libnetcdf6 libodbc1 libogdi3.2 libpq5 libproj0 libspatialite3 libwxbase2.8-0 libwxgtk2.8-0 libxerces-c28 libxss1 mysql-common odbcinst odbcinst1debian2 proj-bin proj-data python-numpy python-opengl python-support python-wxgtk2.8 python-wxversion tcl8.5 tk8.5 autotools-dev comerr-dev krb5-multidev libcurl4-gnutls-dev libdap-dev libdapserver7 libgcrypt11-dev libgdal1-dev libgeos-dev libgif-dev libgnutls-dev libgnutls-openssl27 libgnutlsxx27 libgpg-error-dev libgssrpc4 libhdf4-alt-dev libhdf5-serial-dev libidn11-dev libjasper-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-dev libldap2-dev libltdl-dev libmysqlclient-dev libnetcdf-dev libp11-kit-dev libpng12-dev libpq-dev libproj-dev librtmp-dev libspatialite-dev libsqlite3-dev libssl-dev libssl-doc libtasn1-3-dev libtool libxerces-c2-dev libxml2-dev unixodbc unixodbc-dev uuid-dev zlib1g-dev gdal-bin libgsl0ldbl libqt4-designer libqt4-help libqt4-scripttools libqt4-test libqtassistantclient4 libqtwebkit4 libqwt5-qt4 python-central python-gdal python-qt4 python-sip posstgres postgis subversion sqlite sqlitebrowser flex byacc libncurses5-dev libreadline6-dev libtiff4-dev ffmpeg libavcodec-dev libavcodec-extra-52 libavformat-dev libavformat-extra-53 libswscale-dev libswscale-extra-2 mesa-common-dev libglw1-mesa-dev tcl8.5-dev tk8.5-dev fftw-dev libblas-dev liblapack-dev lesstif2-dev libcairo2-dev libstdc++6-4.6-dev gettext build-essential libglu1-mesa-dev liblablgl-ocaml libqwt5-qt4-dev cmake bison pyuic4-dev-tools python-qt4-gl python-psycopg2 python-wxtools python3.2-dev python-rpy2 txt2tags doxygen graphviz libfcgi-dev libgsl0-dev 3. Download Grass 6.4.3svn cd ~/Downloads svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4grass64_release cd grass64_release 4. Configure and compile: CFLAGS=-g -Wall ./configure \ --with-tcltk-includes=/usr/include/tcl8.5 \ --with-tcltk-libs=/usr/lib/tcl8.5 \ --with-blas=yes \ --with-cairo=yes \ --with-cairo-includes=/usr/include \ --with-sqlite=yes \ --with-mysql=yes \ --with-mysql-includes=/usr/include/mysql \ --with-mysql-libs=/usr/lib/x86_64-linux-gnu \ --with-freetype=yes \ --with-freetype-includes=/usr/include/freetype2 \ --with-freetype-libs=/usr/lib \ --with-python=yes \ --with-postgres=yes \ --with-postgres-includes=/usr/include/postgresql /usr/include/postgresql/internal \ --with-motif=yes \ --with-lapack=yes \ --with-odbc=yes \ --with-nls=yes \ --with-geos=yes \ --with-readline=yes \ --enable-64bit \ --with-cxx (You shouldn't get any error, but if it appears, don't follow to the next step and let us know the problem) make (You shouldn't get any error, but if it appears, don't follow to the next step and let us know the problem) sudo make install cd .. 5. You have compile Grass successfully. If you wish, you can delete the sources: rm -fr ~/Download/grass64_release 6. Now, you can install your addon. cd ~/Grass/grass-addons/imagery/i.landsat.toar make MODULE_TOPDIR=/usr/local/grass-6.4.3svn/ sudo make MODULE_TOPDIR=/usr/local/grass-6.4.3svn install PD: If you wanna link Grass and Qgis, you need to compile Qgis, too. Take into account that if you install Grass7, it is a version under development with some bugs. On Fri, Jun 1, 2012 at 11:50 PM, Regie Alam regie.a...@yahoo.com wrote: Hi David, Thanks for your offer. I'll try to have a go at it with guidance from your notes. I may also try compiling GRASS 7 (with guidance from your notes once again) from source as suggested by Matthew (posted in another email within the user group). Thanks, Regie -- *From:* David Montoya jdmon...@gmail.com *To:* Regie Alam regie.a...@yahoo.com *Cc:* grass-user@lists.osgeo.org *Sent:* Friday, June 1, 2012 9:11:00 PM *Subject:* Re: [GRASS-user] Problem installing GRASS Addons Hi, I had the same problem and the only way that I could find in order to install Grass Addons on Ubuntu, was compiling Grass from source. If you need some help with that, let me know, I have the instructions to compile Grass on Ubuntu 12.04 On Fri, Jun 1, 2012 at 4:07 PM, Regie Alam regie.a...@yahoo.com wrote: Hello, I have been trying to install the GRASS AddOns (in particlar I'd like to install i.landsat.toar) but no luck so far. I've done lots of searches on the web but no solution has worked for me. I've
Re: [GRASS-user] Problem installing GRASS Addons
Hi, 2012/6/5 David Montoya jdmon...@gmail.com: [...] 6. Now, you can install your addon. cd ~/Grass/grass-addons/imagery/i.landsat.toar make MODULE_TOPDIR=/usr/local/grass-6.4.3svn/ sudo make MODULE_TOPDIR=/usr/local/grass-6.4.3svn install why don't you simply use g.extension [1] or wxGUI extension manager [2]? Martin [1] http://grass.osgeo.org/grass64/manuals/html64_user/g.extension.html [2] http://grass.osgeo.org/wiki/WxGUI#Extension_Manager -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Problem installing GRASS Addons
I tried to use g.extension, but without success. The only solution that works for me was through this process On Tue, Jun 5, 2012 at 3:40 PM, Martin Landa landa.mar...@gmail.com wrote: Hi, 2012/6/5 David Montoya jdmon...@gmail.com: [...] 6. Now, you can install your addon. cd ~/Grass/grass-addons/imagery/i.landsat.toar make MODULE_TOPDIR=/usr/local/grass-6.4.3svn/ sudo make MODULE_TOPDIR=/usr/local/grass-6.4.3svn install why don't you simply use g.extension [1] or wxGUI extension manager [2]? Martin [1] http://grass.osgeo.org/grass64/manuals/html64_user/g.extension.html [2] http://grass.osgeo.org/wiki/WxGUI#Extension_Manager -- Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa -- David Montoya González Ing. Forestal, Universidad Nacional de Colombia Laboratorio de Sistemas Complejos, UNAL Medellin ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Problem installing GRASS Addons
Hi, I had the same problem and the only way that I could find in order to install Grass Addons on Ubuntu, was compiling Grass from source. If you need some help with that, let me know, I have the instructions to compile Grass on Ubuntu 12.04 On Fri, Jun 1, 2012 at 4:07 PM, Regie Alam regie.a...@yahoo.com wrote: Hello, I have been trying to install the GRASS AddOns (in particlar I'd like to install i.landsat.toar) but no luck so far. I've done lots of searches on the web but no solution has worked for me. I've installed GRASS 6.4.2 (from the UbuntuGIS unstable repository) on Ubuntu 12.04. I tried installing the AddOns using the GUI. Thanks, Regie ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user -- David Montoya González Ing. Forestal, Universidad Nacional de Colombia Laboratorio de Sistemas Complejos, UNAL Medellin ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Problem installing GRASS Addons
Regie wrote: I have been trying to install the GRASS AddOns (in particlar I'd like to install i.landsat.toar) but no luck so far. I've done lots of searches on the web but no solution has worked for me. I've installed GRASS 6.4.2 (from the UbuntuGIS unstable repository) on Ubuntu 12.04. I tried installing the AddOns using the GUI. David: Hi, I had the same problem and the only way that I could find in order to install Grass Addons on Ubuntu, was compiling Grass from source. Hi, I am probably the one to fix that. Could you give me some more details please: * this is the version with grass-core and grass-gui packages, yes? * is the grass-dev package installed? it is needed. * what is the exact error message you get? (full cut and paste is best) * Are you using g.extension from the command line, or from the wxGUI? (they are different) * if you look in the /usr/lib/grass64/include/Make/Platfrom.make file, do GRASS_HOME and RUN_GISBASE point to /usr/lib/grass64 or somewhere else? If the grass-dev package _is_ installed, please file a bug in the trac system for this with as much info as possible: https://trac.osgeo.org/grass/newticket (newer versions of the 6.4.2 package will give you a warning when you try to use g.extension.sh from the command line without the grass-dev package installed; I still need to add the deb patch for g.ext.py ver) thanks, Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Problem installing GRASS 6.4.1 on Ubuntu 11.x
thomas.ad...@noaa.gov wrote: I keep having problems with fftw, which really surprises me. I get: If I go into: /home/teaiii/rgrass_dir/grass-6.4.1/lib/gmath and make, I get: gcc -shared -o /home/teaiii/rgrass_dir/grass-6.4.1/dist.x86_64-unknown-linux-gnu/lib/libgrass_gmath.6.4.1.so -L/home/teaiii/rgrass_dir/grass-6.4.1/dist.x86_64-unknown-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/home/teaiii/rgrass_dir/grass-6.4.1/dist.x86_64-unknown-linux-gnu/lib -L/usr/local/pgsql/lib OBJ.x86_64-unknown-linux-gnu/brent.o OBJ.x86_64-unknown-linux-gnu/dalloc.o OBJ.x86_64-unknown-linux-gnu/del2g.o OBJ.x86_64-unknown-linux-gnu/eigen.o OBJ.x86_64-unknown-linux-gnu/eigen_tools.o OBJ.x86_64-unknown-linux-gnu/fft.o OBJ.x86_64-unknown-linux-gnu/findzc.o OBJ.x86_64-unknown-linux-gnu/gauss.o OBJ.x86_64-unknown-linux-gnu/getg.o OBJ.x86_64-unknown-linux-gnu/ialloc.o OBJ.x86_64-unknown-linux-gnu/jacobi.o OBJ.x86_64-unknown-linux-gnu/la.o OBJ.x86_64-unknown-linux-gnu/lu.o OBJ.x86_64-unknown-linux-gnu/max_pow2.o OBJ.x86_64-unknown-linux-gnu/mult.o OBJ.x86_64-unknown-linux-gnu/rand1.o OBJ.x86_64-unknown-linux-gnu/svd.o -lgrass_gis -lgrass_datetime -lz -lfftw ! -l m -lm\ (cd /home/teaiii/rgrass_dir/grass-6.4.1/dist.x86_64-unknown-linux-gnu/lib; ln -f -s libgrass_gmath.6.4.1.so /home/teaiii/rgrass_dir/grass-6.4.1/dist.x86_64-unknown-linux-gnu/lib/libgrass_gmath.so) /usr/bin/ld: /usr/local/lib/libfftw.a(fftwnd.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libfftw.a: could not read symbols: Bad value Are there no pre-built FFTW packages? FWIW: http://packages.ubuntu.com/search?keywords=fftw-dev As you've already noticed, the problem is due to the lack of PIC (position-independent code) within the static FFTW library, which means that shared libraries cannot be linked against it. Enabling PIC for FFTW will fix that, but building FFTW as a shared library is better, and using the OS's offical FFTW packages (if they exist) is better still. -- Glynn Clements gl...@gclements.plus.com ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Problem installing GRASS 6.4.1 on Ubuntu 11.x
Glynn, Thanks for the explanation; previously, when compiling from source, things just compiled very cleanly for me as I blithely went about the installs. (I had no idea what 'PIC' meant and -thought- shared libraries were were being built for FFTW using it). At some point I want to try developing some GRASS modules, so understanding some of these compilation intricacies is obviously important. It's a learning process and I appreciate your patience… Tom On 6/22/11 7:46 AM, Glynn Clements wrote: thomas.ad...@noaa.gov wrote: I keep having problems with fftw, which really surprises me. I get: If I go into: /home/teaiii/rgrass_dir/grass-6.4.1/lib/gmath and make, I get: gcc -shared -o /home/teaiii/rgrass_dir/grass-6.4.1/dist.x86_64-unknown-linux-gnu/lib/libgrass_gmath.6.4.1.so -L/home/teaiii/rgrass_dir/grass-6.4.1/dist.x86_64-unknown-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/home/teaiii/rgrass_dir/grass-6.4.1/dist.x86_64-unknown-linux-gnu/lib -L/usr/local/pgsql/lib OBJ.x86_64-unknown-linux-gnu/brent.o OBJ.x86_64-unknown-linux-gnu/dalloc.o OBJ.x86_64-unknown-linux-gnu/del2g.o OBJ.x86_64-unknown-linux-gnu/eigen.o OBJ.x86_64-unknown-linux-gnu/eigen_tools.o OBJ.x86_64-unknown-linux-gnu/fft.o OBJ.x86_64-unknown-linux-gnu/findzc.o OBJ.x86_64-unknown-linux-gnu/gauss.o OBJ.x86_64-unknown-linux-gnu/getg.o OBJ.x86_64-unknown-linux-gnu/ialloc.o OBJ.x86_64-unknown-linux-gnu/jacobi.o OBJ.x86_64-unknown-linux-gnu/la.o OBJ.x86_64-unknown-linux-gnu/lu.o OBJ.x86_64-unknown-linux-gnu/max_pow2.o OBJ.x86_64-unknown-linux-gnu/mult.o OBJ.x86_64-unknown-linux-gnu/rand1.o OBJ.x86_64-unknown-linux-gnu/svd.o -lgrass_gis -lgrass_datetime -lz -lfftw ! -l m -lm \ (cd /home/teaiii/rgrass_dir/grass-6.4.1/dist.x86_64-unknown-linux-gnu/lib; ln -f -s libgrass_gmath.6.4.1.so /home/teaiii/rgrass_dir/grass-6.4.1/dist.x86_64-unknown-linux-gnu/lib/libgrass_gmath.so) /usr/bin/ld: /usr/local/lib/libfftw.a(fftwnd.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libfftw.a: could not read symbols: Bad value Are there no pre-built FFTW packages? FWIW: http://packages.ubuntu.com/search?keywords=fftw-dev As you've already noticed, the problem is due to the lack of PIC (position-independent code) within the static FFTW library, which means that shared libraries cannot be linked against it. Enabling PIC for FFTW will fix that, but building FFTW as a shared library is better, and using the OS's offical FFTW packages (if they exist) is better still. -- Thomas E Adams National Weather Service Ohio River Forecast Center 1901 South State Route 134 Wilmington, OH 45177 EMAIL: thomas.ad...@noaa.gov VOICE: 937-383-0528 FAX:937-383-0033 ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Problem installing GRASS 6.4.1 on Ubuntu 11.x
Enabling PIC for FFTW will fix that, but building FFTW as a shared library is better, and using the OS's offical FFTW packages (if they exist) is better still. fwiw I've installed ubuntu 11.04 on an old laptop now, and will try building grass on it in the next week or so. I expect you might find a pre-built copy of 6.4.1 for ubu/natty in the UbuntuGIS PPA unstable repository. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user