note 71443 added to faq
| From: | marco dot giovanrosa at bull dot it | Date: | Wed, 29 Nov 2006 11:17:43 +0000 |
| Subject: | note 71443 added to faq | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120157@lists.php.net to get a copy of this message | ||
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
----
Server IP: 80.241.173.254
Probable Submitter: 62.152.115.211
----
Manual Page -- http://www.php.net/manual/en/faq.php
Edit -- https://master.php.net/note/edit/71443
Del: integrated -- https://master.php.net/note/delete/71443/integrated
Del: useless -- https://master.php.net/note/delete/71443/useless
Del: bad code -- https://master.php.net/note/delete/71443/bad+code
Del: spam -- https://master.php.net/note/delete/71443/spam
Del: non-english -- https://master.php.net/note/delete/71443/non-english
Del: in docs -- https://master.php.net/note/delete/71443/in+docs
Del: other reasons-- https://master.php.net/note/delete/71443
Reject -- https://master.php.net/note/reject/71443
Search -- https://master.php.net/manage/user-notes.php