Note Submitter: marco dot giovanrosa at bull dot it
----
I use RedHat Enterprise L3.
I installed XAMMP 1.4.16 (because i cannot use PHP5 &
MySQL5).
Now I have to install Tidy1.0 and SourceGuardian (only
binaries), but I dont succeed !
I have the XAMPP installation in /opt/lampp and the
download of tidy_src.tgz & tidy_1.2.tgz.
I did:
tar -zxvf tidy_src.tgz
cd tidy
sh build/gnuauto/setup.sh
./configure --with-shared
make
make install
=======================
after in /usr/local/lib
lrwxrwxrwx 1 root root 21 29 nov 10:57
libtidy-0.99.so.0 -> libtidy-0.99.so.0.0.0
-rwxr-xr-x 1 root root 322936 29 nov 10:57
libtidy-0.99.so.0.0.0
-rw-r--r-- 1 root root 338288 29 nov 10:57
libtidy.a
-rwxr-xr-x 1 root root 721 29 nov 10:57
libtidy.la
lrwxrwxrwx 1 root root 21 29 nov 10:57
libtidy.so -> libtidy-0.99.so.0.0.0
=================================
then I did
tar -zxvf tidy-1.2.tgz
cd tidy-1.2
phpize
=======
the output is:
grep: /opt/lampp/include/php/main/php.h: No such file or
directory
grep: /opt/lampp/include/php/Zend/zend_modules.h: No such
file or directory
grep: /opt/lampp/include/php/Zend/zend_extensions.h: No such
file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
=======
./configure
=====================
the output is:
............
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
==================================
make
==================
/bin/sh /opt/tidy-1.2/libtool --mode=compile gcc -I.
-I/opt/tidy-1.2 -DPHP_ATOM_INC -I/opt/tidy-1.2/include
-I/opt/tidy-1.2/main -I/opt/tidy-1.2
-I/opt/lampp/include/php -I/opt/lampp/include/php/main
-I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend
-I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c
/opt/tidy-1.2/tidy.c -o tidy.lo
gcc -I. -I/opt/tidy-1.2 -DPHP_ATOM_INC
-I/opt/tidy-1.2/include -I/opt/tidy-1.2/main -I/opt/tidy-1.2
-I/opt/lampp/include/php -I/opt/lampp/include/php/main
-I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend
-I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c
/opt/tidy-1.2/tidy.c -fPIC -DPIC -o tidy.lo
/opt/tidy-1.2/tidy.c:26:17: php.h: No such file or directory
In file included from /opt/tidy-1.2/tidy.c:27:
/opt/tidy-1.2/php_tidy.h:25: syntax error before
"tidy_module_entry"
/opt/tidy-1.2/php_tidy.h:25: warning: data definition has no
type or storage class
..... omissis
make: *** [tidy.lo] Error 1
====================================
Can anyone help me ??
PS: I must have the PHP source???
thanks in advance
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|