[GRASS-user] how to install GRASS binaries of weekly snapshot on ubuntu12.04?

The errors are below:
user@osgeolive:~$ sudo sh grass-6.5.svn-x86_64-unknown-linux-gnu-20_10_2012-install.sh grass-6.5.svn-x86_64-unknown-linux-gnu-20_10_2012.tar.gz
Using gunzip decompressor…
The package grass-6.5.svn-x86_64-unknown-linux-gnu-20_10_2012.tar.gz seems to be o.k.
Proceeding…
Checking and creating installation directory…
Installing GRASS binaries into /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012
Uncompressing the package and extracting to target directory…
Creating start script:
/usr/local/bin/grass65 → /usr/local/bin/grass-6.5.svn-x86_64-unknown-linux-gnu-20_10_2012
Creating the locks directory for monitors…
Generating display font configuration file…
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/bin/g.mkfontcap: 1: /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/bin/g.mkfontcap: Syntax error: word unexpected (expecting “)”)

Installation finished. Start GRASS 6.5.svn-x86_64-unknown-linux-gnu-20_10_2012 with
/usr/local/bin/grass65
Welcome to GRASS GIS. Enjoy this open source GRASS GIS!

user@osgeolive:~$ grass65
Cleaning up temporary files …
Starting GRASS …
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/clean_temp: 2: /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/clean_temp: Syntax error: word unexpected (expecting “)”)
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/clean_temp: 1: /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/clean_temp: ELF: not found
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/clean_temp: 1: /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/clean_temp: @@: not found
Traceback (most recent call last):
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/wxpython/gis_set.py”, line 36, in
from core import globalvar
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/wxpython/core/globalvar.py”, line 28, in
from core.debug import Debug
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/wxpython/core/debug.py”, line 67, in
Debug = DebugMsg()
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/wxpython/core/debug.py”, line 38, in init
self.SetLevel()
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/wxpython/core/debug.py”, line 43, in SetLevel
self.debuglevel = int(grass.gisenv().get(‘WX_DEBUG’, 0))
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/python/grass/script/core.py”, line 558, in gisenv
s = read_command(“g.gisenv”, flags=‘n’)
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/python/grass/script/core.py”, line 238, in read_command
ps = pipe_command(*args, **kwargs)
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/python/grass/script/core.py”, line 215, in pipe_command
return start_command(*args, **kwargs)
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/python/grass/script/core.py”, line 177, in start_command
return Popen(args, **popts)
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/python/grass/script/core.py”, line 56, in init
startupinfo, creationflags)
File “/usr/lib/python2.7/subprocess.py”, line 679, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1249, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue…
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/set_data: 1: /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/set_data: ELF: not found
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/set_data: 1: /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/set_data: Syntax error: Unterminated quoted string

Thanks!

-----原始邮件-----
发件人: “Markus Neteler” neteler@osgeo.org
发送时间: 2012年10月25日 星期四
收件人: “王德辉” dehuiw@gig.ac.cn
抄送: grass-user@lists.osgeo.org
主题: Re: [GRASS-user] how to install GRASS binaries of weekly snapshot on ubuntu12.04?

On Wed, Oct 24, 2012 at 2:38 PM, 王德辉 dehuiw@gig.ac.cn wrote:

Hi,all
Although I set the lib links according to
http://grass.fbk.eu/grass65/binary/linux/snapshot/ , I still can not
install GRASS binaries (6.4.3,6.5,7.0) of weekly snapshot on ubuntu12.04 and
osgeolives (5.5 and 6.0). Doe anyone install the binary GRASS softwares
successfully?

Please tell us what the problem is. Note that these generic binaries
are generated on a 64bit Debian machine.

Markus

The errors are below:
user@osgeolive:~$ sudo sh grass-6.5.svn-x86_64-unknown-linux-gnu-20_10_2012-install.sh grass-6.5.svn-x86_64-unknown-linux-gnu-20_10_2012.tar.gz
Using gunzip decompressor…
The package grass-6.5.svn-x86_64-unknown-linux-gnu-20_10_2012.tar.gz seems to be o.k.
Proceeding…
Checking and creating installation directory…
Installing GRASS binaries into /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012
Uncompressing the package and extracting to target directory…
Creating start script:
/usr/local/bin/grass65 → /usr/local/bin/grass-6.5.svn-x86_64-unknown-linux-gnu-20_10_2012
Creating the locks directory for monitors…
Generating display font configuration file…
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/bin/g.mkfontcap: 1: /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/bin/g.mkfontcap: Syntax error: word unexpected (expecting “)”)

Installation finished. Start GRASS 6.5.svn-x86_64-unknown-linux-gnu-20_10_2012 with
/usr/local/bin/grass65
Welcome to GRASS GIS. Enjoy this open source GRASS GIS!

user@osgeolive:~$ grass65
Cleaning up temporary files …
Starting GRASS …
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/clean_temp: 2: /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/clean_temp: Syntax error: word unexpected (expecting “)”)
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/clean_temp: 1: /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/clean_temp: ELF: not found
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/clean_temp: 1: /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/clean_temp: @@: not found
Traceback (most recent call last):
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/wxpython/gis_set.py”, line 36, in
from core import globalvar
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/wxpython/core/globalvar.py”, line 28, in
from core.debug import Debug
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/wxpython/core/debug.py”, line 67, in
Debug = DebugMsg()
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/wxpython/core/debug.py”, line 38, in init
self.SetLevel()
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/wxpython/core/debug.py”, line 43, in SetLevel
self.debuglevel = int(grass.gisenv().get(‘WX_DEBUG’, 0))
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/python/grass/script/core.py”, line 558, in gisenv
s = read_command(“g.gisenv”, flags=‘n’)
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/python/grass/script/core.py”, line 238, in read_command
ps = pipe_command(*args, **kwargs)
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/python/grass/script/core.py”, line 215, in pipe_command
return start_command(*args, **kwargs)
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/python/grass/script/core.py”, line 177, in start_command
return Popen(args, **popts)
File “/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/python/grass/script/core.py”, line 56, in init
startupinfo, creationflags)
File “/usr/lib/python2.7/subprocess.py”, line 679, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1249, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue…
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/set_data: 1: /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/set_data: ELF: not found
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/set_data: 1: /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/etc/set_data: Syntax error: Unterminated quoted string

Thanks!

-----原始邮件-----
发件人: “Markus Neteler” <neteler@osgeo.org>
发送时间: 2012年10月25日 星期四
收件人: “王德辉” <dehuiw@gig.ac.cn>
抄送: grass-user@lists.osgeo.org
主题: Re: [GRASS-user] how to install GRASS binaries of weekly snapshot on ubuntu12.04?

On Wed, Oct 24, 2012 at 2:38 PM, 王德辉 <dehuiw@gig.ac.cn> wrote:

Hi,all
Although I set the lib links according to
http://grass.fbk.eu/grass65/binary/linux/snapshot/ , I still can not
install GRASS binaries (6.4.3,6.5,7.0) of weekly snapshot on ubuntu12.04 and
osgeolives (5.5 and 6.0). Doe anyone install the binary GRASS softwares
successfully?

Please tell us what the problem is. Note that these generic binaries
are generated on a 64bit Debian machine.

Markus

On Wed, Oct 24, 2012 at 8:07 PM, 王德辉 <dehuiw@gig.ac.cn> wrote:

The errors are below:
user@osgeolive:~$ sudo sh
grass-6.5.svn-x86_64-unknown-linux-gnu-20_10_2012-install.sh
grass-6.5.svn-x86_64-unknown-linux-gnu-20_10_2012.tar.gz
Using gunzip decompressor...
The package grass-6.5.svn-x86_64-unknown-linux-gnu-20_10_2012.tar.gz seems
to be o.k.
Proceeding...
Checking and creating installation directory...
Installing GRASS binaries into
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012
Uncompressing the package and extracting to target directory...
Creating start script:
/usr/local/bin/grass65 ->
/usr/local/bin/grass-6.5.svn-x86_64-unknown-linux-gnu-20_10_2012
Creating the locks directory for monitors...
Generating display font configuration file...
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/bin/g.mkfontcap:
1:
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-20_10_2012/bin/g.mkfontcap:
Syntax error: word unexpected (expecting ")")

Please post

uname -a

I suspect that you have a 32bit computer while these binaries are for
64bit machines.

Sidenote: I really hope that one day Ubuntu launchpad will deliver
GRASS binaries...

Markus

Sidenote: I really hope that one day Ubuntu launchpad will deliver
GRASS binaries...

Since all code is well imported from SVN to LP:
https://code.launchpad.net/~grass/grass/releasebranch_6_4

It is /*only/* an issue of updating the debian files:

https://code.launchpad.net/~grass/grass/grass64_release_debian

All members of the GRASS GIS team can do this:
https://launchpad.net/~grass/+members

once this is automatically taken up by the recipe:
https://code.launchpad.net/~grass/+recipe/grass64

Last, I deactivated it as it was continuously failing (see below).

Since 2 years I am not working with GRASS on day2day basis.

Thus, there's no time and current need.

I would be grateful if someone could assist and co-maintain the GRASS
project on Launchpad.

I am willing to assist in setting everything up.

Regards.

###

Started compilation: Mon Oct 22 02:44:24 UTC 2012
--
Errors in:
/build/buildd/grass-6.4.2+0ubuntu1+21696~oneiric1/gui/wxpython
--
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: Mon Oct 22 02:55:33 UTC 2012
make[1]: *** [default] Error 1
make[1]: Leaving directory
`/build/buildd/grass-6.4.2+0ubuntu1+21696~oneiric1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************

Hi Tim,

I was having the same error in openSUSE OBS about gui/wxpython and it is now fixed in svn (branch_64).

I see that there is a direct mirror from subversion to bazaar in LP. This should trigger a build on every new commit through the recipe, but is this really needed? Perhaps this should be done weekly.

I had a look at the debian files in case I could create a grass7 (like the one for openSUSE) but the rule file is very complicated. Is it due to lintian checks?

Angelos

On 10/29/2012 12:02 AM, Tim Michelsen wrote:

Sidenote: I really hope that one day Ubuntu launchpad will deliver
GRASS binaries...

Since all code is well imported from SVN to LP:
https://code.launchpad.net/~grass/grass/releasebranch_6_4

It is /*only/* an issue of updating the debian files:

https://code.launchpad.net/~grass/grass/grass64_release_debian

All members of the GRASS GIS team can do this:
https://launchpad.net/~grass/+members

once this is automatically taken up by the recipe:
https://code.launchpad.net/~grass/+recipe/grass64

Last, I deactivated it as it was continuously failing (see below).

Since 2 years I am not working with GRASS on day2day basis.

Thus, there's no time and current need.

I would be grateful if someone could assist and co-maintain the GRASS
project on Launchpad.

I am willing to assist in setting everything up.

Regards.

###

Started compilation: Mon Oct 22 02:44:24 UTC 2012
--
Errors in:
/build/buildd/grass-6.4.2+0ubuntu1+21696~oneiric1/gui/wxpython
--
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: Mon Oct 22 02:55:33 UTC 2012
make[1]: *** [default] Error 1
make[1]: Leaving directory
`/build/buildd/grass-6.4.2+0ubuntu1+21696~oneiric1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
http://users.ntua.gr/tzotsos

I was having the same error in openSUSE OBS about gui/wxpython and it is
now fixed in svn (branch_64).

OK, I requested a build. let's see.

I see that there is a direct mirror from subversion to bazaar in LP.

All code is here:
https://code.launchpad.net/~grass

This should trigger a build on every new commit through the recipe, but
is this really needed? Perhaps this should be done weekly.

LP only has daily or upon request.

I had a look at the debian files in case I could create a grass7 (like
the one for openSUSE) but the rule file is very complicated. Is it due
to lintian checks?

I'd taken that from the original debian package and modified only
slightly to the needs of less robust daily builds.

The package rules is a real science...
I am still in the lower undergrad level...

Markus Neteler:

> Sidenote: I really hope that one day Ubuntu launchpad will deliver
> GRASS binaries...

Tim Michelsen:

Since all code is well imported from SVN to LP:
https://code.launchpad.net/~grass/grass/releasebranch_6_4

It is /*only/* an issue of updating the debian files:
https://code.launchpad.net/~grass/grass/grass64_release_debian

All members of the GRASS GIS team can do this:
https://launchpad.net/~grass/+members

once this is automatically taken up by the recipe:
https://code.launchpad.net/~grass/+recipe/grass64

Last, I deactivated it as it was continuously failing (see below).
Since 2 years I am not working with GRASS on day2day basis.
Thus, there's no time and current need.

I would be grateful if someone could assist and co-maintain the GRASS
project on Launchpad.

Here I am (to try). I've been through this small thread, checked relevant
launchpad pages, understand more or less what is to be done.

I am willing to assist in setting everything up.

Let's say I have zero idea on how to do this (using bzr). Where do I start?
Nikos

###
Started compilation: Mon Oct 22 02:44:24 UTC 2012
--
Errors in:
/build/buildd/grass-6.4.2+0ubuntu1+21696~oneiric1/gui/wxpython
--
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: Mon Oct 22 02:55:33 UTC 2012
make[1]: *** [default] Error 1
make[1]: Leaving directory
`/build/buildd/grass-6.4.2+0ubuntu1+21696~oneiric1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
****************************************************************************
**