Thank you so much for your patience with me, Oneil!

I think, I'm now a step further, but still not done. Sorry.

So, I went to usr/lib and typed in
export LD_LIBRARY_PATH=/usr/lib/rt/amd64:$LD_LIBRARY_PATH
Nothing happened. I hope, that one worked.

Next I went to the folder usr/lib/Saxon-C-API/ and ran
sudo phpize
That one seemed to work. A lot of text, but no errors.
Same with
sudo ./configure --enable-saxon
But at
sudo make
there is an error:
"jni.h: No such file or directory"

I'm quite sure this has something t do do with wrong paths or missing packages, but I don't know what to do to fix it.


So, I hope, you can help me once again

Best regards,
Christian


The whole error message is:

"/bin/sh /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: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."





Date: Thu, 5 Jun 2014 20:56:51 +0100
From: oneil@saxonica.com
To: saxon-help@lists.sourceforge.net
Subject: Re: [saxon] Installing Saxon/C on openSUSE 13.1 64-bit

Sorry just realized that you are using the 64-bit version which is different to the 32-bit version. As suggested all you have to do is copy the rt folder and libsaxon.so into the folder /usr/lib. You can then follow the instructions to build the PHP extension.

Kind regards

Oneil

On 5 Jun 2014 19:49, "Christian Schwaderer" <c_schwaderer@hotmail.com> wrote:
Thank you both for your help!

Unfortunately, it still doesn't work.

Ok, again step by step:

After unzipping the file libsaxon-HEC-setup64-v0.2 there is a folder named libsaxon-HEC-setup64-v0.2.
This folder contains four items:
- folder "rt"
- folder "samples"
- folder "Saxon-C-API"
- file "libsaxon.so"

There is nowhere a file called "libsaxon-HEC-setup".
I think that's why the command
"chmod +x libsaxon-HEC-setup" couldn't work, as far as I unterstand it.

I copied the folder rt and SAXON-C-API to /usr/lib as you suggested, Ruprecht, but to no avail.

I think, Saxon is such a great software, I enjoyed working with it in Windows and Oxygen and I would really really like testing and using it on Linux in an Apache/PHP enviroment, but that doesn't seem so easy...

So, I hope you could help me!

Best regards,
Christian


From: oneil@saxonica.com
Date: Thu, 5 Jun 2014 17:57:52 +0100
To: saxon-help@lists.sourceforge.net
Subject: Re: [saxon] Installing Saxon/C on openSUSE 13.1 64-bit

You will need to make the file executable by using chmod from the command line or using the GUI.

On the command line I think it is something like the following:

chmod +x libsaxon-HEC-setup


kind regards,

O’Neil


On 5 Jun 2014, at 17:05, Christian Schwaderer <c_schwaderer@hotmail.com> wrote:

Dear all,

thanks again for having advised me to give Saxon/C a try.

But I'm failing to install it.

I have an openSUSE 13.1 64-bit system (I can't use another distribution) and I'm absolutely new to Linux. Following the steps described on http://www.saxonica.com/html/saxon-c/index.html#installingLin seemed not too complicated, but I didn't succede.

So, I've downloaded the file libsaxon-HEC-setup64-v0.2.zip and unzipped it.

Now I've started the bash Console, navigated to the folder libsaxon-HEC-setup64-v0.2 and typed in './libsaxon-HEC-setup'.

Then it says 'File or directory not found.'

Going back to the root directory and typing in the command again had the same effect.

What now?
Any help is appreciated.
Thanks in advance!

Christian
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech_______________________________________________
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/




------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech
_______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ saxon-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/saxon-help

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help

------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech
_______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ saxon-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/saxon-help