[sword-devel] SWIG bindings for Sword
Andrew Sterling Hanenkamp
sterling at hanenkamp.com
Tue May 8 18:19:52 MST 2007
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:
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.
This replaces the missing ltmain.sh as well as freshening some of the other
If I don't say just "perl_make" here, it barfs on a building one of the
other bindings I don't care about.
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.
On 5/8/07, Joachim Ansorg <nospam+sword-devel at joachim-ansorg.de> wrote:
> I had to install libtool and swig before this.
> cd bindings/swig/package
> cd perl
> make install
> At least that did it for me (after several tries :). The build system
> kind of broken to me, though.
> in swig/examples/ is a short example how the swig bindings could be used.
> > 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
> > on. However, I'm having some trouble figuring out how to build them.
> > 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
> > so I may be missing something obvious.
> > Anyway, at least a finger pointing in the right direction would be
> > appreciated.
> > Cheers,
> > Sterling
> <>< Re: deemed
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sword-devel