[gdal-dev] Re: Compile error with --with-python
Alan Boudreault
aboudreault at mapgears.com
Mon Mar 8 14:52:10 EST 2010
Dan,
This is a problem related to the python setup tools and string encoding. To
fix it:
- Open the file "setup.py" in swig/python/.
- Go to line 141: self.library_dirs.append(os.path.join(self.gdaldir,'lib'))
- Add the following line just below the the line 141:
self.library_dirs = [path.encode("utf-8",'ignore') for path in
self.library_dirs]
- Save and compile/install
Alan
On March 4, 2010 08:19:34 am ChiefDan wrote:
> I grabbed the gdal-1.6.3.tar.gz release and ran through the make with no
> issues.
> Perhaps something has changed in the latest release make scripts somewhere?
>
>
>
> Dan
>
--
Alan Boudreault
Mapgears
http://www.mapgears.com
More information about the gdal-dev
mailing list