Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

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.

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

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) 
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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