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

Re: Perl bindings?

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-03-19 10:30:42 CET

On Tue, Mar 18, 2003 at 12:13:34PM -0500, Paul Lussier wrote:
> In a message dated: Tue, 18 Mar 2003 18:05:35 +0100
> Sander Roobol said:
>
> >I'm interested in creating PHP bindings, but I didn't got the time to
> >dive into swig yet. If someone helps Paul on the right track, I can
> >probably follow that path and work on the PHP bindings...
>
> It appears at first glance that most of the work has been done by
> creating the swig interface files in subversion/bindings/swig.
> Of course, I might also be completely wrong about that :)
>
> I try running 'swig -perl svn_client.i' in subversion/bindings/swig,
> and I get:
>
> apr.i:48: Unable to find 'apr.h'
> svn_types.i:197: Unable to find 'svn_types.h'
> svn_delta.i:60: Unable to find 'svn_delta.h'
> svn_client.i:232: Unable to find 'svn_client.h'
>
> So now I'm wondering how I tell swig where these headers are located.

You can use "-I/path/to/svn/include" etc. on the swig command line. You
should probably look at how the Python bindings are built by the
Makefile, though.

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 19 10:31:49 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.