Project

Profile

Help

Bug #4531

closed

Saxon-HEC1.1.2 - issues with installation on linux64 (persistent jni errors) and question concerning python extension

Added by Lars Möller almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Python
Start date:
2020-04-28
Due date:
% Done:

0%

Estimated time:
Found in version:
Saxon-HEC1.1.2
Fixed in version:
Platforms:

Description

Hello,

I would like to perform (fairly simple) xsl transformations on large amounts of small xml files in python, and, due to the lack of XSL >2.0 support in common python implementations like lxml, hoped to achieve this task with the help of the Saxon/C Home Edition.

Unfortunately I am facing an incistent issue with jni (took me half a day before I finally gave up) when I try running one of the provided samples as suggested in here, indicating something is wrong with my installation. But before I dive deeper into this issue I'd rather ask something concerning the intended application in python.

Will I be able to use the python extension with the Home Edition once I'd get it up and running, or would I need to upgrade to one of the other product lines?

The descriptions on the Saxonica web page and the Feature Matrix imply (at least for me) there would be no restrictions in the HE in terms of the use of the python implementation. But, despite the python extension docs state that "The Python extension is held in the directory Saxon.C.API/python-saxon.", however, no such directory was created during the installation procedure - neither in v1.1.2 nor v1.0.2. Hence, I anticipate the wanted extension is only available in EE and PE?! Or am I wrong?

Thank you!

Best regards, Lars

PS: Here is what I get when trying to run the provided samples:

… In file included from ../../Saxon.C.API/SaxonCGlue.c:1:0: ../../Saxon.C.API/SaxonCGlue.h:11:10: fatal error: jni.h: Datei oder Verzeichnis nicht gefunden #include <jni.h> ^~~~~~~ compilation terminated. In file included from ../../Saxon.C.API/SaxonCProcessor.h:4:0, from ../../Saxon.C.API/SaxonCXPath.h:4, from ../../Saxon.C.API/SaxonCXPath.c:1: ../../Saxon.C.API/SaxonCGlue.h:11:10: fatal error: jni.h: Datei oder Verzeichnis nicht gefunden …


Files

saxon-setup_build.log (13.4 KB) saxon-setup_build.log Lars Möller, 2020-04-29 09:42

Please register to edit this issue

Also available in: Atom PDF