[sword-devel] PHP?

Joachim Ansorg sword-devel@crosswire.org
Mon, 11 Nov 2002 16:33:37 +0100


bindings/perl is an old thing, bindings/swig is a Swigt binding which can be 
used to generate Perl, PHP, TCL etc. bindings with much more powerful 
functions.

Joachim


> I get this error message when I try make in the bindings/perl.
>
> Sword.xs: In function 'void XS_Sword__VerseIterator__parse_verse_list
> (CV *)':
> Sword.xs:234: parse error before '='
> make:  *** {Sword.o} Error 1
>
> Can anyone help?
>
> What is the difference between bindings/perl and bindings/swig?  Both
> seem to work with perl.
>
> Thanks
> Chad
>
> On Sun, 2002-11-10 at 18:55, David's Mailing List and Spam Receiver
>
> wrote:
> > On Sunday 10 November 2002 05:28 pm, Daniel Adams wrote:
> > > I am not sure, what I am desiring is a way to include verses (like
> > > diatheke output) in a ASP or PHP type web page.
> > >
> > > I appreciate the comments. Also where/how do I look to see what these
> > > bindings/perl are?
> >
> > bindings/perl is just a directory in the source tree with a perl module
> > that uses the sword libs. Looks mildly interesting actually. In your
> > sword-1.5.5 top-level source directory (~/temp/sword-1.5.5/ for me since
> > I've got an installed sword package already) type the following
> >
> > cd bindings/perl/
> > perl Makefile.PL
> > make
> > (as root) make install
> >
> > Then the perl module should be installed and accessible. Docs and other
> > useful things can be then obtained via typing "perldoc Sword" (sans
> > quotes). --
> > Davids Mailing List And Spam Receiver
> >    Keeping me (relatively) spam free since 2002

-- 
Joachim Ansorg
www.bibletime.de
www.ansorgs.de