[csw-maintainers] ld illegal option, pysvn

rupert THURNER rupert at opencsw.org
Mon Aug 3 23:49:55 CEST 2009


hi,

i try to build http://pysvn.tigris.org to run http://review-board.org.
after changing to a non-standard directory "backport" changes the
source to be python-2.x compliant (not python-3), then "configure" is
producing a Makefile. then the compilation ends with an ld error.

$ cd pysvn-1.7.0/Source
$ python ./setup.py backport
$ python setup.py configure
--svn-inc-dir=/opt/csw/include/subversion-1
--apr-inc-dir=/opt/csw/apache2/include --svn-bin-dir=/opt/csw/bin
--svn-lib-dir=/opt/csw/lib/svn --apr-lib-dir=/opt/csw/apache2/lib
$ gmake -j 20
...
Compile pysvn/_pysvn_2_6.so
g++ -shared  -o pysvn/_pysvn_2_6.so pysvn.o pysvn_callbacks.o
pysvn_client.o pysvn_static_strings.o pysvn_enum_string.o
pysvn_client_cmd_add.o pysvn_client_cmd_changelist.o
pysvn_client_cmd_checkin.o pysvn_client_cmd_copy.o
pysvn_client_cmd_diff.o pysvn_client_cmd_export.o
pysvn_client_cmd_info.o pysvn_client_cmd_list.o
pysvn_client_cmd_lock.o pysvn_client_cmd_merge.o
pysvn_client_cmd_prop.o pysvn_client_cmd_revprop.o
pysvn_client_cmd_switch.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/opt/csw/lib/svn
-Wl,--rpath -Wl,/opt/csw/lib/svn -lsvn_client-1 -lsvn_diff-1
-lsvn_repos-1  -lresolv -lexpat -lneon
/usr/ccs/bin/ld: illegal option -- -

how one could avoid this error? and how one could put these commands into gar?


rupert.



More information about the maintainers mailing list