Saxon/C for PHP - make fails for PHP module

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Saxon/C for PHP - make fails for PHP module

dokosza
Hi,

I am trying to generate the PHP module for Saxon/C.
Before I had problems with ldconfig which I am supposed to ignore:
http://markmail.org/message/mjpeodnp4od2vobz
Using Debian Wheezy.

Now I'm continuing the installation. This is how far I got, it fails on
make:
----------------------------------------------------------------------------------------------
apt-get install build-essential php5-dev gcj-jdk

wget http://www.saxonica.com/saxon-c/libsaxon-HEC-setup64-v0.3.1.zip
unzip libsaxon-HEC-setup64-v0.3.1.zip
sudo ./libsaxon-HEC-setup64-v0.3.1

Installation path to use:
/usr/lib/Saxonica/Saxon-HEC0.3.1


sudo ln -s /usr/lib/Saxonica/Saxon-HEC0.3.1/libsaxon.so
/usr/lib/libsaxon.so
sudo ln -s /usr/lib/Saxonica/Saxon-HEC0.3.1/rt /usr/lib/rt
sudo ln -s /usr/lib/Saxonica/Saxon-HEC0.3.1/saxon-data
/usr/lib/saxon-data

sudo vim /etc/ld.so.conf.d/jetvm.conf

Enter the following information into the file

#JetVM env path - required for Saxon
/usr/lib/rt/lib/amd64
/usr/lib/rt/lib/amd64/jetvm

sudo ldconfig
ldconfig: file /usr/lib/libsaxon.so is truncated
--------------------------------------------------------------------------------------------------------

Please see my next steps. It fails on make. Can you please help?
Thank you!


cd Saxonica/Saxon-HEC0.3.1/Saxon-C-API
phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626

./configure --with-php-config=/usr/local/zend/bin/php-config
--enable-saxon
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local/zend
checking for PHP includes... -I/usr/local/zend/include/php
-I/usr/local/zend/include/php/main -I/usr/local/zend/include/php/TSRM
-I/usr/local/zend/include/php/Zend -I/usr/local/zend/include/php/ext
-I/usr/local/zend/include/php/ext/date/lib
checking for PHP extension directory...
//usr/local/zend/lib/php_extensions
checking for PHP installed headers prefix... /usr/local/zend/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to
regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking Whether to enable the "saxon" extension... yes, shared
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into
programs... immediate
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged

make
/bin/bash
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/libtool
--mode=compile g++  -I.
-I/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API
-DPHP_ATOM_INC
-I/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/include
-I/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/main
-I/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API
-I/usr/local/zend/include/php -I/usr/local/zend/include/php/main
-I/usr/local/zend/include/php/TSRM -I/usr/local/zend/include/php/Zend
-I/usr/local/zend/include/php/ext
-I/usr/local/zend/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/SaxonProcessor.cpp
-o SaxonProcessor.lo
mkdir .libs
  g++ -I.
-I/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API
-DPHP_ATOM_INC
-I/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/include
-I/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/main
-I/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API
-I/usr/local/zend/include/php -I/usr/local/zend/include/php/main
-I/usr/local/zend/include/php/TSRM -I/usr/local/zend/include/php/Zend
-I/usr/local/zend/include/php/ext
-I/usr/local/zend/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/SaxonProcessor.cpp
  -fPIC -DPIC -o .libs/SaxonProcessor.o
In file included from
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/SaxonProcessor.cpp:13:0:
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'zend_object_value
saxonProcessor_create_handler(zend_class_entry*)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:39:43:
error: 'object_properties_init' was not declared in this scope
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor___construct(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:55:96:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_transformToFile(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:120:82:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_setStylesheetFile(int, zval*,
zval**, zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:213:75:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_setStylesheetContent(int, zval*,
zval**, zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:229:84:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_setQueryContent(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:246:79:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_setQueryFile(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:259:79:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_setSourceValue(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:272:80:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_setSourceFile(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:295:77:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_parseString(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:310:77:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_parseFile(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:340:77:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_createXdmValue(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:376:69:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:413:125:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
In file included from
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/SaxonProcessor.cpp:13:0:
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_setProperty(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:439:91:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_setParameter(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:456:95:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_getParameter(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:478:75:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_getProperty(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:506:75:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_getErrorCode(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:585:69:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_getErrorMessage(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:604:69:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_SaxonProcessor_queryToFile(int, zval*, zval**,
zval*, int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:666:82:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'zend_object_value
xdmValue_create_handler(zend_class_entry*)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:743:43:
error: 'object_properties_init' was not declared in this scope
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_XdmValue___construct(int, zval*, zval**, zval*,
int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:763:69:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:799:125:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
In function 'void zim_XdmValue_getErrorCode(int, zval*, zval**, zval*,
int)':
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:808:69:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:
At global scope:
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/Saxon-C-API/php_saxon.cpp:938:1:
warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
/home/developer/public_html/libsaxon/Saxonica/Saxon-HEC0.3.1/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'
make: *** [SaxonProcessor.lo] Error 1

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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
|

Re: Saxon/C for PHP - make fails for PHP module

O'Neil Delpratt

On 4 Mar 2015, at 16:31, [hidden email] wrote:

sudo ln -s /usr/lib/Saxonica/Saxon-HEC0.3.1/libsaxon.so 
/usr/lib/libsaxon.so
sudo ln -s /usr/lib/Saxonica/Saxon-HEC0.3.1/rt /usr/lib/rt
sudo ln -s /usr/lib/Saxonica/Saxon-HEC0.3.1/saxon-data 
/usr/lib/saxon-data

Are you not able to copy those files and folder to /usr/lib ?

-------------------------------
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/




------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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
|

Re: Saxon/C for PHP - make fails for PHP module

dokosza
Am 04.03.2015 19:03 schrieb O'Neil Delpratt:
>> On 4 Mar 2015, at 16:31, [hidden email] wrote:
>>
>> sudo ln -s /usr/lib/Saxonica/Saxon-HEC0.3.1/libsaxon.so
>> /usr/lib/libsaxon.so
>> sudo ln -s /usr/lib/Saxonica/Saxon-HEC0.3.1/rt /usr/lib/rt
>> sudo ln -s /usr/lib/Saxonica/Saxon-HEC0.3.1/saxon-data
>> /usr/lib/saxon-data
>
> Are you not able to copy those files and folder to /usr/lib ?

I now copied the files physically to the desired location. I even tried
to copy them to /usr/lib64 although this directory did not exist before.
Then I tried to reproduce the steps of the install.sh script supplied by
Petr Zak, adjusting paths here and there. No matter what I did
the error remains the same during make.
Unfortunately my knowledge about compiling C++ programmes is very
limited which means that I'm stuck now. Is there any information
I can provide or anything I can do to make it easier to help me?

Thank you for your effort.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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
|

Re: Saxon/C for PHP - make fails for PHP module

O'Neil Delpratt
Have you installed some C++ compiler on your Debian Wheezy machine? I know it seems trivial but looking at where your failure us happening seems to be the cause of missing c++ compiler.

I installed g++.

> On 5 Mar 2015, at 07:23, [hidden email] wrote:
>
> Am 04.03.2015 19:03 schrieb O'Neil Delpratt:
>>> On 4 Mar 2015, at 16:31, [hidden email] wrote:
>>>
>>> sudo ln -s /usr/lib/Saxonica/Saxon-HEC0.3.1/libsaxon.so
>>> /usr/lib/libsaxon.so
>>> sudo ln -s /usr/lib/Saxonica/Saxon-HEC0.3.1/rt /usr/lib/rt
>>> sudo ln -s /usr/lib/Saxonica/Saxon-HEC0.3.1/saxon-data
>>> /usr/lib/saxon-data
>>
>> Are you not able to copy those files and folder to /usr/lib ?
>
> I now copied the files physically to the desired location. I even tried
> to copy them to /usr/lib64 although this directory did not exist before.
> Then I tried to reproduce the steps of the install.sh script supplied by
> Petr Zak, adjusting paths here and there. No matter what I did
> the error remains the same during make.
> Unfortunately my knowledge about compiling C++ programmes is very
> limited which means that I'm stuck now. Is there any information
> I can provide or anything I can do to make it easier to help me?
>
> Thank you for your effort.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> 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/




------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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
|

Re: Saxon/C for PHP - make fails for PHP module

dokosza
Hi,

yes, I have g++ installed. Otherwise already ./configure would have
failed I suppose.
> g++ --version
g++ (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

According to the make output it starts to compile but is complaining
about a missing function somewhere in the SaxonProcessor class:
~/Saxonica/Saxon-HEC0.3.1/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’

There seems to be someone else having the same problem in another
thread:
http://sourceforge.net/p/saxon/mailman/message/32552578/
Unfortunately there was no solution to this particular problem.


Am 05.03.2015 10:29 schrieb O'Neil Delpratt:
> Have you installed some C++ compiler on your Debian Wheezy machine? I
> know it seems trivial but looking at where your failure us happening
> seems to be the cause of missing c++ compiler.
>
> I installed g++.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help