[GRASS-user] Help with installing GRASS 7 on linux mint 14

דור פרידמן dof1985 at gmail.com
Thu Mar 28 01:58:28 PDT 2013


Hi Markus,

I followed the commands that were on the link you sent, but still have
received the same errors:

dof1985 at 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 at 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 at 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 at osgeo.org>

> On Wed, Mar 27, 2013 at 9:43 PM, דור פרידמן <dof1985 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130328/08f35ad8/attachment-0001.html>


More information about the grass-user mailing list