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.<br><br>Here's what ended up working for me:<br><br>cd bindings/swig/package<br>
vim autogen.sh<br><br>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.<br><br>libtoolize --force<br><br>This replaces the missing ltmain.sh as well as freshening some of the other libtool files.
<br><br>./autogen.sh<br>./configure<br>make perl_make<br><br>If I don't say just "perl_make" here, it barfs on a building one of the other bindings I don't care about.<br><br>cd perl<br>sudo make install
<br><br>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.
<br><br>Cheers,<br>Andrew<br><br><div><span class="gmail_quote">On 5/8/07, <b class="gmail_sendername">Joachim Ansorg</b> <<a href="mailto:nospam+sword-devel@joachim-ansorg.de">nospam+sword-devel@joachim-ansorg.de</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>I had to install libtool and swig before this.<br><br>cd bindings/swig/package
<br>./autogen.sh<br>./configure<br>make<br>cd perl<br>make install<br><br>At least that did it for me (after several tries :). The build system looks<br>kind of broken to me, though.<br><br>in swig/examples/ is a short example how the swig bindings could be used.
<br><br>Joachim<br><br>> I was interested in attempting to build the SWIG bindings for Sword in<br>> order to use the Sword API in conjunction with a Perl project I'm working<br>> on. However, I'm having some trouble figuring out how to build them. They
<br>> don't build with the regular ./configure as far as I can tell and<br>> bindings/configure seems to be missing. I'm a CPAN guru and know C++ and<br>> Perl pretty well, but my autoconf/automake and SWIG skills are pretty weak,
<br>> so I may be missing something obvious.<br>><br>> Anyway, at least a finger pointing in the right direction would be<br>> appreciated.<br>><br>> Cheers,<br>> Sterling<br><br><br><br>--<br><>< Re: deemed
<br><a href="http://www.bibletime.info">www.bibletime.info</a><br></blockquote></div><br>