Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-13 Thread Greg Hellings
The language contribution for it just not have needed it, and no one has bothered to add it since. --Greg On Thu, Apr 13, 2023, 06:49 Patrick Stephan wrote: > Do you have any idea why? > > - Patrick > On Apr 13, 2023 at 6:40 AM -0500, Greg Hellings , > wrote: > > Without the missing std_list.i

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-13 Thread Patrick Stephan
Do you have any idea why? - Patrick On Apr 13, 2023 at 6:40 AM -0500, Greg Hellings , wrote: > Without the missing std_list.i file, it won't. If they've added that into > their head, then you'll be golden. But it has been missing since the days of > PHP4. > > --Greg > > > On Thu, Apr 13, 2023,

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-13 Thread Greg Hellings
Without the missing std_list.i file, it won't. If they've added that into their head, then you'll be golden. But it has been missing since the days of PHP4. --Greg On Thu, Apr 13, 2023, 06:12 Patrick Stephan wrote: > Something I discovered last night is that swig installed from apt-get >

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-13 Thread Patrick Stephan
Something I discovered last night is that swig installed from apt-get (which I am doing) is at version 4.0, which supports up to php 7.4. Tonight, I will attempt to build swig from source, which supports php 8. I’m crossing my fingers that that helps. - Patrick On Apr 13, 2023 at 6:05 AM

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-13 Thread Greg Hellings
Patrick, It has been a long time since I touched the PHP bonding build process. But the basic shortcoming you are encouraging is that Swig lacks support for converting a list from C++ into PHP. This isn't because PHP has no list, but because Swig bindings for PHP never got it added, at least not

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-12 Thread Patrick Stephan
Alright... So I've gotten a little bit farther... I was missing the `libtoolize --force` command before autogen. After including that command and replacing the php4 references with php8 in the php.m4, Makefile.am, and Makefile.in, I no longer get the "No rule to make target 'phpswig'. Stop."

Re: [sword-devel] PHP SWIG Bindings and Extension Development

2023-04-12 Thread Peter von Kaehne
I am not on my computer and speak from old memory but there is a two-step for Perl so I guess that may be for php too . Sent from my phone. Please forgive misspellings and weird “corrections” > On 12 Apr 2023, at 06:46, Patrick Stephan wrote: > >  > Hello! > > First off, I want to thank

[sword-devel] PHP SWIG Bindings and Extension Development

2023-04-11 Thread Patrick Stephan
Hello! First off, I want to thank everyone for their work in this project. It's an incredible work to make God's word more readily available. As the subject of the email suggests, I am trying to interface with the sword library with PHP. I am attempting to use the SWIG bindings provided, but