note 47421 added to ref.tidy
| From: | doodleelephant at osu1 dot php dot net | Date: | Tue, 16 Nov 2004 01:34:20 +0000 |
| Subject: | note 47421 added to ref.tidy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-80571@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/ref.tidy.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47421
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47421&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47421&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47421&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47421&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47421&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47421&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47421&report=yes
Search -- http://master.php.net/manage/user-notes.php