[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

swig-py will not compile.

From: Ray Van Dolson <rayvd_at_digitalpath.net>
Date: 2004-11-11 21:19:34 CET

Subversion builds and installs fine, however when I try to build the Python
SWIG bindings, I get many errors.

This is RHES3 (I had to remove the RPM swig since it appeared to be too
old), with SWIG 1.3.19 (Tried the latest version but had the same errors so
I decided to try the exact version mentioned in the Subversion README).

Python 2.2 is the default RHES3 install.

Here are the errors I am getting:

[root@dbinterface subversion-1.1.1]# make swig-py
/bin/sh /usr/local/src/subversion/sources/subversion-1.1.1/libtool --silent --mode=compile gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686
-D_GNU_SOURCE -fPIC -fPIC -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-I/usr/local/src/subversion/sources/subversion-1.1.1/subversion/bindings/swig -I/usr/local/src/subversion/sources/subversion-1.1.1/subversion/include
-I/usr/local/lib/swig1.3 -DSVN_SWIG_VERSION=103019 -I/usr/local/src/subversion/sources/subversion-1.1.1/apr/include
-I/usr/local/src/subversion/sources/subversion-1.1.1/apr-util/include -I/usr/local/src/subversion/sources/subversion-1.1.1/subversion/bindings/swig
-I/usr/local/src/subversion/sources/subversion-1.1.1/subversion/include -I/usr/local/lib/swig1.3 -DSVN_SWIG_VERSION=103019
-I/usr/local/src/subversion/sources/subversion-1.1.1/apr/include -I/usr/local/src/subversion/sources/subversion-1.1.1/apr-util/include
-I/usr/include/python2.2 -I/usr/local/src/subversion/sources/subversion-1.1.1/subversion/bindings/swig/python/libsvn_swig_py -prefer-pic -c -o
subversion/bindings/swig/python/svn_client.lo subversion/bindings/swig/python/svn_client.c
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_version':
subversion/bindings/swig/python/svn_client.c:1243: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_get_simple_prompt_provider':
subversion/bindings/swig/python/svn_client.c:1264: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_get_username_prompt_provider':
subversion/bindings/swig/python/svn_client.c:1317: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_get_simple_provider':
subversion/bindings/swig/python/svn_client.c:1370: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_get_username_provider':
subversion/bindings/swig/python/svn_client.c:1410: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_get_ssl_server_trust_file_provider':
subversion/bindings/swig/python/svn_client.c:1450: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_get_ssl_client_cert_file_provider':
subversion/bindings/swig/python/svn_client.c:1490: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_get_ssl_client_cert_pw_file_provider':
subversion/bindings/swig/python/svn_client.c:1530: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_get_ssl_server_trust_prompt_provider':
subversion/bindings/swig/python/svn_client.c:1570: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_get_ssl_client_cert_prompt_provider':
subversion/bindings/swig/python/svn_client.c:1619: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_get_ssl_client_cert_pw_prompt_provider':
subversion/bindings/swig/python/svn_client.c:1672: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_info_t_revision_set':
subversion/bindings/swig/python/svn_client.c:1725: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_info_t_revision_get':
subversion/bindings/swig/python/svn_client.c:1746: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_info_t_date_set':
subversion/bindings/swig/python/svn_client.c:1764: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_info_t_date_get':
subversion/bindings/swig/python/svn_client.c:1790: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_info_t_author_set':
subversion/bindings/swig/python/svn_client.c:1808: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_info_t_author_get':
subversion/bindings/swig/python/svn_client.c:1834: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_new_svn_client_commit_info_t':
subversion/bindings/swig/python/svn_client.c:1852: parameter name omitted
subversion/bindings/swig/python/svn_client.c:1860: `new' undeclared (first use in this function)
subversion/bindings/swig/python/svn_client.c:1860: (Each undeclared identifier is reported only once
subversion/bindings/swig/python/svn_client.c:1860: for each function it appears in.)
subversion/bindings/swig/python/svn_client.c:1860: syntax error before "svn_client_commit_info_t"
subversion/bindings/swig/python/svn_client.c: In function `_wrap_delete_svn_client_commit_info_t':
subversion/bindings/swig/python/svn_client.c:1873: parameter name omitted
subversion/bindings/swig/python/svn_client.c:1884: `delete' undeclared (first use in this function)
subversion/bindings/swig/python/svn_client.c:1884: syntax error before "arg1"
subversion/bindings/swig/python/svn_client.c: In function `svn_client_commit_info_t_swigregister':
subversion/bindings/swig/python/svn_client.c:1897: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_path_set':
subversion/bindings/swig/python/svn_client.c:1904: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_path_get':
subversion/bindings/swig/python/svn_client.c:1930: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_kind_set':
subversion/bindings/swig/python/svn_client.c:1948: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_kind_get':
subversion/bindings/swig/python/svn_client.c:1969: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_url_set':
subversion/bindings/swig/python/svn_client.c:1987: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_url_get':
subversion/bindings/swig/python/svn_client.c:2013: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_revision_set':
subversion/bindings/swig/python/svn_client.c:2031: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_revision_get':
subversion/bindings/swig/python/svn_client.c:2052: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_copyfrom_url_set':
subversion/bindings/swig/python/svn_client.c:2070: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_copyfrom_url_get':
subversion/bindings/swig/python/svn_client.c:2096: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_state_flags_set':
subversion/bindings/swig/python/svn_client.c:2114: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_state_flags_get':
subversion/bindings/swig/python/svn_client.c:2135: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_wcprop_changes_set':
subversion/bindings/swig/python/svn_client.c:2153: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit_item_t_wcprop_changes_get':
subversion/bindings/swig/python/svn_client.c:2174: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_new_svn_client_commit_item_t':
subversion/bindings/swig/python/svn_client.c:2192: parameter name omitted
subversion/bindings/swig/python/svn_client.c:2200: `new' undeclared (first use in this function)
subversion/bindings/swig/python/svn_client.c:2200: syntax error before "svn_client_commit_item_t"
subversion/bindings/swig/python/svn_client.c: In function `_wrap_delete_svn_client_commit_item_t':
subversion/bindings/swig/python/svn_client.c:2213: parameter name omitted
subversion/bindings/swig/python/svn_client.c:2224: `delete' undeclared (first use in this function)
subversion/bindings/swig/python/svn_client.c:2224: syntax error before "arg1"
subversion/bindings/swig/python/svn_client.c: In function `svn_client_commit_item_t_swigregister':
subversion/bindings/swig/python/svn_client.c:2237: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_auth_baton_set':
subversion/bindings/swig/python/svn_client.c:2244: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_auth_baton_get':
subversion/bindings/swig/python/svn_client.c:2265: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_notify_func_set':
subversion/bindings/swig/python/svn_client.c:2283: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_notify_func_get':
subversion/bindings/swig/python/svn_client.c:2306: parameter name omitted
subversion/bindings/swig/python/svn_client.c:2319: `new' undeclared (first use in this function)
subversion/bindings/swig/python/svn_client.c:2319: syntax error before "svn_wc_notify_func_t"
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_notify_baton_set':
subversion/bindings/swig/python/svn_client.c:2328: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_notify_baton_get':
subversion/bindings/swig/python/svn_client.c:2348: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_log_msg_func_set':
subversion/bindings/swig/python/svn_client.c:2366: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_log_msg_func_get':
subversion/bindings/swig/python/svn_client.c:2387: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_log_msg_baton_set':
subversion/bindings/swig/python/svn_client.c:2405: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_log_msg_baton_get':
subversion/bindings/swig/python/svn_client.c:2425: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_config_set':
subversion/bindings/swig/python/svn_client.c:2443: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_config_get':
subversion/bindings/swig/python/svn_client.c:2464: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_cancel_func_set':
subversion/bindings/swig/python/svn_client.c:2482: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_cancel_func_get':
subversion/bindings/swig/python/svn_client.c:2503: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_cancel_baton_set':
subversion/bindings/swig/python/svn_client.c:2521: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ctx_t_cancel_baton_get':
subversion/bindings/swig/python/svn_client.c:2541: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_new_svn_client_ctx_t':
subversion/bindings/swig/python/svn_client.c:2559: parameter name omitted
subversion/bindings/swig/python/svn_client.c:2567: `new' undeclared (first use in this function)
subversion/bindings/swig/python/svn_client.c:2567: syntax error before "svn_client_ctx_t"
subversion/bindings/swig/python/svn_client.c: In function `_wrap_delete_svn_client_ctx_t':
subversion/bindings/swig/python/svn_client.c:2580: parameter name omitted
subversion/bindings/swig/python/svn_client.c:2591: `delete' undeclared (first use in this function)
subversion/bindings/swig/python/svn_client.c:2591: syntax error before "arg1"
subversion/bindings/swig/python/svn_client.c: In function `svn_client_ctx_t_swigregister':
subversion/bindings/swig/python/svn_client.c:2604: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_create_context':
subversion/bindings/swig/python/svn_client.c:2611: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_checkout':
subversion/bindings/swig/python/svn_client.c:2662: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_update':
subversion/bindings/swig/python/svn_client.c:2728: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_switch':
subversion/bindings/swig/python/svn_client.c:2791: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_add2':
subversion/bindings/swig/python/svn_client.c:2857: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_add':
subversion/bindings/swig/python/svn_client.c:2914: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_mkdir':
subversion/bindings/swig/python/svn_client.c:2967: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_delete':
subversion/bindings/swig/python/svn_client.c:3030: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_import':
subversion/bindings/swig/python/svn_client.c:3097: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_commit':
subversion/bindings/swig/python/svn_client.c:3162: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_status':
subversion/bindings/swig/python/svn_client.c:3229: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_log':
subversion/bindings/swig/python/svn_client.c:3311: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_blame':
subversion/bindings/swig/python/svn_client.c:3388: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_diff':
subversion/bindings/swig/python/svn_client.c:3452: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_diff_peg':
subversion/bindings/swig/python/svn_client.c:3542: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_merge':
subversion/bindings/swig/python/svn_client.c:3633: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_merge_peg':
subversion/bindings/swig/python/svn_client.c:3712: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_cleanup':
subversion/bindings/swig/python/svn_client.c:3792: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_relocate':
subversion/bindings/swig/python/svn_client.c:3841: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_revert':
subversion/bindings/swig/python/svn_client.c:3900: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_resolved':
subversion/bindings/swig/python/svn_client.c:3958: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_copy':
subversion/bindings/swig/python/svn_client.c:4011: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_move':
subversion/bindings/swig/python/svn_client.c:4076: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_propset':
subversion/bindings/swig/python/svn_client.c:4145: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_revprop_set':
subversion/bindings/swig/python/svn_client.c:4213: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_propget':
subversion/bindings/swig/python/svn_client.c:4295: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_revprop_get':
subversion/bindings/swig/python/svn_client.c:4363: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_proplist':
subversion/bindings/swig/python/svn_client.c:4443: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_revprop_list':
subversion/bindings/swig/python/svn_client.c:4533: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_export2':
subversion/bindings/swig/python/svn_client.c:4600: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_export':
subversion/bindings/swig/python/svn_client.c:4669: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_ls':
subversion/bindings/swig/python/svn_client.c:4735: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_cat':
subversion/bindings/swig/python/svn_client.c:4800: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_url_from_path':
subversion/bindings/swig/python/svn_client.c:4857: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_uuid_from_url':
subversion/bindings/swig/python/svn_client.c:4918: parameter name omitted
subversion/bindings/swig/python/svn_client.c: In function `_wrap_svn_client_uuid_from_path':
subversion/bindings/swig/python/svn_client.c:4983: parameter name omitted
make: *** [subversion/bindings/swig/python/svn_client.lo] Error 1

Any ideas?

Thanks,
Ray

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 11 21:19:54 2004

This is an archived mail posted to the Subversion Users mailing list.