ok, still no luck with 5.0.11

here is some output:
cat config.log | grep php
$ ./configure --prefix=/opt/virtuoso-opensource-5.0.11 --with-readline=/usr/lib/libreadline.so --with-php5=/opt/lib/php5
config.status:912: creating binsrc/hosting/php/Makefile
php4_CFLAGS=''
php4_LDFLAGS=''
php5_CFLAGS=''
php5_LDFLAGS=''

cat config.log | grep PHP
HAVE_PHP4_FALSE=''
HAVE_PHP4_TRUE='#'
HAVE_PHP5_FALSE=''
HAVE_PHP5_TRUE='#'

The log can be found here:
http://db0.aksw.org/downloads/config.log
Still no hosting_php.so in sight anywhere.
Maybe the plugin path in the ini is wrong?

[Plugins]
LoadPath            = /opt/virtuoso-opensource-5.0.11/lib/virtuoso/hosting
Load1                = plain, wikiv
Load2                = plain, mediawiki
Load3                = plain, creolewiki
Load4            = plain, im
;Load5        = plain, wbxml2
;Load6            = plain, hslookup
Load7            = attach, libphp5.so
Load8            = Hosting, hosting_php.so
;Load9            = Hosting,hosting_perl.so
;Load10        = Hosting,hosting_python.so
;Load11        = Hosting,hosting_ruby.so
;Load12                = msdtc,msdtc_sample

Regards,
Sebastian

Tim Haynes schrieb:
Sebastian Hellmann wrote:
Thanks for your help Tim.
I still didn't succeed. Could you verify the steps I took and see if I'm missing anything:

sudo su
Downloaded iodbc latest version
./configure --prefix=/opt/lib/iODBC
make
make install
Downloaded php-5.2.10
./configure --prefix=/opt/lib/php5 --enable-maintainer-zts --with-tsrm-pt…
…hreads --enable-embed=shared --disable-static --with-config-file-path=. --disa… …ble-cgi --disable-cli --disable-ipv6 --disable-pdo --without-mysql --without-p…
…ear --with-zlib --with-iodbc=/opt/lib/iODBC
make
make install
Downloaded virtuoso-opensource-6.0.0-tp1
./configure --prefix=/opt/virtuoso-opensource-6.0.0-tp1 --with-readline=/u…
…sr/lib/libreadline.so --with-php5=/opt/lib/php5
make
make install

You're along the right lines here; the critical --with-php5=somewhere bit, and the configure command for php5, seem correct.

I could not find a file called hosting_php.so anywhere, what could I be doing wrong?
If needed, I could also provide the compile logs.

It might be easiest to see the config.log for virtuoso - search backwards through it for `php' and look for obvious errors. Or post a copy on the list and we'll have a look.

Furthermore, I tried the debian package by Will Daniels, but it seems to come without php
Do you think it would be better to try with Virtuoso 5.0.11 ?

I'm using 5.0.11 as a baseline in my own tests here, so it might be wisest if you can't get 6.0.0-tp1 cranking easily.

Regards,

~Tim


Reply via email to