Quantcast

Php Installation

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Php Installation

Ruprecht von Waldenfels
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation

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 <[hidden email]> 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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: [hidden email]
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation

Ruprecht von Waldenfels
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 <[hidden email]> 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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: [hidden email]
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 


------------------------------------------------------------------------------
"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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation

O'Neil Delpratt
I will have to look have to get to you on this, probably on Tuesday. I assume you have java installed. 

On 3 May 2014, at 14:31, Ruprecht von Waldenfels <[hidden email]> wrote:

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 <[hidden email]> 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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: [hidden email]
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 

------------------------------------------------------------------------------
"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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: [hidden email]
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation

Ruprecht von Waldenfels
Thanks - yes, I have java installed and it's in the path, that's for sure. Nothing else I can say, though. Thanks again!

Am 03.05.2014 15:51, schrieb O'Neil Delpratt:
I will have to look have to get to you on this, probably on Tuesday. I assume you have java installed. 

On 3 May 2014, at 14:31, Ruprecht von Waldenfels <[hidden email]> wrote:

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 <[hidden email]> 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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: [hidden email]
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 

------------------------------------------------------------------------------
"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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: [hidden email]
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 


------------------------------------------------------------------------------
"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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation

O'Neil Delpratt
One more thing is to check if the jni.h is in the java location specified.


On 3 May 2014, at 15:06, Ruprecht von Waldenfels <[hidden email]> wrote:

Thanks - yes, I have java installed and it's in the path, that's for sure. Nothing else I can say, though. Thanks again!

Am 03.05.2014 15:51, schrieb O'Neil Delpratt:
I will have to look have to get to you on this, probably on Tuesday. I assume you have java installed. 

On 3 May 2014, at 14:31, Ruprecht von Waldenfels <[hidden email]> wrote:

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 <[hidden email]> 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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: [hidden email]
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 

------------------------------------------------------------------------------
"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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: [hidden email]
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 

------------------------------------------------------------------------------
"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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: [hidden email]
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation

Ruprecht von Waldenfels
It's there.
Am 03.05.2014 16:53, schrieb O'Neil Delpratt:
One more thing is to check if the jni.h is in the java location specified.


On 3 May 2014, at 15:06, Ruprecht von Waldenfels <[hidden email]> wrote:

Thanks - yes, I have java installed and it's in the path, that's for sure. Nothing else I can say, though. Thanks again!

Am 03.05.2014 15:51, schrieb O'Neil Delpratt:
I will have to look have to get to you on this, probably on Tuesday. I assume you have java installed. 

On 3 May 2014, at 14:31, Ruprecht von Waldenfels <[hidden email]> wrote:

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 <[hidden email]> 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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: [hidden email]
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 

------------------------------------------------------------------------------
"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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: [hidden email]
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 

------------------------------------------------------------------------------
"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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: [hidden email]
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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 


------------------------------------------------------------------------------
"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/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation

O'Neil Delpratt
In reply to this post by Ruprecht von Waldenfels
Hi,

I  managed to  reproduce the following error you are getting “jni.h: No such file or directory”

What worked for me is to install gcj-jdk.

I don’t think there is any direct dependency on gcj as JET is it’s replacement, but for the setup of the path to the jni header.

Hope this helps?

kind regards,

O'Neil
On 3 May 2014, at 12:24, Ruprecht von Waldenfels <[hidden email]> 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/
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/saxon-help 

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




------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Php Installation on 64 bit linux

Ruprecht von Waldenfels
In reply to this post by Ruprecht von Waldenfels
Dear List, dear O'Neil,

I am again trying to install the php extension to saxon after installing a new, 64 bit version of linux. I use libsaxon-HEC-setup-v0.2 on a 64 bit ubuntu 14.04.

I managed to build, make, and make install the package - at least so it seems, make and sudo make install ended on a positive note.

By the way, there's a mistake, the right path should be:
export LD_LIBRARY_PATH=/usr/lib/rt/lib/amd64:$LD_LIBRARY_PATH

But even then it still didn't work. I also tried copying the installation directory to /usr/lib/Saxon-C-API, and doing the phpize, make etc. thing there - but to no awail, the sample pages don't work (no data returned).

I did add the recommended lines to the php and apache environments.

I really appreciate any help.
Ruprecht





------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation on 64 bit linux

Ruprecht von Waldenfels
Hi,
a further note: phpinfo() gives back
Saxon/C EXT version 0.2
Saxon-HEJ 9.5.1.3
Excelsior JET (MP1) 9.0

but the page crashes from a simple
$proc = new SaxonProcessor();

maybe the problem is that I don't know a lot about php?

Best,
R


Am 01.06.2014 11:42, schrieb Ruprecht von Waldenfels:
Dear List, dear O'Neil,

I am again trying to install the php extension to saxon after installing a new, 64 bit version of linux. I use libsaxon-HEC-setup-v0.2 on a 64 bit ubuntu 14.04.

I managed to build, make, and make install the package - at least so it seems, make and sudo make install ended on a positive note.

By the way, there's a mistake, the right path should be:
export LD_LIBRARY_PATH=/usr/lib/rt/lib/amd64:$LD_LIBRARY_PATH

But even then it still didn't work. I also tried copying the installation directory to /usr/lib/Saxon-C-API, and doing the phpize, make etc. thing there - but to no awail, the sample pages don't work (no data returned).

I did add the recommended lines to the php and apache environments.

I really appreciate any help.
Ruprecht






------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation on 64 bit linux

Souhaib
I tried to replace in the file /usr/lib/Saxon-C-API/SaxonProcessor.h the line:
#include <jni.h>
by:
#include "/usr/lib/jvm/java-6-openjdk/include/jni.h";

and the jni error doesn' exist any more, still I have an other error message telling:
/usr/lib/Saxon-C-API/php_saxon.cpp:743:43: error: 'object_properties_init' was not declared in this scope
... make: *** [SaxonProcessor.lo] Error 1
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation on 64 bit linux

O'Neil Delpratt

On 2 Jul 2014, at 16:35, Souhaib <[hidden email]> wrote:

I tried to replace in the file /usr/lib/Saxon-C-API/SaxonProcessor.h the
line:
#include <jni.h>
by:
#include "/usr/lib/jvm/java-6-openjdk/include/jni.h”;

I don’t recommend changing where the jni header is picked up from there.
It should work if you install gcj-jdk

and the jni error doesn' exist any more, still I have an other error message
telling:
/usr/lib/Saxon-C-API/php_saxon.cpp:743:43: error: 'object_properties_init'
was not declared in this scope
... make: *** [SaxonProcessor.lo] Error 1

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




------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation on 64 bit linux

Souhaib
Thank you very much, I did as you told me and there is no more jni problem. Still, there's a compilation error when I run the make command, I'll paste the output as it is :

/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  -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 -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:13:0:
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'zend_object_value saxonProcessor_create_handler(zend_class_entry*)':
/usr/lib/Saxon-C-API/php_saxon.cpp:39:43: error: 'object_properties_init' was not declared in this scope
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor___construct(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:55:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_transformToFile(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:120:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_setStylesheetFile(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:213:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_setStylesheetContent(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:229:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_setQueryContent(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:246:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_setQueryFile(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:259:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_setSourceValue(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:272:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_setSourceFile(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:295:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_parseString(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:310:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_parseFile(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:340:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_createXdmValue(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:376:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp:413:125: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
In file included from /usr/lib/Saxon-C-API/SaxonProcessor.cpp:13:0:
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_setProperty(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:439:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_setParameter(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:456:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_getParameter(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:478:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_getProperty(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:506:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_getErrorCode(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:585:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_getErrorMessage(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:604:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor_queryToFile(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:666:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'zend_object_value xdmValue_create_handler(zend_class_entry*)':
/usr/lib/Saxon-C-API/php_saxon.cpp:743:43: error: 'object_properties_init' was not declared in this scope
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_XdmValue___construct(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:763:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp:799:125: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_XdmValue_getErrorCode(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:808:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/php_saxon.cpp: At global scope:
/usr/lib/Saxon-C-API/php_saxon.cpp:938:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/usr/lib/Saxon-C-API/SaxonProcessor.cpp:482:54: error: no 'std::map<std::basic_string<char>, XdmValue*>& SaxonProcessor::zend_get_parameters()' member function declared in class 'SaxonProcessor'
/usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void zim_SaxonProcessor___construct(int, zval*, zval**, zval*, int)':
/usr/lib/Saxon-C-API/php_saxon.cpp:88:35: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
make: *** [SaxonProcessor.lo] Error 1
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation on 64 bit linux

O'Neil Delpratt
Hi,

I am not quite sure why you are getting this kind of failure. At which point does it fail?

Have you followed through the building and installation step detailed on the website: http://www.saxonica.com/saxon-c/index.xml#installingLin


On 3 Jul 2014, at 09:23, Souhaib <[hidden email]> wrote:

> Thank you very much, I did as you told me and there is no more jni problem.
> Still, there's a compilation error when I run the make command, I'll paste
> the output as it is :
>
> /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  -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 -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:13:0:
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'zend_object_value
> saxonProcessor_create_handler(zend_class_entry*)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:39:43: error: 'object_properties_init'
> was not declared in this scope
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor___construct(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:55:96: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_transformToFile(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:120:82: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_setStylesheetFile(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:213:75: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_setStylesheetContent(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:229:84: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_setQueryContent(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:246:79: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_setQueryFile(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:259:79: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_setSourceValue(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:272:80: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_setSourceFile(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:295:77: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_parseString(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:310:77: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_parseFile(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:340:77: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_createXdmValue(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:376:69: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp:413:125: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> In file included from /usr/lib/Saxon-C-API/SaxonProcessor.cpp:13:0:
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_setProperty(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:439:91: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_setParameter(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:456:95: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_getParameter(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:478:75: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_getProperty(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:506:75: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_getErrorCode(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:585:69: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_getErrorMessage(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:604:69: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor_queryToFile(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:666:82: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'zend_object_value
> xdmValue_create_handler(zend_class_entry*)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:743:43: error: 'object_properties_init'
> was not declared in this scope
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_XdmValue___construct(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:763:69: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp:799:125: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_XdmValue_getErrorCode(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:808:69: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/php_saxon.cpp: At global scope:
> /usr/lib/Saxon-C-API/php_saxon.cpp:938:1: warning: deprecated conversion
> from string constant to 'char*' [-Wwrite-strings]
> /usr/lib/Saxon-C-API/SaxonProcessor.cpp:482:54: error: no
> 'std::map<std::basic_string&lt;char>, XdmValue*>&
> SaxonProcessor::zend_get_parameters()' member function declared in class
> 'SaxonProcessor'
> /usr/lib/Saxon-C-API/php_saxon.cpp: In function 'void
> zim_SaxonProcessor___construct(int, zval*, zval**, zval*, int)':
> /usr/lib/Saxon-C-API/php_saxon.cpp:88:35: warning: ignoring return value of
> 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result
> [-Wunused-result]
> make: *** [SaxonProcessor.lo] Error 1
>
>
>
>
> --
> View this message in context: http://saxon-xslt-and-xquery-processor.13853.n7.nabble.com/Php-Installation-tp12937p13112.html
> Sent from the saxon-help mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/saxon-help 

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




------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation on 64 bit linux

Souhaib
Yes I did, except for:
    <uncomment the following code in the file xsltProcessor: #include "php_saxon.h">
beacuse I did no find it in xsltProcessor.h or XsltProcessor.cpp (under Saxon-C-API).

in fact here's what I did exactly:
  _./libsaxon-HEC-setup64-v0.3.1 and install in /usr/lib
  _export LD_LIBRARY_PATH=/usr/lib/rt/lib/amd64:/usr/lib/jvm/java-6-openjdk/include/linux:/usr/lib/jvm/java-6-openjdk/include:$LD_LIBRARY_PATH
  _cd /usr/lib/Saxon-C-API/
  _phpize
  _./configure --enable-saxon
_make ===> THE COMPILATION ERROR OCCURS

I have installed gcj-jdk, I got all required packages apache2, g++, php5-dev..

Still I got this compilation error.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Php Installation on 64 bit linux

O'Neil Delpratt

On 3 Jul 2014, at 10:59, Souhaib <[hidden email]> wrote:

> Yes I did, except for:
>    <uncomment the following code in the file xsltProcessor: #include
> &quot;php_saxon.h&quot;>
> beacuse I did no find it in xsltProcessor.h or XsltProcessor.cpp (under
> Saxon-C-API).

Don’t have to do this step anymore in the latest release. I have removed this step from the documentation.

>
> in fact here's what I did exactly:
>  _./libsaxon-HEC-setup64-v0.3.1 and install in /usr/lib
>  _export
> LD_LIBRARY_PATH=/usr/lib/rt/lib/amd64:/usr/lib/jvm/java-6-openjdk/include/linux:/usr/lib/jvm/java-6-openjdk/include:$LD_LIBRARY_PATH
>  _cd /usr/lib/Saxon-C-API/
>  _phpize
>  _./configure --enable-saxon

Do you see any error or anything missing after running this step?

> _make ===> THE COMPILATION ERROR OCCURS
>
> I have installed gcj-jdk, I got all required packages apache2, g++,
> php5-dev..

what Linux distribution are you using?

Is it 64-bit?

Are you able to test that you have a clean php installation without the Saxon/C php extension?

>
> Still I got this compilation error.
>

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




------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 
Loading...