Thanks matty,
But I had already tried that and it doesn't work.
Here is my configure command :
../configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --prefix=/usr --with-config-file-path=/etc
--enable-force-cgi-redirect --disable-debug --enable-pic --disable-rpath
--enable-inline-optimization --with-bz2 --with-curl --with-dom=/usr
--with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr
--with-gd --enable-gd-native-ttf --with-ttf --with-gdbm --with-gettext
--with-ncurses --with-gmp --with-jpeg-dir=/usr --with-openssl --with-png
--with-pspell --with-regex=system --with-xml --with-expat-dir=/usr
--with-zlib --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp
--enable-magic-quotes --enable-safe-mode --enable-sockets
--enable-sysvsem --enable-sysvshm --enable-discard-path
--enable-track-vars --enable-trans-sid --enable-yp --enable-wddx
--without-oci8 --with-pear=/usr/share/pear --with-imap=shared
--with-imap-ssl --with-kerberos=/usr/kerberos --with-ldap=shared
--with-mysql=shared,/usr --with-pgsql=shared --with-snmp=shared,/usr
--with-snmp=shared --enable-ucd-snmp-hack --with-unixODBC=shared
--enable-memory-limit --enable-bcmath --enable-shmop --enable-versioning
--enable-calendar --enable-dbx --enable-dio --enable-mcal
--with-apxs=/www/bin/apxs --enable-xslt --with-xslt-sablot=/usr
--with-dom-xslt=/usr --with-sablot-js=/usr --with-iconv
--with-iconv-dir=/usr
matty wrote:
Ghislain Benrais wrote:
Hello,
I'm having problems to install php with sablotron.
My OS : redhat 8. I installed apache 1.3.28 and downloaded
php-4.3.2. (I install without any problem php with "normal" options).
But as I try to install php with sablotron options. I get this
message all the time :
configure: error: not found. Please re-install the Sablotron distribution
I tried every possible options for the configure command.
Notice : I have isntalled sablotron1.0 (I also tried 3 older versions
but it doesn't work either).
Thanks for your help,
Ghislain
If you've got sablotron as an rpm, this will tell you the prefix
to pass the configure script:
rpm -qil sablotron | grep -E 'libsablot.so.0$' | sed s#.lib.libsablot.so.0##g
(in my case /usr)
you can also try looking at
whereis libsablot
to get some idea - the prefix will almost certainly be one of
/
/usr
/usr/local
and doesn't include the "bin" or "lib" parts
IIRC, you have to have JS installed as well to make PHP compile with sablotron
HTH
Matt