Bug #4271
closedSaxon/C extension installation at Ubuntu 16.04 dont works!
0%
Description
Hello,
i install saxon/c php extension on ubuntu 16.04 with php 5.6. All works fine to the make step, after i run the make command, i get this error:
Makefile:194: recipe for target 'php5_saxon.lo' failed
i have replaced the PHP5 config.m4 with the default.
Related issues
Updated by O'Neil Delpratt over 5 years ago
- Project changed from Saxon to SaxonC
- Category set to Linux
- Assignee set to O'Neil Delpratt
Thanks for reporting your issue. Investigating it now.
Updated by O'Neil Delpratt over 5 years ago
- Tracker changed from Support to Bug
- Status changed from New to AwaitingInfo
- Found in version set to 1.1.2
This bug issue is related to the issue #4151. The call to the method getUnderlyingValue() should take not arguments
On line 836 of the file php5_saxon.cpp please replace:
obj = ooth->xdmNode->getUnderlyingValue(NULL);
With the following:
obj = ooth->xdmNode->getUnderlyingValue();
Alternatively you can download the following file which contains the fix:
Updated by O'Neil Delpratt over 5 years ago
- Related to Bug #4151: support of compileFromStringAndSave / compileFromFileAndSave + PHP5 build added
Updated by Denis Jurkovsek over 5 years ago
I have replaced this line and maked the phpize and configure again, but it stills shows the error. Must i make some more to?
Updated by O'Neil Delpratt over 5 years ago
Hi,
Summary of the problem as discussed on stackoverflow:
The issue is that the PHP7-dev is installed on the linux machine therefore phpize is building for PHP7. The user has the PHP5 server installed but not the PHP5-dev for building extensions. I have suggested to install PHP5-dev on the machine which comes with phpize5 and then it will be possible to build Saxon/C for PHP5.
Alternatively, I have built the Saxon/C PHP5 library myself and committed it to the following place to download and copy to the directory '/usr/lib/php5/20121212/':
Updated by O'Neil Delpratt over 5 years ago
- Status changed from AwaitingInfo to Rejected
This issue has been resolved by the user. See: https://stackoverflow.com/questions/57371074/why-apache-dont-activate-saxon-c-extension
Therefore I am marking this issue as 'Rejected'.
Please register to edit this issue