List Info

Thread: MAC: pysvn in my package don't work




MAC: pysvn in my package don't work
user name
2007-07-05 09:04:48
Hi all,
i'm using pysvn (compiled by source with python2.3 on Mac
Tiger) in my 
python application . On my computer (MAC) works fine, and
the directory 
containing pysvn is /Users/myaccont/myapplication/pysvn.

When i try the same application on a another
"CLEAN" Mac, where i copy 
the same directory pysvn of my computer ... pysvn don't
works, because 
the pysvn module (_pysvn_2_3.so) searchs the depended
libraries in 
/Users/myaccont/myapplication/pysvn.

I'm trying use the tool "install_name_tool
-change" 
(http://qin.laya.com/tech_coding_help/dylib_linking.html) to change the 
absolute path of _pysvn_2_3.so and others dylib:

    -if i substitute the new absolute path on another Mac
(example -> 
/Users/myanotehraccont/myapplication/pysvn), pysvn works
fine

    -if i specify a insert an relative path (or for example

executable_path/../) don't works.

I'm thinking that the best solution is recompiling pysvn
with a static 
so (containing all dependencing). How can do that?

any ideas?

Thanks,

daniele

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


Re: MAC: pysvn in my package don't work
user name
2007-07-06 15:22:12

On Jul 5, 2007, at 15:04, Daniele Rizzo wrote:

Hi all,
i'm using pysvn (compiled by source with python2.3 on Mac Tiger) in my python application . On my computer (MAC) works fine, and the directory containing pysvn is /Users/myaccont/myapplication/pysvn.

When i try the same application on a another "CLEAN" Mac, where i copy the same directory pysvn of my computer ... pysvn don't works, because the pysvn module (_pysvn_2_3.so) searchs the depended libraries in /Users/myaccont/myapplication/pysvn.

I'm trying use the tool "install_name_tool -change" (http://qin.laya.com/tech_coding_help/dylib_linking.html) to change the absolute path of _pysvn_2_3.so and others dylib:

   -if i substitute the new absolute path on another Mac (example -> /Users/myanotehraccont/myapplication/pysvn), pysvn works fine

   -if i specify a insert an relative path (or for example executable_path/../) don't works.

I'm thinking that the best solution is recompiling pysvn with a static so (containing all dependencing). How can do that?

any ideas?

I solved all these problems with the building and kitting process that I use for pysvn.

and it will detail how to build your own pysvn kit.

Barry



[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )