Dear Ian,
In order to try compilation of nsphp from PHP rpms, you need
a) an rpm with zts enabled (php-zts), and
b) the development libraries (php-devel).
both have to be from a PHP 5.6.* version. Another weak point
is the question, how many of the configure options of PHP
were used in that rpm build, but that can be figured out via
the following command
$ php -i | grep zts
You should see "--enable-maintainer-zts" in the output and the
list of options used to configure PHP. These options can be compared
with these in nsphp/Makefile under the php target.
My first guess is that the errors you are seeing are due to an interface
change between PHP 5.4 and 5.6.
-g
PS: i have never tried this endeavor.
On 18.06.18 23:28, Ian Harding wrote:
I am trying to build nsphp without resorting to the "download and
build against" option in the Makefile. I am having trouble getting
that to Do The Right Thing in the context of rpmbuild.
I have php 5.4.16 installed but am getting errors, the scariest of
which being
error: too many arguments to function 'call_user_function'
(It's in a vm and hard to copy/paste) but will it build with 5.4.16?
Anyone got it to work in an RPM?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel