Hi,
Thanks!
it's a 32bit-machine. I tried
 export LD_LIBRARY_PATH=/usr/lib/rt/lib:/usr/lib/rt/bin:/usr/lib/rt/jetrt:/usr/lib/jvm/java-6-openjdk-i386/include/linux:/usr/lib/jvm/java-6-openjdk-i386/include:$LD_LIBRARY_PATH

but am getting the same mistake.
Best,
R
Am 03.05.2014 15:05, schrieb O'Neil Delpratt:
Hi,


It looks like you have not got the Java include on your class path.

Are you using a 32-bit machine or 64-bit?

Depending on what java you have installed already. You will need something like this?

export LD_LIBRARY_PATH=/usr/lib/rt/amd64:/usr/lib/jvm/java-6-openjdk-amd64/include/linux:/usr/lib/jvm/java-6-openjdk-amd64/include:$LD_LIBRARY_PATH

kind regards,

O'Neil

On 3 May 2014, at 12:24, Ruprecht von Waldenfels <ruprecht.waldenfels@gmail.com> wrote:

Dear All,
I have trouble installing the Saxon CE Php-extension on Ubuntu 13.10.

After unpacking to /usr/lib/ as recommended, I ran

 export LD_LIBRARY_PATH=/usr/lib/rt/lib/i386:$LD_LIBRARY_PATH

cd /usr/lib/Saxon-C-API
sudo phpize
./configure --enable-saxon
which all ran smooth, but for
sudo make
I got the following error:
/usr/lib/Saxon-C-API$ sudo make
/bin/bash /usr/lib/Saxon-C-API/libtool --mode=compile g++  -I.
-I/usr/lib/Saxon-C-API -DPHP_ATOM_INC -I/usr/lib/Saxon-C-API/include
-I/usr/lib/Saxon-C-API/main -I/usr/lib/Saxon-C-API -I/usr/include/php5
-I/usr/include/php5/main -I/usr/include/php5/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/ext
-I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -DHAVE_CONFIG_H  -g -O2   -c
/usr/lib/Saxon-C-API/SaxonProcessor.cpp -o SaxonProcessor.lo
libtool: compile:  g++ -I. -I/usr/lib/Saxon-C-API -DPHP_ATOM_INC
-I/usr/lib/Saxon-C-API/include -I/usr/lib/Saxon-C-API/main
-I/usr/lib/Saxon-C-API -I/usr/include/php5 -I/usr/include/php5/main
-I/usr/include/php5/TSRM -I/usr/include/php5/Zend
-I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c
/usr/lib/Saxon-C-API/SaxonProcessor.cpp  -fPIC -DPIC -o
.libs/SaxonProcessor.o
In file included from /usr/lib/Saxon-C-API/SaxonProcessor.cpp:8:0:
/usr/lib/Saxon-C-API/SaxonProcessor.h:3:17: fatal error: jni.h: No such
file or directory
 #include <jni.h>
                 ^
compilation terminated.
make: *** [SaxonProcessor.lo] Fehler 1

I would be very grateful for help, I have now idea how these things work.

Best,
Ruprecht


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: oneil@saxonica.com
Tel: +44 118 946 5894
Web: http://www.saxonica.com
Saxonica Community site: http://dev.saxonica.com
Bug tracking site: https://saxonica.plan.io/





------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs


_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help