Hey there...
I need to use libtidy to clean external legacy HTML code which gets included on one of my clients' websites via a database.
Unfortunately, I've been totally unable to install the tidylib PHP extensions. The system is a RH8 server with PHP 4.2.2. I can make simple upgrades, but I can't overhaul the system because it's a live webserver and I don't have access to the physical machine.
I'm trying to use PEAR. After upgrading to the latest PEAR via PEAR's web install instructions, I try to use it to install tidy. It pukes pretty badly:
[root@.... temp]# pear install tidy
downloading tidy-1.1.tgz ...
Starting to download tidy-1.1.tgz (9,128 bytes)
.....done: 9,128 bytes
3 source files, building
running: phpize
autoheader: config.h.in' is created
You should update youraclocal.m4' by running aclocal.
Tidy library installation dir? [autodetect] :
building in /var/tmp/pear-build-ecliptic/tidy-1.1
running: /tmp/tmpf8MuZS/tidy-1.1/configure --with-tidy
configure: error: cannot find sources (Makefile.in) in /tmp/tmpf8MuZS/tidy-1.1 or ..
`/tmp/tmpf8MuZS/tidy-1.1/configure --with-tidy' failed
I'm totally stumped. I've googled all over the place and not found a mention of any errors like this. Can anyone point me in the right direction for getting this fixed?
Thanks,
Ev