Hi all,<br><br> 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:<br>
<br><span style="font-family: courier new,monospace;">Welcome to GRASS 7.0.svn (2009) </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">GRASS homepage: <a href="http://grass.osgeo.org/">http://grass.osgeo.org/</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">This version running through: Bash Shell (/bin/bash)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Help is available with the command: g.manual -i</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">See the licence terms with: g.version -c</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">If required, restart the GUI with: g.gui wxpython</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">When ready to quit enter: exit</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">To run a command as administrator (user "root"), use "sudo <command>".</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">See "man sudo_root" for details.</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">GRASS 7.0.svn (jordan_wgs84):~/grass_7_source/grass_trunk > g.gui wxpython</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">WARNING: Vector digitizer is not available (No module named grass7_wxvdigit).</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Note that vector digitizer is currently not working under MS Windows (hopefully will be fixed soon). Please try more recent version of GRASS.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">g.list: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">g.list: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">GRASS 7.0.svn (jordan_wgs84):~/grass_7_source/grass_trunk > Traceback (most recent call last):</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line 1641, in <module></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> sys.exit(main())</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line 1634, in main</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> app = GMApp(workspaceFile)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line 1558, in __init__</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> wx.App.__init__(self, False)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7978, in __init__</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> self._BootstrapApp()</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7552, in _BootstrapApp</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> return _core_.PyApp__BootstrapApp(*args, **kwargs)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line 1577, in OnInit</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> workspace = self.workspaceFile)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line 186, in __init__</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> self.NewDisplay(show=False)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/wxgui.py", line 1171, in NewDisplay</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> auimgr=self._auimgr, showMapDisplay=show)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/gui_modules/wxgui_utils.py", line 108, in __init__</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> Map=self.Map, auimgr=self.auimgr)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/local/grass7.0.svn-28_11_2009/etc/wxpython/gui_modules/mapdisp.py", line 280, in __init__</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> self.MapWindow.ZoomHistory(self.Map.region['n'],</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">KeyError: 'n'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">GRASS 7.0.svn (jordan_wgs84):~/grass_7_source/grass_trunk > whereis libgdal.so.1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">libgdal.so: /usr/lib/libgdal.so.1 /usr/lib64/libgdal.so.1 /usr/local/lib/libgdal.so /usr/local/lib/libgdal.so.1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">GRASS 7.0.svn (jordan_wgs84):~/grass_7_source/grass_trunk > g.region -p</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">g.region: error while loading shared libraries: libproj.so.0: cannot open shared object file: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">GRASS 7.0.svn (jordan_wgs84):~/grass_7_source/grass_trunk > whereis libproj.so.0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">libproj.so: /usr/lib/libproj.so.0 /usr/lib/libproj.so /usr/lib64/libproj.so.0 /usr/lib64/libproj.so</span><br style="font-family: courier new,monospace;">
<br clear="all">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.<br><br>Is there some trick to this on Ubuntu 9.10 that I am unaware of? Any help will be greatly appreciated!<br>
<br>-- <br><br>Isaac I Ullah, M.A.<br><br>Archaeology PhD Student,<br>ASU School of Evolution and Social Change<br><br>Research Assistant,<br>Mediterranean Landscape Dynamics Project<br>***************************************************<br>
<a href="mailto:isaac.ullah@asu.edu">isaac.ullah@asu.edu</a><br><a href="mailto:ullah@archaeologist.com">ullah@archaeologist.com</a><br><br><a href="http://www.public.asu.edu/~iullah">http://www.public.asu.edu/~iullah</a><br>
***************************************************<br>