[gdal-dev] python build error on svn trunk
Kralidis,Tom [Ontario]
Tom.Kralidis at ec.gc.ca
Wed Dec 10 07:54:04 EST 2008
On make install (OS = fc10):
$./configure --with-png --with-libtiff=internal --with-geotiff=internal
--with-jpeg --with-xerces --with-geos=no --with-pg=/usr/bin/pg_config
--with-mysql=/usr/bin/mysql_config -
-with-sqlite --with-curl=/usr/bin/curl-config --with-python --with-expat
....
$ make
...
$ make install
...
/bin/sh /home/tkralidi/foss4g/gdal/trunk/gdal/libtool --mode=install
/home/tkralidi/foss4g/gdal/trunk/gdal/install-sh -c gdal-config-inst
/usr/local/bin/gdal-config
libtool: install: /home/tkralidi/foss4g/gdal/trunk/gdal/install-sh -c
gdal-config-inst /usr/local/bin/gdal-config
make[1]: Leaving directory `/home/tkralidi/foss4g/gdal/trunk/gdal/apps'
(cd swig; make install)
make[1]: Entering directory `/home/tkralidi/foss4g/gdal/trunk/gdal/swig'
for dir in python ; do (cd $dir; make install) || exit; done
make[2]: Entering directory
`/home/tkralidi/foss4g/gdal/trunk/gdal/swig/python'
python setup.py install
running install
running bdist_egg
running egg_info
creating GDAL.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
writing manifest file 'GDAL.egg-info/SOURCES.txt'
Traceback (most recent call last):
File "setup.py", line 239, 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
make[2]: *** [install] Error 1
make[2]: Leaving directory
`/home/tkralidi/foss4g/gdal/trunk/gdal/swig/python'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/tkralidi/foss4g/gdal/trunk/gdal/swig'
make: *** [install-actions] Error 2
More information about the gdal-dev
mailing list