I want to build PHP 5.3.9 on RHEL 6.2 with Tidy support. I get this message:

configure: error: Cannot find libtidy

So I try to install libtidy:

yum install libtidy libtidy-devel

but libtidy-devel is not available:

Package libtidy-0.99.0-19.20070615.1.el6.x86_64 already installed and latest version
No package libtidy-devel available.
Nothing to do

Shouldn't libtidy-devel be in Red Hat's repo? What should I do?

link|improve this question

50% accept rate
feedback

2 Answers

up vote 0 down vote accepted

Make sure you have rhel-source repo enabled in /etc/yum.repos.d directory. By default it might not be and libtidy-devel will come from that repo.

link|improve this answer
It worked after I enabled [rhel-6-server-optional-rpms] in /etc/yum.repos.d/redhat.repo, thanks. – Liam Feb 1 at 14:42
feedback

libtidy-devel is available in the repos.

Maybe you're missing the required channel?

RHEL Server Optional (v. 6 64-bit x86_64)
RHEL Server Optional (v. 6 for 32-bit x86) 
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.