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

Re: Building subversion/bindings/java/javahl with rev 6351

From: Patrick Mayweg <mayweg_at_qint.de>
Date: 2003-06-26 08:23:06 CEST

Hi Nathan,
I did not found the time to implement the lastest changes in the client interface
into the javahl bindings. I will do that during this week and will came back to
you when I am done.
Regards,
Patrick

Nathan Wiebe wrote:

> Hi, I'm trying to get Subversion working with Eclipse, on RedHat 9.
>
> Subclipse uses the java jni bindings provided by svnup
> (http://www.qint.de/svnup.html). I gather that these bindings are being
> integrated into the subversion distrubtion, in
> subversion/bindings/java/javahl.
>
> I'm having a distinct lack of success compiling the bindings. Is it supposed
> to work right now? Does anyone have any suggestions?
>
> This is the output when I run 'make':
>
> [root@peanut javahl]# pwd
> /usr/local/src/svn-svn/subversion/subversion/bindings/java/javahl
>
> [root@peanut javahl]# make
> Making all in src
> make[1]: Entering directory
> `/usr/local/src/svn-svn/subversion/subversion/bindings/java/javahl/src'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/usr/local/src/svn-svn/subversion/subversion/bindings/java/javahl/src'
> Making all in native
> make[1]: Entering directory
> `/usr/local/src/svn-svn/subversion/subversion/bindings/java/javahl/native'
> make all-am
> make[2]: Entering directory
> `/usr/local/src/svn-svn/subversion/subversion/bindings/java/javahl/native'
> source='SVNClient.cpp' object='SVNClient.lo' libtool=yes \
> depfile='.deps/SVNClient.Plo' tmpdepfile='.deps/SVNClient.TPlo' \
> depmode=gcc3 /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile g++ -DPACKAGE_NAME=\"javahl\"
> -DPACKAGE_TARNAME=\"javahl\" -DPACKAGE_VERSION=\"0.24\"
> -DPACKAGE_STRING=\"javahl\ 0.24\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"javahl\" -DVERSION=\"0.24\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -g -O2 -pthread -DNEON_ZLIB
> -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
> -D_GNU_SOURCE
> -I/usr/local/src/svn-svn/subversion/include -I/neon/src
> -I/usr/local/include/neon -I/usr/local/src/svn-svn/subversion/apr/include
> -I/usr/local/src/svn-svn/subversion/apr-util/include
> -I/usr/local/src/svn-svn/subversion/apr-util/xml/expat/lib
> -I/usr/local/src/svn-svn/subversion/subversion/include
> -I/usr/java/j2sdk1.4.1_03//include -I/usr/java/j2sdk1.4.1_03//include/linux
> -c -o SVNClient.lo `test -f 'SVNClient.cpp' || echo './'`SVNClient.cpp
> rm -f .libs/SVNClient.lo
> g++ -DPACKAGE_NAME=\"javahl\" -DPACKAGE_TARNAME=\"javahl\"
> -DPACKAGE_VERSION=\"0.24\" "-DPACKAGE_STRING=\"javahl 0.24\""
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"javahl\" -DVERSION=\"0.24\"
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -g -O2
> -pthread -DNEON_ZLIB -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -D_SVID_SOURCE -D_GNU_SOURCE -I/usr/local/src/svn-svn/subversion/include
> -I/neon/src -I/usr/local/include/neon
> -I/usr/local/src/svn-svn/subversion/apr/include
> -I/usr/local/src/svn-svn/subversion/apr-util/include
> -I/usr/local/src/svn-svn/subversion/apr-util/xml/expat/lib
> -I/usr/local/src/svn-svn/subversion/subversion/include
> -I/usr/java/j2sdk1.4.1_03//include -I/usr/java/j2sdk1.4.1_03//include/linux
> -c SVNClient.cpp -MT SVNClient.lo -MD -MP -MF .deps/SVNClient.TPlo -fPIC
> -DPIC -o .libs/SVNClient.lo
> SVNClient.cpp: In member function `void SVNClient::remove(const char*, const
> char*, bool)':
> SVNClient.cpp:435: cannot convert `const char*' to `const apr_array_header_t*'
> for argument `2' to `svn_error_t*
> svn_client_delete(svn_client_commit_info_t**, const apr_array_header_t*,
> int, svn_client_ctx_t*, apr_pool_t*)'
> SVNClient.cpp: In member function `void SVNClient::mkdir(const char*, const
> char*)':
> SVNClient.cpp:588: cannot convert `const char*' to `const apr_array_header_t*'
> for argument `2' to `svn_error_t*
> svn_client_mkdir(svn_client_commit_info_t**, const apr_array_header_t*,
> svn_client_ctx_t*, apr_pool_t*)'
> SVNClient.cpp: In member function `void SVNClient::doExport(const char*, const
> char*, Revision&)':
> SVNClient.cpp:648: invalid conversion from `svn_client_ctx_t*' to `int'
> SVNClient.cpp:648: cannot convert `apr_pool_t*' to `svn_client_ctx_t*' for
> argument `5' to `svn_error_t* svn_client_export(const char*, const char*,
> svn_opt_revision_t*, int, svn_client_ctx_t*, apr_pool_t*)'
> SVNClient.cpp: In member function `void SVNClient::doImport(const char*, const
> char*, const char*, const char*, bool)':
> SVNClient.cpp:696: invalid conversion from `const char*' to `int'
> SVNClient.cpp:696: cannot convert `bool' to `svn_client_ctx_t*' for argument
> `5
> ' to `svn_error_t* svn_client_import(svn_client_commit_info_t**, const
> char*, const char*, int, svn_client_ctx_t*, apr_pool_t*)'
> make[2]: *** [SVNClient.lo] Error 1
> make[2]: Leaving directory
> `/usr/local/src/svn-svn/subversion/subversion/bindings/java/javahl/native'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/usr/local/src/svn-svn/subversion/subversion/bindings/java/javahl/native'
> make: *** [all-recursive] Error 1
> [root@peanut javahl]#
>
> --
> Nathan Wiebe
> nathanw@mts.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 26 08:24:14 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.