[GRASS-user] GRASS compiled from source: child_exception

LeeDaniel Lee.Daniel.1986 at gmail.com
Wed Aug 11 10:16:59 EDT 2010


Hi all,

I've got another problem again. Since I had so much trouble with getting
g.extension to work and never managed to get the add-on I desperately need
to compile (r.area), I'm trying it now with GRASS compiled from source. I
tried GRASS 7 and now I've tried GRASS 6.5, both with the same results.

I'm running OpenSUSE 11.3, 32 bit. Since the problem's been the same with 7
and 6.5, I'll show the more recent terminal outputs from 6.5.

Installed the latest 6.5-svn code from
http://grass.itc.it/grass65/binary/linux/snapshot/. Here's how I did it:
- Downloaded grass-6.5.svn-x86_64-unknown-linux-gnu-07_08_2010-install.sh
and grass-6.5.svn-x86_64-unknown-linux-gnu-07_08_2010.tar.gz into the same
directory
- Ran 
sudo sh grass-6.5.svn-x86_64-unknown-linux-gnu-07_08_2010-install.sh
grass-6.5.svn-x86_64-unknown-linux-gnu-07_08_2010.tar.gz

GRASS installed itself with the following output:
GRASS GIS 6.5.svn-x86_64-unknown-linux-gnu-07_08_2010 binary package
installation tool

Using gunzip decompressor...
The package grass-6.5.svn-x86_64-unknown-linux-gnu-07_08_2010.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-07_08_2010

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-07_08_2010
Creating the locks directory for monitors...

Creating datum transformation gridshift files...

Generating display font configuration file...
grass-6.5.svn-x86_64-unknown-linux-gnu-07_08_2010-install.sh: line 344:
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-07_08_2010/bin/g.mkfontcap:
cannot execute binary file

Installation finished. Start GRASS
6.5.svn-x86_64-unknown-linux-gnu-07_08_2010 with
    /usr/local/bin/grass65

                                                                                                                                     
Welcome to GRASS GIS. Enjoy this open source GRASS GIS!

So far so good, although the inability to execute g.mkfontcap did worry me.

Then I started GRASS with the command grass65 and got the following output:
Lee at pc19392:~/Downloads> grass65                                                                                                     
                                                                                                                                     
WELCOME TO GRASS              Version 6.5.svn         2010                                                                           
                                                                                                                                     
   1) Have at your side all available GRASS tutorials                                                                                
                                                                                                                                     
   2) When working on your location, the following materials                                                                         
      are extremely useful:                                                                                                          
      - A topo map of your area                                                                                                      
      - Current catalog of available computer maps                                                                                   
                                                                                                                                     
   3) Check the GRASS webpages for feedback mailinglists and more:                                                                   
      http://www.grass-gis.org                                                                                                       
      http://grass.osgeo.org                                                                                                         
                                                                                                                                     
Hit RETURN to continue                                                                                                               
                                                                                                                                     
Starting GRASS ...                                                                                                                   
Traceback (most recent call last):                                                                                                   
  File
"/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-07_08_2010/etc/wxpython/gis_set.py",
line 37, in <module>                   
    import gui_modules.goutput                                                                                                       
  File
"/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-07_08_2010/etc/wxpython/gui_modules/goutput.py",
line 37, in <module>       
    import preferences                                                                                                               
  File
"/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-07_08_2010/etc/wxpython/gui_modules/preferences.py",
line 911, in <module>  
    globalSettings = Settings()                                                                                                      
  File
"/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-07_08_2010/etc/wxpython/gui_modules/preferences.py",
line 585, in __init__  
    self.ReadSettingsFile()                                                                                                          
  File
"/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-07_08_2010/etc/wxpython/gui_modules/preferences.py",
line 650, in ReadSettingsFile                                                                                                                               
    gisenv = grass.gisenv()                                                                                                          
  File
"/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-07_08_2010/etc/python/grass/script/core.py",
line 505, in gisenv            
    s = read_command("g.gisenv", flags='n')                                                                                          
  File
"/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-07_08_2010/etc/python/grass/script/core.py",
line 216, in read_command      
    ps = pipe_command(*args, **kwargs)                                                                                               
  File
"/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-07_08_2010/etc/python/grass/script/core.py",
line 193, in pipe_command      
    return start_command(*args, **kwargs)                                                                                            
  File
"/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-07_08_2010/etc/python/grass/script/core.py",
line 155, in start_command     
    return Popen(args, **popts)                                                                                                      
  File
"/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-07_08_2010/etc/python/grass/script/core.py",
line 53, in __init__
    startupinfo, creationflags)
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, 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-07_08_2010/etc/Init.sh:
line 647:
/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-07_08_2010/etc/set_data:
cannot execute binary file

Now matter what I do, this same problem keeps on coming up.I don't know what
to do. I've got wxpython installed (for GRASS 7 it complained about now
having that - I reinstalled my system completely since I've last written and
hadn't installed it, but not it's on there with the development files so it
should be okay). Any ideas? I get the same error message with GRASS 7.

Any help would be greatly appreciated! Thanks a bunch in advance,
Daniel
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GRASS-compiled-from-source-child-exception-tp5412414p5412414.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list