[GRASS-dev] Secret to compiling GRASS 7 on Ubuntu 9.10?

Isaac Ullah isaac.ullah at asu.edu
Mon Dec 14 12:38:50 EST 2009


Hi all,

   I've been trying to compile and install GRASS 7 on Ubuntu 9.10. I am
using the same methodology that has been successful for me with previous
version of Ubuntu. I have been able to successfully make binaries with no
errors, but I consistently get gdal/proj errors when I launch the gui. I
have tried with the precompiled ubuntu binaries of GDAL/PROJ as well as
building them from latest source (no errors). i've even tried the old
"compile GDAL first without GRASS support, then compile GRASS, then redo
GDAL with GRASS support" trick, and this does not work either. Here are the
errors:

Welcome to GRASS 7.0.svn (2009)
GRASS homepage:                          http://grass.osgeo.org/
This version running through:            Bash Shell (/bin/bash)
Help is available with the command:      g.manual -i
See the licence terms with:              g.version -c
If required, restart the GUI with:       g.gui wxpython
When ready to quit enter:                exit

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

GRASS 7.0.svn (jordan_wgs84):~/grass_7_source/grass_trunk > g.gui wxpython

WARNING: Vector digitizer is not available (No module named
grass7_wxvdigit).

Note that vector digitizer is currently not working under MS Windows
(hopefully will be fixed soon). Please try more recent version of GRASS.
g.list: error while loading shared libraries: libgdal.so.1: cannot open
shared object file: No such file or directory
g.list: error while loading shared libraries: libgdal.so.1: cannot open
shared object file: No such file or directory
GRASS 7.0.svn (jordan_wgs84):~/grass_7_source/grass_trunk > Traceback (most
recent call last):
  File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line
1641, in <module>
    sys.exit(main())
  File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line
1634, in main
    app = GMApp(workspaceFile)
  File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line
1558, in __init__
    wx.App.__init__(self, False)
  File "/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7978, in __init__
    self._BootstrapApp()
  File "/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7552, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line
1577, in OnInit
    workspace = self.workspaceFile)
  File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line 186,
in __init__
    self.NewDisplay(show=False)
  File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line
1171, in NewDisplay
    auimgr=self._auimgr, showMapDisplay=show)
  File
"/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/gui_modules/wxgui_utils.py",
line 108, in __init__
    Map=self.Map, auimgr=self.auimgr)
  File
"/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/gui_modules/mapdisp.py",
line 280, in __init__
    self.MapWindow.ZoomHistory(self.Map.region['n'],
KeyError: 'n'
GRASS 7.0.svn (jordan_wgs84):~/grass_7_source/grass_trunk > whereis
libgdal.so.1
libgdal.so: /usr/lib/libgdal.so.1 /usr/lib64/libgdal.so.1
/usr/local/lib/libgdal.so /usr/local/lib/libgdal.so.1
GRASS 7.0.svn (jordan_wgs84):~/grass_7_source/grass_trunk > g.region -p
g.region: error while loading shared libraries: libproj.so.0: cannot open
shared object file: No such file or directory
GRASS 7.0.svn (jordan_wgs84):~/grass_7_source/grass_trunk > whereis
libproj.so.0
libproj.so: /usr/lib/libproj.so.0 /usr/lib/libproj.so
/usr/lib64/libproj.so.0 /usr/lib64/libproj.so

Clearly you can see that I have both libgdal.so.1 and libproj.so.0 installed
in standard locations, and they are in the PATH.

Is there some trick to this on Ubuntu 9.10 that I am unaware of? Any help
will be greatly appreciated!

-- 

Isaac I Ullah, M.A.

Archaeology PhD Student,
ASU School of Evolution and Social Change

Research Assistant,
Mediterranean Landscape Dynamics Project
***************************************************
isaac.ullah at asu.edu
ullah at archaeologist.com

http://www.public.asu.edu/~iullah
***************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20091214/a5ba2de0/attachment.html


More information about the grass-dev mailing list