On Oct 16, 2010, at 3:48 AM, kiorky wrote:

> Look at src/mapnik2/utils.py.
> The code may need to be adjusted for osx (there is a piece of code to add
> libboospython using ctypes's CDLL.

Yes, certainly it does. On os x it was appending a .dll extension instead of 
.dylib.

See attached patch.

Attachment: utils.diff
Description: Binary data


> Note that the often used find_library is useless as it dont search in
> ld_library_path and that's why i really don't like it.
> 
> Le 16/10/2010 00:07, Dane Springmeyer a écrit :
>> Kiorky.
>> 
>> Awesome contribution, thanks for putting effort into this.
>> 
>> Please be aware that the mapnik-config program is newly added (by me) in
>> trunk and fully untested, except for your usage (thanks!).
>> 
>> I tested the setup.py briefly on osx and one thing I notice right off is
>> that linking to libboost_python is not done (as it is not reported via
>> mapnik-config), so the build fails. But if I add that link things seem
>> to work fine. I'll try to test more next week.
>> 
>> Dane
>> 
>> --- \o/ ---
>> Sent from my phone
>> 
>> On Oct 11, 2010, at 4:19 PM, kiorky <[email protected]> wrote:
>> 
>>> Hi,
>>> As a buildout fan, mapnik python bindings were hard to deploy for me.
>>> I made some refactoring (just paths.py refactor to use mapnik-config
>>> at runtime
>>> to find input/ and fonts/ and code relayout) to deploy it as a regular
>>> distutils/setuptools distribution.
>>> This allows the bindings to be deployed as a Python egg (eg: use it with
>>> easy_install).
>>> You can find the following repository there : [1]
>>> I did not registered it yet with pypi without your agreement.
>>> 
>>> [1] - http://bitbucket.org/kiorky/mapnik-egg
>>> -- 
>>> Cordialement,
>>> KiOrKY
>>> GPG Key FingerPrint: 0x1A1194B7681112AF
>>> Pensez à l’environnement.
>>> N’imprimez ce courriel que si vous en avez vraiment besoin.
>>> 
>>> _______________________________________________
>>> Mapnik-users mailing list
>>> [email protected]
>>> https://lists.berlios.de/mailman/listinfo/mapnik-users
> 
> -- 
> Cordialement,
> KiOrKY
> GPG Key FingerPrint: 0x1A1194B7681112AF
> Pensez à l’environnement.
> N’imprimez ce courriel que si vous en avez vraiment besoin.
> 

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to