[gdal-dev] swig python install error
Vincent Schut
schut at sarvision.nl
Fri Aug 29 06:21:10 EDT 2008
After updating gdal from svn (15242), I get an error in swig/python when
running the install target:
numpy include /usr/lib/python2.5/site-packages/numpy/core/include
running install
running bdist_egg
running egg_info
writing GDAL.egg-info/PKG-INFO
writing top-level names to GDAL.egg-info/top_level.txt
writing dependency_links to GDAL.egg-info/dependency_links.txt
Traceback (most recent call last):
File "setup.py", line 228, in <module>
ext_modules = ext_modules )
File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File
"/usr/lib/python2.5/site-packages/setuptools/command/install.py", line
76, in run
self.do_egg_install()
File
"/usr/lib/python2.5/site-packages/setuptools/command/install.py", line
96, in do_egg_install
self.run_command('bdist_egg')
File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File
"/usr/lib/python2.5/site-packages/setuptools/command/bdist_egg.py", line
167, in run
self.run_command("egg_info")
File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File
"/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py", line
171, in run
self.find_sources()
File
"/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py", line
252, in find_sources
mm.run()
File
"/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py", line
306, in run
self.add_defaults()
File
"/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py", line
333, in add_defaults
rcfiles = list(walk_revctrl())
File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py",
line 45, in walk_revctrl
for item in ep.load()(dirname):
File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py",
line 52, in _default_revctrl
for path in finder(dirname,path):
File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py",
line 98, in entries_finder
log.warn("unrecognized .svn/entries format in %s", dirname)
NameError: global name 'log' is not defined
I've made clean distclean beforehand, and even by hand removed the build
and dist directories in the swig/python directory.
Is this a gdal problem or is something broken on my pc?
Cheers,
Vincent.
More information about the gdal-dev
mailing list