install tidy

RichardF

Verified User
Joined
Jul 5, 2005
Messages
59
Location
Netherlands
a customer of mine uses tidy
so i try to install that
I edited configure.php5 with the line
--with-tidy \
then .build php n
it ends with checking for TIDY support... yes
configure: error: cannot find libtidy

so I did a pecl install tidy
all went fine, installed succesfully
./build php n
same error, can't find libtidy

I locate tidy.h it's in /usr/include
so I change configure.php5
--with-tidy=/usr/include \

same error

need some help to recompile php5 --with-tidy in it
you can see phpinfo on www.arteliersophia.nl/phpinfo.php
 
Last edited:

daveyw

Verified User
Joined
Jan 5, 2008
Messages
702
Location
/dev/null
For CentOS/RHEL try using: yum install libtidy libtidy-devel and then build PHP again.
 

RichardF

Verified User
Joined
Jul 5, 2005
Messages
59
Location
Netherlands
tnx
it returns this

Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: libtidy
No Match for argument: libtidy-devel
Nothing to do
 

daveyw

Verified User
Joined
Jan 5, 2008
Messages
702
Location
/dev/null
tnx
it returns this

Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: libtidy
No Match for argument: libtidy-devel
Nothing to do
That's weird, I'm using CentOS 5.5 x86_64 and I get
======================================== Matched: libtidy, libtidy-devel ========================================
libtidy-devel.x86_64 : Development files for libtidy

=============================================== Matched: libtidy ================================================
libtidy.x86_64 : Shared libraries for tidy
 

RichardF

Verified User
Joined
Jul 5, 2005
Messages
59
Location
Netherlands
my machine just isn't that cooperative

[root@appel lib]# yum install libtidy-dev
Setting up Install Process
Setting up repositories
legacy-updates 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: libtidy-dev
Nothing to do

there is so little to find about this. I guess it always works normally
 

floyd

Verified User
Joined
Mar 29, 2005
Messages
5,310
I would take a look at the yum configuration because yum installs it on my 64 and 32 bit machines running CentOS.
 
Top