Hi to all
I have just build gdal and grass (6.5) from their respective svn sources.
When I start grass, I get this error:
"""
WARNING: Digitization tool is disabled (libgdal1.5.0.so.1: cannot open
shared object file: No such file or directory). Detailed information
in README file.
Traceback (most recent call last):
File "/usr/local/grass-6.5.svn/etc/wxpython/wxgui.py", line 1642, in <module>
sys.exit(main())
File "/usr/local/grass-6.5.svn/etc/wxpython/wxgui.py", line 1635, in main
app = GMApp(workspaceFile)
File "/usr/local/grass-6.5.svn/etc/wxpython/wxgui.py", line 1557, in __init__
wx.App.__init__(self, False)
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7912, in __init__
self._BootstrapApp()
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7487, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/local/grass-6.5.svn/etc/wxpython/wxgui.py", line 1573, in OnInit
workspace = self.workspaceFile)
File "/usr/local/grass-6.5.svn/etc/wxpython/wxgui.py", line 175, in __init__
self.NewDisplay(show=False)
File "/usr/local/grass-6.5.svn/etc/wxpython/wxgui.py", line 1201, in
NewDisplay
auimgr=self._auimgr, showMapDisplay=show)
File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/wxgui_utils.py",
line 106, in __init__
Map=self.Map, auimgr=self.auimgr)
File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/mapdisp.py",
line 259, in __init__
self.MapWindow.ZoomHistory(self.Map.region['n'],
KeyError: 'n'
"""
I have read README already.
There are not others gdal install in the system: all packages from
official Ubuntu repositories have been completely removed by apt.
It seems wx can't find gdal (libgdal1.5.0.so.1 ): but I compiled gdal
from svn source which version is >=1.6.
I compiled following the script attached (not a true scrip, just a
reminder and same notes about what I'm going to do! If it works it
will be useful). I updated my /etc/ld.so.conf and run ldconfig as
root. I also link grass library into gdal directory and compile
gdal-grass plugin -with-grass=${DIR_INST_GRASS} and
--with-gdal=${DIR_INST_GDAL}/bin/gdal-config.
What's wrong?
--
--
Paolo C.
Lat. 44° 39' 11.08'' N Long. 7° 23' 25.26'' E
(attachments)
compgdalgrass.txt (6.42 KB)