[sword-devel] SWIG bindings for Sword

Andrew Sterling Hanenkamp sterling at hanenkamp.com
Wed May 9 06:31:47 MST 2007


Troy,

I did some more thinking on it last night. I didn't want to accept the offer
unless I'd thought it over. I think I'd be willing to review patches and
such and watch the list for questions and write documentation. I'm not very
familiar with Sword yet, but I'm about to become familiar on a project I'm
working on. I'm at least familiar with all the languages involved with the
current bindings. I'm very familiar with Perl and PHP.

I would also like to see the Perl bindings distributed on CPAN, so if I
could help there, that would be great.

However, the place where I can probably most help the Sword project at this
point is in web development (which is what I do professionally and most of
what I do volunteering). I don't know how much help is needed on the site,
but I would be willing to help there.

Anyway, I'm giving a definite "yes" for the short term and I'm interested in
sticking for longer, but I can't make a deeper commitment just now.

Cheers,
Andrew

On 5/8/07, Troy A. Griffitts <scribe at crosswire.org> wrote:
>
> 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
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.crosswire.org/pipermail/sword-devel/attachments/20070509/1b8162e6/attachment-0001.html 


More information about the sword-devel mailing list