note 47421 deleted from ref.tidy by cmb
| From: | cmb@php.net | Date: | Sun, 21 Oct 2018 16:38:17 +0000 |
| Subject: | note 47421 deleted from ref.tidy by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-209485@lists.php.net to get a copy of this message | ||
Note Submitter: doodleelephant
----
I'm installing PHP 5.0.2 on Redhat Linux (I forget the version. Enterprise WS 3 I think) I had
troubles installing the libtidy. It consistently complained that it could not find
'libtidy'. I finally got a clue into how to install it (in build/gnuauto/readme.txt). This
is how I finally got it to install (after lots of trial and error):
First, don't get the binary distribution of of tidy.sf.net. It's not what you want. You
need the source distribution.
Command by command this is what I did:
=======
wget http://tidy.sourceforge.net/src/tidy_src.tgz
tar -xzf tidy_src.tgz
cd tidy
/bin/sh build/gnuauto/setup.sh
./configure --prefix=/usr
make
make install
cd [php source directory]
./configure --with-tidy=/usr --[other extensions]
make
make install
=======
Tada. Finally it doesn't complain when I configure PHP about the installation. The info I
needed was stuck in that build/gnuauto/readme.txt file in the tidy directory.
Took me a while. Hope my trials can help others save time.
Doodleelephant