[sword-devel] SWIG bindings for Sword
Troy A. Griffitts
scribe at crosswire.org
Tue May 8 18:35:27 MST 2007
Andrew,
We would be very interested in any contributions you might have.
Currently, I'm not sure if we have anyone who will admit to owning the
swig bindings. There are a few projects who use them, and we get
contributions now and again, but it would be really nice if someone who
is currently using them would hold that pumpkin, even if for a short
time. I'd be happy to give you commit access to the swig bindings if
you would be willing to contribute from your experience.
-Troy.
Andrew Sterling Hanenkamp wrote:
> Thanks, that got me started thinking in the right direction. There's one
> detail I neglected to mention: I'm doing this on Mac OS X.
>
> Here's what ended up working for me:
>
> cd bindings/swig/package
> vim autogen.sh
>
> Here I edit the file so that cp does not use the -a option, which isn't
> valid in the BSD-style cp used in Mac OS X.
>
> libtoolize --force
>
> This replaces the missing ltmain.sh as well as freshening some of the
> other libtool files.
>
> ./autogen.sh
> ./configure
> make perl_make
>
> If I don't say just "perl_make" here, it barfs on a building one of the
> other bindings I don't care about.
>
> cd perl
> sudo make install
>
> Anyway, hope this may be helpful to someone else who'd like to build the
> bindings. It would be nice if there were at least a basic README file
> describing at least the basics to get someone going in the right
> direction. I'd be willing to contribute such if the maintainers are
> interested.
>
> Cheers,
> Andrew
>
> On 5/8/07, *Joachim Ansorg* <nospam+sword-devel at joachim-ansorg.de
> <mailto:nospam+sword-devel at joachim-ansorg.de>> wrote:
>
> Hi,
> I had to install libtool and swig before this.
>
> cd bindings/swig/package
> ./autogen.sh
> ./configure
> make
> cd perl
> make install
>
> At least that did it for me (after several tries :). The build
> system looks
> kind of broken to me, though.
>
> in swig/examples/ is a short example how the swig bindings could be
> used.
>
> Joachim
>
> > I was interested in attempting to build the SWIG bindings for
> Sword in
> > order to use the Sword API in conjunction with a Perl project I'm
> working
> > on. However, I'm having some trouble figuring out how to build
> them. They
> > don't build with the regular ./configure as far as I can tell and
> > bindings/configure seems to be missing. I'm a CPAN guru and know
> C++ and
> > Perl pretty well, but my autoconf/automake and SWIG skills are
> pretty weak,
> > so I may be missing something obvious.
> >
> > Anyway, at least a finger pointing in the right direction would be
> > appreciated.
> >
> > Cheers,
> > Sterling
>
>
>
> --
> <>< Re: deemed
> www.bibletime.info <http://www.bibletime.info>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list