469,909 Members | 1,630 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,909 developers. It's quick & easy.

PHP 4.3.x and Tidy

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

Jul 17 '05 #1
1 1946
Mike Gifford <mi**@openconcept.ca> wrote in message news:<pa****************************@openconcept.c a>...
<snip>
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?

What was the error? What you tried?

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by compu_global_hyper_mega_net_2 | last post: by
reply views Thread by Börni | last post: by
3 posts views Thread by Mike | last post: by
12 posts views Thread by Stefan Weiss | last post: by
reply views Thread by Christoph Schneegans | last post: by
40 posts views Thread by VK | last post: by
reply views Thread by BG Mahesh | last post: by
1 post views Thread by Martin Odhelius | last post: by
reply views Thread by kempshall | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.