I have run sudo add-apt-repository for ppa:grassgis/grassgis-testing on my Linux mint 14 (NADIA), but I can’t figure out how to run the program. Can someone instruct me through the process?
Thanks a lot in advanced.
Dor
I have run sudo add-apt-repository for ppa:grassgis/grassgis-testing on my Linux mint 14 (NADIA), but I can’t figure out how to run the program. Can someone instruct me through the process?
Thanks a lot in advanced.
Dor
On Mon, Mar 25, 2013 at 11:11 AM, דור פרידמן <dof1985@gmail.com> wrote:
I have run sudo add-apt-repository for ppa:grassgis/grassgis-testing on my
Linux mint 14 (NADIA), but I can't figure out how to run the program. Can
someone instruct me through the process?
Dor,
you may take a look at
http://grass.osgeo.org/documentation/first-time-users/
Let me suggest to get some sample data to play with:
http://grass.osgeo.org/download/sample-data/
-> complete NC location: GRASS 6 full data
Most manual pages and many tutorials are based on this North
Carolina data set.
In the startup screen (http://grass.osgeo.org/grass64/manuals/helptext.html)
you will select this sample dataset which enables to start right away.
Markus
Thanks MIcha and Markus,
I am actually not new to grass and I’ve started working with Linux to run the v.net and v.net.distance network analysis functions. Unfortunately it didn’t run on WIN OS properly. After many long discussion within this mailing list I have came to another problem and was advised to use grass 7 development version. However due to my lack of experience with Linux and due to the fact that the Grass 7 has not yet come within an installation package, I couldn’t make it work.
I also try to run grass70 and/or grass70. in the command console, but it didn’t help.
I hope that my problem is clearer now,
Thanks,
Dor
p.s - happy holiday to Micha.
2013/3/25 Markus Neteler <neteler@osgeo.org>
On Mon, Mar 25, 2013 at 11:11 AM, דור פרידמן <dof1985@gmail.com> wrote:
I have run sudo add-apt-repository for ppa:grassgis/grassgis-testing on my
Linux mint 14 (NADIA), but I can’t figure out how to run the program. Can
someone instruct me through the process?Dor,
you may take a look at
http://grass.osgeo.org/documentation/first-time-users/Let me suggest to get some sample data to play with:
http://grass.osgeo.org/download/sample-data/
→ complete NC location: GRASS 6 full dataMost manual pages and many tutorials are based on this North
Carolina data set.In the startup screen (http://grass.osgeo.org/grass64/manuals/helptext.html)
you will select this sample dataset which enables to start right away.Markus
On Mon, Mar 25, 2013 at 3:01 PM, דור פרידמן <dof1985@gmail.com> wrote:
...
However due to my lack of experience with Linux and due
to the fact that the Grass 7 has not yet come within an installation
package, I couldn't make it work.
I recently updated the download pages:
http://grass.osgeo.org/download/software/linux/
http://grass.osgeo.org/download/software/ms-windows/
http://grass.osgeo.org/download/software/mac-osx/
with links to the GRASS 7 snapshot installers. Perhaps that helps?
I also try to run grass70 and/or grass70. in the command console, but it
didn't help.
What didn't work exactly? Then we may fix it.
Markus
Also, what do these commands show: which grass which grass70 ??
On 03/25/2013 04:16 PM, Markus Neteler wrote:
On Mon, Mar 25, 2013 at 3:01 PM, ãåø ôøéãîï [<dof1985@gmail.com>](mailto:dof1985@gmail.com) wrote: ...
However due to my lack of experience with Linux and due to the fact that the Grass 7 has not yet come within an installation package, I couldn't make it work.
I recently updated the download pages: [http://grass.osgeo.org/download/software/linux/](http://grass.osgeo.org/download/software/linux/) [http://grass.osgeo.org/download/software/ms-windows/](http://grass.osgeo.org/download/software/ms-windows/) [http://grass.osgeo.org/download/software/mac-osx/](http://grass.osgeo.org/download/software/mac-osx/) with links to the GRASS 7 snapshot installers. Perhaps that helps?
I also try to run grass70 and/or grass70. in the command console, but it didn't help.
What didn't work exactly? Then we may fix it. Markus _______________________________________________ grass-user mailing list [grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org) [http://lists.osgeo.org/mailman/listinfo/grass-user](http://lists.osgeo.org/mailman/listinfo/grass-user) This mail was received via Mail-SeCure System.
--
Micha Silver
GIS Consultant, Arava Development Co.
[http://www.surfaces.co.il](http://www.surfaces.co.il)
Adding the repository for testing just provides the package manager
with the locations of the packages--you still have to install grass.
After you add the repository, from the terminal run:
sudo apt-get update
sudo apt-get install grass70
The first command refreshes the repositories, and the second one will
download grass7 and its dependencies. To run grass7, enter grass7 into
the terminal.
Eric
On Mon, Mar 25, 2013 at 10:09 AM, Micha Silver <micha@arava.co.il> wrote:
On 03/25/2013 04:16 PM, Markus Neteler wrote:
On Mon, Mar 25, 2013 at 3:01 PM, דור פרידמן <dof1985@gmail.com> wrote:
...However due to my lack of experience with Linux and due
to the fact that the Grass 7 has not yet come within an installation
package, I couldn't make it work.I recently updated the download pages:
http://grass.osgeo.org/download/software/linux/
http://grass.osgeo.org/download/software/ms-windows/
http://grass.osgeo.org/download/software/mac-osx/with links to the GRASS 7 snapshot installers. Perhaps that helps?
I also try to run grass70 and/or grass70. in the command console, but it
didn't help.Also, what do these commands show:
which grass
which grass70
??What didn't work exactly? Then we may fix it.
Markus
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-userThis mail was received via Mail-SeCure System.
--
Micha Silver
GIS Consultant, Arava Development Co.
http://www.surfaces.co.il_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Sorry, Linux Mint 14 is based on ubuntu 12.10 (Quantal Quetzal).
Looking at the package lists at
https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing, it
appears that they don't have packages built for that version of
ubuntu, which is why you are getting the not found errors. It looks
like you'll have to compile grass7 manually for Linux Mint 14.
Since that ppa is unsupported on your version, you should install
ppa-purge and remove it:
sudo apt-get install ppa-purge
sudo ppa-purge ubuntugis-testing
You can compile grass by adding the ppa:ubuntugis/ubuntugis-unstable
repository (which will work for Linux Mint 14) to install dependencies
and then compile grass7. I compile several other packages as well so
the following list of dependencies may be overkill for just grass but
it should get the job done:
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
sudo apt-get install build-essential gdal libgeos-dev libspatialite3
libspatialite-dev libcurl4-nss-dev byacc ncurses-dev bison gsl-bin
libgsl0-dev libexpat1-dev libexpat1 libproj0 libproj-dev libgeotiff2
libgeotiff-dev libwxgtk2.8-dev swig python-psycopg2 python-numpy
python-sip python-sip-dev python-wxgtk2.8 curl unixodbc unixodbc-dev
libkml0 libkml-dev proj-bin flex libpng12-0 libpng12-dev
mesa-common-dev freeglut3-dev tcl-dev tk8.5-dev libfftw3-3
libfftw3-dev libxmu-dev libqwt-dev libspatialindex-dev libopenjpeg-dev
git subversion libcairo2-dev libpoppler-dev libboost1.50-all-dev
#Download the grass7 source to /home/<username>/source:
mkdir ~/source
cd ~/source
svn checkout https://svn.osgeo.org/grass/grass/trunk grass7_trunk
cd grass_trunk
#Configure grass7 for compile. This command varies based on what
options you need but this should work:
./configure --prefix=/usr/local/grass70 --enable-largefile
--with-sqlite --with-freetype=yes
--with-freetype-includes=/usr/include/freetype2
--with-proj-share=/usr/share/proj --with-python --with-cxx
--with-wxwidgets --with-tcltk-includes=/usr/include/tcl8.5
--with-odbc=yes --enable-64bit --with-geos=yes --with-cairo=yes
#if configure runs without reporting any errors you're ready to compile:
make
#Make will take awhile to complete, but if no errors are returned
you're ready to install.
sudo make install
You should now have grass7 installed to /usr/local/grass7. The final
step is to link the grass7 executable to your /usr/local/bin/ folder
so that you can run grass from the command line by just typing
'grass70':
sudo ln -s /usr/local/grass70/bin/grass70 /usr/local/bin/grass70
Eric
On Tue, Mar 26, 2013 at 4:47 AM, דור פרידמן <dof1985@gmail.com> wrote:
After running the commands I've received the following:
Fetched 1,639 kB in 11s (145 kB/s)
W: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/source/Sources
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/binary-amd64/Packages
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/binary-i386/Packages
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/source/Sources
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/binary-amd64/Packages
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/binary-i386/Packages
404 Not FoundE: Some index files failed to download. They have been ignored, or old ones
used instead.
dof1985@dof1985-K53E ~ $ sudo apt-get install grass70
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package grass70Can it be fixed?
Thanks
2013/3/25 Eric Goddard <egoddard1010@gmail.com>
Adding the repository for testing just provides the package manager
with the locations of the packages--you still have to install grass.
After you add the repository, from the terminal run:
sudo apt-get update
sudo apt-get install grass70The first command refreshes the repositories, and the second one will
download grass7 and its dependencies. To run grass7, enter grass7 into
the terminal.Eric
On Mon, Mar 25, 2013 at 10:09 AM, Micha Silver <micha@arava.co.il> wrote:
> On 03/25/2013 04:16 PM, Markus Neteler wrote:
>
> On Mon, Mar 25, 2013 at 3:01 PM, דור פרידמן <dof1985@gmail.com> wrote:
> ...
>
> However due to my lack of experience with Linux and due
> to the fact that the Grass 7 has not yet come within an installation
> package, I couldn't make it work.
>
> I recently updated the download pages:
>
> http://grass.osgeo.org/download/software/linux/
> http://grass.osgeo.org/download/software/ms-windows/
> http://grass.osgeo.org/download/software/mac-osx/
>
> with links to the GRASS 7 snapshot installers. Perhaps that helps?
>
>
> I also try to run grass70 and/or grass70. in the command console, but it
> didn't help.
>
>
> Also, what do these commands show:
> which grass
> which grass70
> ??
>
>
> What didn't work exactly? Then we may fix it.
>
> Markus
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
> This mail was received via Mail-SeCure System.
>
>
>
> --
> Micha Silver
> GIS Consultant, Arava Development Co.
> http://www.surfaces.co.il
>
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
Forgot to mention those options are for a 64-bit machine. If you're
running Linux Mint 14 32-bit, remove the "--enable-64bit" option from
the grass configure line.
On Tue, Mar 26, 2013 at 6:37 AM, Eric Goddard <egoddard1010@gmail.com> wrote:
Sorry, Linux Mint 14 is based on ubuntu 12.10 (Quantal Quetzal).
Looking at the package lists at
https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing, it
appears that they don't have packages built for that version of
ubuntu, which is why you are getting the not found errors. It looks
like you'll have to compile grass7 manually for Linux Mint 14.Since that ppa is unsupported on your version, you should install
ppa-purge and remove it:
sudo apt-get install ppa-purge
sudo ppa-purge ubuntugis-testingYou can compile grass by adding the ppa:ubuntugis/ubuntugis-unstable
repository (which will work for Linux Mint 14) to install dependencies
and then compile grass7. I compile several other packages as well so
the following list of dependencies may be overkill for just grass but
it should get the job done:sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get updatesudo apt-get install build-essential gdal libgeos-dev libspatialite3
libspatialite-dev libcurl4-nss-dev byacc ncurses-dev bison gsl-bin
libgsl0-dev libexpat1-dev libexpat1 libproj0 libproj-dev libgeotiff2
libgeotiff-dev libwxgtk2.8-dev swig python-psycopg2 python-numpy
python-sip python-sip-dev python-wxgtk2.8 curl unixodbc unixodbc-dev
libkml0 libkml-dev proj-bin flex libpng12-0 libpng12-dev
mesa-common-dev freeglut3-dev tcl-dev tk8.5-dev libfftw3-3
libfftw3-dev libxmu-dev libqwt-dev libspatialindex-dev libopenjpeg-dev
git subversion libcairo2-dev libpoppler-dev libboost1.50-all-dev#Download the grass7 source to /home/<username>/source:
mkdir ~/source
cd ~/source
svn checkout https://svn.osgeo.org/grass/grass/trunk grass7_trunk
cd grass_trunk#Configure grass7 for compile. This command varies based on what
options you need but this should work:
./configure --prefix=/usr/local/grass70 --enable-largefile
--with-sqlite --with-freetype=yes
--with-freetype-includes=/usr/include/freetype2
--with-proj-share=/usr/share/proj --with-python --with-cxx
--with-wxwidgets --with-tcltk-includes=/usr/include/tcl8.5
--with-odbc=yes --enable-64bit --with-geos=yes --with-cairo=yes#if configure runs without reporting any errors you're ready to compile:
make#Make will take awhile to complete, but if no errors are returned
you're ready to install.
sudo make installYou should now have grass7 installed to /usr/local/grass7. The final
step is to link the grass7 executable to your /usr/local/bin/ folder
so that you can run grass from the command line by just typing
'grass70':
sudo ln -s /usr/local/grass70/bin/grass70 /usr/local/bin/grass70Eric
On Tue, Mar 26, 2013 at 4:47 AM, דור פרידמן <dof1985@gmail.com> wrote:
After running the commands I've received the following:
Fetched 1,639 kB in 11s (145 kB/s)
W: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/source/Sources
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/binary-amd64/Packages
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/binary-i386/Packages
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/source/Sources
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/binary-amd64/Packages
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/binary-i386/Packages
404 Not FoundE: Some index files failed to download. They have been ignored, or old ones
used instead.
dof1985@dof1985-K53E ~ $ sudo apt-get install grass70
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package grass70Can it be fixed?
Thanks
2013/3/25 Eric Goddard <egoddard1010@gmail.com>
Adding the repository for testing just provides the package manager
with the locations of the packages--you still have to install grass.
After you add the repository, from the terminal run:
sudo apt-get update
sudo apt-get install grass70The first command refreshes the repositories, and the second one will
download grass7 and its dependencies. To run grass7, enter grass7 into
the terminal.Eric
On Mon, Mar 25, 2013 at 10:09 AM, Micha Silver <micha@arava.co.il> wrote:
> On 03/25/2013 04:16 PM, Markus Neteler wrote:
>
> On Mon, Mar 25, 2013 at 3:01 PM, דור פרידמן <dof1985@gmail.com> wrote:
> ...
>
> However due to my lack of experience with Linux and due
> to the fact that the Grass 7 has not yet come within an installation
> package, I couldn't make it work.
>
> I recently updated the download pages:
>
> http://grass.osgeo.org/download/software/linux/
> http://grass.osgeo.org/download/software/ms-windows/
> http://grass.osgeo.org/download/software/mac-osx/
>
> with links to the GRASS 7 snapshot installers. Perhaps that helps?
>
>
> I also try to run grass70 and/or grass70. in the command console, but it
> didn't help.
>
>
> Also, what do these commands show:
> which grass
> which grass70
> ??
>
>
> What didn't work exactly? Then we may fix it.
>
> Markus
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
> This mail was received via Mail-SeCure System.
>
>
>
> --
> Micha Silver
> GIS Consultant, Arava Development Co.
> http://www.surfaces.co.il
>
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
Hi Eric,
It seems that I can only run v.net.distance properly on grass 7, so I have tried to install it as you suggested. I had some problems as follows:
Running sudo ppa-purge ubuntugis-testing have shown some errors (I can’t fetch them from the terminal, since they haven’t been saved, though I can run the command again). It was very similar to those I had last time; structured with a letter, i.e. W or E with some text like: “failed to fetch…”
Next, when running configuration, I have receieved the following:
dof1985@dof1985-K53E ~/source/grass7_trunk $ ./configure --prefix=/usr/local/grass70 --enable-largefile --with-sqlite --with-freetype=yes --with-freetype-includes=/usr/include/freetype2 --with-proj-share=/usr/share/proj --with-python --with-cxx --with-wxeidgets --with-tcltk-includes=/usr/include/tcl8.5 --with-odbc=yes --enable-64bit --with-geos=yes --with-cairo=yes
checking host system type… x86_64-unknown-linux-gnu
checking for gcc… gcc
checking whether the C compiler (gcc ) works… yes
checking whether the C compiler (gcc ) is a cross-compiler… no
checking whether we are using GNU C… yes
checking whether gcc accepts -g… yes
checking for Cygwin environment… no
checking for mingw32 environment… no
checking for executable suffix… no
checking for full floating-point support… yes
checking for pwd… /bin/pwd
checking for source directory… /home/dof1985/source/grass7_trunk
checking for build directory… /home/dof1985/source/grass7_trunk
checking for svnversion… /usr/bin/svnversion
checking for MacOSX App… no
checking for MacOSX architectures… no
checking for MacOSX SDK… no
checking how to build libraries… shared
checking for additional include dirs…
checking for additional library dirs…
checking for a BSD compatible install… /usr/bin/install -c
checking for flex… lex
checking for yywrap in -ll… no
checking for lex… no
configure: error: *** Unable to locate lex.
Is there something I’ve done wrong?
Best,
Dor
2013/3/26 Eric Goddard <egoddard1010@gmail.com>
Sorry, Linux Mint 14 is based on ubuntu 12.10 (Quantal Quetzal).
Looking at the package lists at
https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing, it
appears that they don’t have packages built for that version of
ubuntu, which is why you are getting the not found errors. It looks
like you’ll have to compile grass7 manually for Linux Mint 14.Since that ppa is unsupported on your version, you should install
ppa-purge and remove it:
sudo apt-get install ppa-purge
sudo ppa-purge ubuntugis-testingYou can compile grass by adding the ppa:ubuntugis/ubuntugis-unstable
repository (which will work for Linux Mint 14) to install dependencies
and then compile grass7. I compile several other packages as well so
the following list of dependencies may be overkill for just grass but
it should get the job done:sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get updatesudo apt-get install build-essential gdal libgeos-dev libspatialite3
libspatialite-dev libcurl4-nss-dev byacc ncurses-dev bison gsl-bin
libgsl0-dev libexpat1-dev libexpat1 libproj0 libproj-dev libgeotiff2
libgeotiff-dev libwxgtk2.8-dev swig python-psycopg2 python-numpy
python-sip python-sip-dev python-wxgtk2.8 curl unixodbc unixodbc-dev
libkml0 libkml-dev proj-bin flex libpng12-0 libpng12-dev
mesa-common-dev freeglut3-dev tcl-dev tk8.5-dev libfftw3-3
libfftw3-dev libxmu-dev libqwt-dev libspatialindex-dev libopenjpeg-dev
git subversion libcairo2-dev libpoppler-dev libboost1.50-all-dev#Download the grass7 source to /home//source:
mkdir ~/source
cd ~/source
svn checkout https://svn.osgeo.org/grass/grass/trunk grass7_trunk
cd grass_trunk#Configure grass7 for compile. This command varies based on what
options you need but this should work:
./configure --prefix=/usr/local/grass70 --enable-largefile
–with-sqlite --with-freetype=yes
–with-freetype-includes=/usr/include/freetype2
–with-proj-share=/usr/share/proj --with-python --with-cxx
–with-wxwidgets --with-tcltk-includes=/usr/include/tcl8.5
–with-odbc=yes --enable-64bit --with-geos=yes --with-cairo=yes#if configure runs without reporting any errors you’re ready to compile:
make#Make will take awhile to complete, but if no errors are returned
you’re ready to install.
sudo make installYou should now have grass7 installed to /usr/local/grass7. The final
step is to link the grass7 executable to your /usr/local/bin/ folder
so that you can run grass from the command line by just typing
‘grass70’:
sudo ln -s /usr/local/grass70/bin/grass70 /usr/local/bin/grass70Eric
On Tue, Mar 26, 2013 at 4:47 AM, דור פרידמן <dof1985@gmail.com> wrote:
After running the commands I’ve received the following:
Fetched 1,639 kB in 11s (145 kB/s)
W: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/source/Sources
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/binary-amd64/Packages
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/binary-i386/Packages
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/source/Sources
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/binary-amd64/Packages
404 Not FoundW: Failed to fetch
http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/binary-i386/Packages
404 Not FoundE: Some index files failed to download. They have been ignored, or old ones
used instead.
dof1985@dof1985-K53E ~ $ sudo apt-get install grass70
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package grass70Can it be fixed?
Thanks
2013/3/25 Eric Goddard <egoddard1010@gmail.com>
Adding the repository for testing just provides the package manager
with the locations of the packages–you still have to install grass.
After you add the repository, from the terminal run:
sudo apt-get update
sudo apt-get install grass70The first command refreshes the repositories, and the second one will
download grass7 and its dependencies. To run grass7, enter grass7 into
the terminal.Eric
On Mon, Mar 25, 2013 at 10:09 AM, Micha Silver <micha@arava.co.il> wrote:
On 03/25/2013 04:16 PM, Markus Neteler wrote:
On Mon, Mar 25, 2013 at 3:01 PM, דור פרידמן <dof1985@gmail.com> wrote:
…However due to my lack of experience with Linux and due
to the fact that the Grass 7 has not yet come within an installation
package, I couldn’t make it work.I recently updated the download pages:
http://grass.osgeo.org/download/software/linux/
http://grass.osgeo.org/download/software/ms-windows/
http://grass.osgeo.org/download/software/mac-osx/with links to the GRASS 7 snapshot installers. Perhaps that helps?
I also try to run grass70 and/or grass70. in the command console, but it
didn’t help.Also, what do these commands show:
which grass
which grass70
??What didn’t work exactly? Then we may fix it.
Markus
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-userThis mail was received via Mail-SeCure System.
–
Micha Silver
GIS Consultant, Arava Development Co.
http://www.surfaces.co.il
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
On Wed, Mar 27, 2013 at 9:43 PM, דור פרידמן <dof1985@gmail.com> wrote:
...
checking for lex... no
configure: error: *** Unable to locate lex.
You need to install some development packages (e.g. (f)lex). See
http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#Current_stable_Ubuntu_version
Markus
Hi Markus,
I followed the commands that were on the link you sent, but still have received the same errors:
dof1985@dof1985-K53E ~ $ sudo apt-get update && sudo apt-get upgrade
[sudo] password for dof1985:
Hit http://packages.medibuntu.org quantal Release.gpg
Hit http://archive.ubuntu.com quantal Release.gpg
Ign http://ppa.launchpad.net nadia Release.gpg
Hit http://archive.canonical.com quantal Release.gpg
Ign http://ppa.launchpad.net quantal Release.gpg
Get:1 http://archive.ubuntu.com quantal-updates Release.gpg [933 B]
Hit http://archive.canonical.com quantal Release
Hit http://packages.medibuntu.org quantal Release
Hit http://archive.ubuntu.com quantal Release
Get:2 http://ppa.launchpad.net quantal Release.gpg [316 B]
Hit http://security.ubuntu.com quantal-security Release.gpg
Hit http://archive.canonical.com quantal/partner amd64 Packages
Get:3 http://archive.ubuntu.com quantal-updates Release [49.6 kB]
Ign http://ppa.launchpad.net nadia Release
Get:4 http://packages.linuxmint.com nadia Release.gpg [197 B]
Hit http://archive.canonical.com quantal/partner i386 Packages
Hit http://packages.medibuntu.org quantal/free amd64 Packages
Ign http://ppa.launchpad.net quantal Release
Hit http://security.ubuntu.com quantal-security Release
Get:5 http://ppa.launchpad.net quantal Release [11.9 kB]
Get:6 http://packages.linuxmint.com nadia Release [17.6 kB]
Hit http://packages.medibuntu.org quantal/non-free amd64 Packages
Hit http://archive.ubuntu.com quantal/main amd64 Packages
Hit http://security.ubuntu.com quantal-security/main amd64 Packages
Hit http://archive.ubuntu.com quantal/restricted amd64 Packages
Hit http://packages.medibuntu.org quantal/free i386 Packages
Hit http://archive.ubuntu.com quantal/universe amd64 Packages
Hit http://security.ubuntu.com quantal-security/restricted amd64 Packages
Hit http://archive.ubuntu.com quantal/multiverse amd64 Packages
Hit http://packages.medibuntu.org quantal/non-free i386 Packages
Hit http://archive.ubuntu.com quantal/main i386 Packages
Hit http://security.ubuntu.com quantal-security/universe amd64 Packages
Hit http://archive.ubuntu.com quantal/restricted i386 Packages
Hit http://archive.ubuntu.com quantal/universe i386 Packages
Hit http://security.ubuntu.com quantal-security/multiverse amd64 Packages
Ign http://archive.canonical.com quantal/partner Translation-en_US
Hit http://archive.ubuntu.com quantal/multiverse i386 Packages
Ign http://archive.canonical.com quantal/partner Translation-en
Get:7 http://packages.linuxmint.com nadia/main amd64 Packages [22.6 kB]
Hit http://security.ubuntu.com quantal-security/main i386 Packages
Hit http://archive.ubuntu.com quantal/main Translation-en
Hit http://security.ubuntu.com quantal-security/restricted i386 Packages
Get:8 http://ppa.launchpad.net quantal/main Sources [6,549 B]
Hit http://archive.ubuntu.com quantal/multiverse Translation-en
Hit http://security.ubuntu.com quantal-security/universe i386 Packages
Get:9 http://packages.linuxmint.com nadia/upstream amd64 Packages [11.3 kB]
Get:10 http://ppa.launchpad.net quantal/main amd64 Packages [12.7 kB]
Hit http://archive.ubuntu.com quantal/restricted Translation-en
Hit http://security.ubuntu.com quantal-security/multiverse i386 Packages
Get:11 http://ppa.launchpad.net quantal/main i386 Packages [13.3 kB]
Get:12 http://packages.linuxmint.com nadia/import amd64 Packages [43.2 kB]
Hit http://archive.ubuntu.com quantal/universe Translation-en
Get:13 http://archive.ubuntu.com quantal-updates/main amd64 Packages [220 kB]
Hit http://security.ubuntu.com quantal-security/main Translation-en
Hit http://security.ubuntu.com quantal-security/multiverse Translation-en
Get:14 http://packages.linuxmint.com nadia/main i386 Packages [22.6 kB]
Get:15 http://archive.ubuntu.com quantal-updates/restricted amd64 Packages [3,048 B]
Get:16 http://archive.ubuntu.com quantal-updates/universe amd64 Packages [176 kB]
Hit http://security.ubuntu.com quantal-security/restricted Translation-en
Get:17 http://packages.linuxmint.com nadia/upstream i386 Packages [11.3 kB]
Get:18 http://archive.ubuntu.com quantal-updates/multiverse amd64 Packages [7,946 B]
Get:19 http://archive.ubuntu.com quantal-updates/main i386 Packages [219 kB]
Hit http://security.ubuntu.com quantal-security/universe Translation-en
Get:20 http://packages.linuxmint.com nadia/import i386 Packages [44.0 kB]
Get:21 http://archive.ubuntu.com quantal-updates/restricted i386 Packages [3,067 B]
Ign http://packages.medibuntu.org quantal/free Translation-en_US
Get:22 http://archive.ubuntu.com quantal-updates/universe i386 Packages [177 kB]
Ign http://packages.medibuntu.org quantal/free Translation-en
Get:23 http://archive.ubuntu.com quantal-updates/multiverse i386 Packages [8,097 B]
Ign http://packages.medibuntu.org quantal/non-free Translation-en_US
Hit http://archive.ubuntu.com quantal-updates/main Translation-en
Ign http://packages.medibuntu.org quantal/non-free Translation-en
Hit http://archive.ubuntu.com quantal-updates/multiverse Translation-en
Hit http://archive.ubuntu.com quantal-updates/restricted Translation-en
Hit http://archive.ubuntu.com quantal-updates/universe Translation-en
Err http://ppa.launchpad.net nadia/main Sources
404 Not Found
Err http://ppa.launchpad.net nadia/main amd64 Packages
404 Not Found
Err http://ppa.launchpad.net nadia/main i386 Packages
404 Not Found
Ign http://security.ubuntu.com quantal-security/main Translation-en_US
Ign http://ppa.launchpad.net nadia/main Translation-en_US
Ign http://ppa.launchpad.net nadia/main Translation-en
Ign http://security.ubuntu.com quantal-security/multiverse Translation-en_US
Err http://ppa.launchpad.net quantal/main Sources
404 Not Found
Err http://ppa.launchpad.net quantal/main amd64 Packages
404 Not Found
Ign http://security.ubuntu.com quantal-security/restricted Translation-en_US
Err http://ppa.launchpad.net quantal/main i386 Packages
404 Not Found
Ign http://ppa.launchpad.net quantal/main Translation-en_US
Ign http://security.ubuntu.com quantal-security/universe Translation-en_US
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://ppa.launchpad.net quantal/main Translation-en_US
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://archive.ubuntu.com quantal/main Translation-en_US
Ign http://archive.ubuntu.com quantal/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal/universe Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/universe Translation-en_US
Ign http://packages.linuxmint.com nadia/import Translation-en_US
Ign http://packages.linuxmint.com nadia/import Translation-en
Ign http://packages.linuxmint.com nadia/main Translation-en_US
Ign http://packages.linuxmint.com nadia/main Translation-en
Ign http://packages.linuxmint.com nadia/upstream Translation-en_US
Ign http://packages.linuxmint.com nadia/upstream Translation-en
Fetched 1,082 kB in 10s (103 kB/s)
W: Failed to fetch http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
dof1985@dof1985-K53E ~ $ sudo apt-get install build-essential
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
dpkg-dev libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
Suggested packages:
debian-keyring
The following NEW packages will be installed:
build-essential dpkg-dev libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
0 upgraded, 5 newly installed, 0 to remove and 29 not upgraded.
Need to get 676 kB of archives.
After this operation, 1,817 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ quantal/main dpkg-dev all 1.16.7ubuntu6 [595 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ quantal/main build-essential amd64 11.5ubuntu3 [5,814 B]
Get:3 http://archive.ubuntu.com/ubuntu/ quantal/main libalgorithm-diff-perl all 1.19.02-2 [50.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ quantal/main libalgorithm-diff-xs-perl amd64 0.04-2build3 [12.5 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ quantal/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
Fetched 676 kB in 1s (565 kB/s)
Selecting previously unselected package dpkg-dev.
(Reading database … 244589 files and directories currently installed.)
Unpacking dpkg-dev (from …/dpkg-dev_1.16.7ubuntu6_all.deb) …
Selecting previously unselected package build-essential.
Unpacking build-essential (from …/build-essential_11.5ubuntu3_amd64.deb) …
Selecting previously unselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from …/libalgorithm-diff-perl_1.19.02-2_all.deb) …
Selecting previously unselected package libalgorithm-diff-xs-perl.
Unpacking libalgorithm-diff-xs-perl (from …/libalgorithm-diff-xs-perl_0.04-2build3_amd64.deb) …
Selecting previously unselected package libalgorithm-merge-perl.
Unpacking libalgorithm-merge-perl (from …/libalgorithm-merge-perl_0.08-2_all.deb) …
Processing triggers for man-db …
Setting up dpkg-dev (1.16.7ubuntu6) …
Setting up build-essential (11.5ubuntu3) …
Setting up libalgorithm-diff-perl (1.19.02-2) …
Setting up libalgorithm-diff-xs-perl (0.04-2build3) …
Setting up libalgorithm-merge-perl (0.08-2) …
dof1985@dof1985-K53E ~ $ make flex bison gcc libgcc1 g++ cmake ccache python python-dev python-qt4 python-qt4-dev python-opengl python-wxversion python-wxtools python-wxgtk2.8 python-dateutil libgs10-dev python-numpy wx2.8-headers wx-common libwxbase2.8-dbg libncurses5-dev zliblg-dev gettext libtiff-dev libpnglite-dev tcl8.5-dev tk8.5-dev libcairo2 libcairo2-dev sqlite3 libsqlite3-dev libpq-dev libreadline6 libreadline6-dev libfreetype6-dev txt2tags libfftw3-3 libfftw3-dev libqt4-core libqt4-dbg libqt4-dev libqt4-gui libqt4-sql libqt4-qt3support libapt-pkg-perl resolvconf libjasper-dev ruby subversion
make: *** No rule to make target `flex’. Stop.
Unfortunately I don’t understand any of this, I would greatly appreciate if someone could help me with that.
Best,
Dor
2013/3/27 Markus Neteler <neteler@osgeo.org>
On Wed, Mar 27, 2013 at 9:43 PM, דור פרידמן <dof1985@gmail.com> wrote:
…checking for lex… no
configure: error: *** Unable to locate lex.You need to install some development packages (e.g. (f)lex). See
http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#Current_stable_Ubuntu_version
Markus
On Thu, Mar 28, 2013 at 9:58 AM, דור פרידמן <dof1985@gmail.com> wrote:
...
(btw: no need to post all this message stuff, please reduce to the
needed minimum)
dof1985@dof1985-K53E ~ $ sudo apt-get install build-essential
Reading package lists... Done
...
Setting up libalgorithm-merge-perl (0.08-2) ...
dof1985@dof1985-K53E ~ $ make flex bison gcc libgcc1 g++ cmake ccache python
Not "make" but "apt-get install ..."
Ok, I realise that the syntax highlighting was unfortunate, I have tried to
slightly improve it and added a comment to copy-paste the entire installation
command:
http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#Current_stable_Ubuntu_version
Hope it is clear now,
Markus
Thanks Markus,
It took me some time to follow the instruction properly, but in the end it worked and I’m running grass 7 now. Furthermore, v.net.distance is running perfectly fine and I am very excited about it. Mainly since I was working on this for more than 2 months now.
Thanks again for all the helpers, mainly Markus and Erik.
Best,
Dor
2013/3/28 Markus Neteler <neteler@osgeo.org>
On Thu, Mar 28, 2013 at 9:58 AM, דור פרידמן <dof1985@gmail.com> wrote:
…(btw: no need to post all this message stuff, please reduce to the
needed minimum)dof1985@dof1985-K53E ~ $ sudo apt-get install build-essential
Reading package lists… Done
…
Setting up libalgorithm-merge-perl (0.08-2) …
dof1985@dof1985-K53E ~ $ make flex bison gcc libgcc1 g++ cmake ccache python
Not “make” but “apt-get install …”
Ok, I realise that the syntax highlighting was unfortunate, I have tried to
slightly improve it and added a comment to copy-paste the entire installation
command:http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#Current_stable_Ubuntu_version
Hope it is clear now,
Markus
I apologize for the horrible formatting--I didn't think gmail would
insert line breaks if in plain text mode. sorry about that!
I also gave you the incorrect syntax for using ppa-purge to remove the
broken links to ubuntugis-testing. Try this:
sudo ppa-purge ppa:ubuntugis/ubuntugis-testing
I also don't see the ubuntugis-unstable repository in your sources
list. Did you run
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
?
Eric
On Thu, Mar 28, 2013 at 5:39 AM, Markus Neteler <neteler@osgeo.org> wrote:
On Thu, Mar 28, 2013 at 9:58 AM, דור פרידמן <dof1985@gmail.com> wrote:
...
(btw: no need to post all this message stuff, please reduce to the
needed minimum)dof1985@dof1985-K53E ~ $ sudo apt-get install build-essential
Reading package lists... Done
...
Setting up libalgorithm-merge-perl (0.08-2) ...
dof1985@dof1985-K53E ~ $ make flex bison gcc libgcc1 g++ cmake ccache python
Not "make" but "apt-get install ..."
Ok, I realise that the syntax highlighting was unfortunate, I have tried to
slightly improve it and added a comment to copy-paste the entire installation
command:http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#Current_stable_Ubuntu_version
Hope it is clear now,
Markus