3

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?

Liam
  • 1,401
  • 3
  • 19
  • 28

2 Answers2

2

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) 
weeheavy
  • 4,089
  • 1
  • 28
  • 41
1

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.

Janne Pikkarainen
  • 31,852
  • 4
  • 58
  • 81
  • It worked after I enabled [rhel-6-server-optional-rpms] in /etc/yum.repos.d/redhat.repo, thanks. – Liam Feb 01 '12 at 14:42