Hello Folks,
I'm trying to get tidy set up on a pretty standard fedora core 1 server.
Looks pretty simple from here:
http://ca3.php.net/manual/en/ref.tidy.php
Should just have to go:
pear -v install tidy
However, it won't work unless you have the following up and running on
your system:
php-devel libtool autoconf automake libtidy-devel libtidy
Would be nice if it said that somewhere.
I've got this set up on 3 servers, and it's still not quite
working right.. I've got this error:
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
tidy.so copied to /tmp/tmpZVuvvk/tidy-1.1/tidy.so
Build process completed successfully
Installing 'tidy.so' at ext_dir
(/usr/local/lib/php/extensions/no-debug-non-zts-20020429/tidy.so) rolling
back 39 file operations
failed to copy tidy.so to
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/tidy.so
and also this error
checking whether we are using the GNU C++ compiler... no checking whether
g++ accepts -g... no checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check See
`config.log' for more details.
`/tmp/tmp4atzbJ/tidy-1.1/configure --with-tidy' failed
But I did get it working on my local machine:
Build process completed successfully
Installing 'tidy.so' at ext_dir (/usr/lib/php4/tidy.so) about to commit 36
file operations
successfully committed 36 file operations install ok: tidy 1.1
I just can't seem to be able to access the php tidy functions via
functions like:
http://ca3.php.net/manual/en/functio...rse-string.php
Any suggestions?
Mike