htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=85
Issue #|85
Summary|errors when compiling on leopard
for python in non-sta
|ndard location
Component|pysvn
Version|current
Platform|Macintosh
OS/Version|All
URL|
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|extension
Assigned to|barryscott
Reported by|jens_nielsen
------- Additional comments from jens_nielsen tigris.org Thu Jan 17 14:05:59 -0800 2008 -------
Hi
Tried compiling the pysvn extension on mac osx (leopard)
after downloading and
compiling python 2.5.1. in a local directory:
Note: Had to modify pyconfig.h to compile python on leopard
as detailed on
Proceeded to compile pysvn
cd Source
<localdir>/bin/python setup.py configure
make
First problem I have is that pysvn assumes that libpython is
in the root dir of
the python installation (instead of in
<root>/lib/python2.5/config/ [see below])
Fixed that by changing the Makefile manually. Next problem
is:
nielsen Macintosh-5.local
/Users/nielsen/Desktop/PEAT_installer/pysvn-1.5.2/Source>
make
g++ -bundle -u _PyMac_Error -framework System
/Users/nielsen/Desktop/PEAT_installer/PEAT/lib/python2.5/con
fig/libpython2.5.a
-framework CoreFoundation -framework Kerberos -framework
Security -o
pysvn/_pysvn_2_5.so pysvn.o pysvn_callbacks.o pysvn_client.o
pysvn_enum_string.o
pysvn_transaction.o pysvn_revision.o pysvn_docs.o
pysvn_path.o
pysvn_arg_processing.o pysvn_converters.o pysvn_svnenv.o
pysvn_profile.o
cxxsupport.o cxx_extensions.o cxxextensions.o
IndirectPythonInterface.o
-L/usr/lib -L/usr/lib -lsvn_client-1 -lsvn_repos-1
-lsvn_wc-1 -lsvn_fs-1
-lsvn_subr-1 -lsvn_diff-1 -lapr-1
Undefined symbols:
"_environ", referenced from:
_environ$non_lazy_ptr in
libpython2.5.a(posixmodule.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [pysvn/_pysvn_2_5.so] Error 1
?
Help
------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribe pysvn.tigris.org
For additional commands, e-mail: issues-help pysvn.tigris.org
|