[gdal-dev] Re: Compile error with --with-python
ChiefDan at gmail.com
chiefdan at gmail.com
Mon Mar 8 17:36:59 EST 2010
Thanks for the info. I'll give that a shot.
On Mon, Mar 8, 2010 at 2:52 PM, Alan Boudreault
<aboudreault at mapgears.com> wrote:
> 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
> - Save and compile/install
> 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
>> Perhaps something has changed in the latest release make scripts somewhere?
> Alan Boudreault
More information about the gdal-dev