[gdal-dev] Re: Compile error with --with-python

ChiefDan at gmail.com chiefdan at gmail.com
Mon Mar 8 17:36:59 EST 2010


Alan,
Thanks for the info. I'll give that a shot.

Dan

On Mon, Mar 8, 2010 at 2:52 PM, Alan Boudreault
<aboudreault at mapgears.com> wrote:
> 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