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

王德辉 dehuiw at gig.ac.cn
Wed Oct 24 11:07:31 PDT 2012


The errors are below:
user at 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 at 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 <module>
    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 <module>
    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 <module>
    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 at osgeo.org>
发送时间: 2012年10月25日 星期四
收件人: "王德辉" <dehuiw at gig.ac.cn>
抄送: grass-user at 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 at 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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20121025/1888e4ee/attachment-0001.html>


More information about the grass-user mailing list