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

Re: [PATCH] gen_base.py should not generate reference to nonexistent library swigjava

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2003-02-06 18:07:37 CET

Kai Nacke <kai.nacke@redstar.de> writes:

> Hi all!
>
> I am playing around with SWIG 1.3.17 and the java bindings for subversion. I
> noticed that the build system tries to link with the external library libswigjava.
> But there is no such runtime library. (SWIG comes with libraries for Python,
> Tcl, Ruby and so on, but not for java.)
>
> This patch fixes the gen_base.py script.
>
> * build/gen_base.py
> (TargetSWIG.add_dependencies) Dependency to SWIG runtime library will
> only be added if target language is not java.
>
>
> Index: build/gen_base.py
> ===================================================================
> --- build/gen_base.py (revision 4764)
> +++ build/gen_base.py (working copy)
> @@ -520,7 +520,8 @@
>
> # add some language-specific libraries
> ### fix this. get these from the .conf file
> - graph.add(DT_LINK, library, ExternalLibrary('-lswig' + abbrev))
> + if abbrev <> 'java':
> + graph.add(DT_LINK, library, ExternalLibrary('-lswig' + abbrev))
> ### fix this, too. find the right Target swigutil lib. we know there
> ### will be only one.
> util = graph.get_sources(DT_INSTALL, 'swig-%s-lib' % abbrev)[0]

Hi Kai. You can attempt build the (incomplete) SWIG Java bindings
using the 'swig-java-ext' and 'swig-java-lib' targets. Can you
include the build output associated with the problem that you're
trying to fix?

-- 
Daniel Rall <dlr@finemaltcoding.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 6 18:08:24 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.