Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Installing HTMLTidy for PHP 4.3

Discussion in 'General Discussion' started by luxrok, Sep 7, 2005.

  1. luxrok

    luxrok Member

    Sep 28, 2004
    Likes Received:
    Trophy Points:
    Can someone please provide step by step instructions for installing tidy for php with cpanel? I have tried pear -v install tidy and I get:

    root@host [~/temp/tidy]# pear -v install tidy
    downloading tidy-1.1.tgz ...
    Starting to download tidy-1.1.tgz (9,128 bytes)
    .....done: 9,128 bytes
    3 source files, building
    building in /tmp/tmpOWsU7u/tidy-1.1
    running: phpize
    Configuring for:
    PHP Api Version: 20020918
    Zend Module Api No: 20020429
    Zend Extension Api No: 20021010
    Tidy library installation dir? [autodetect] :
    building in /var/tmp/pear-build-root/tidy-1.1
    running: /tmp/tmpOWsU7u/tidy-1.1/configure --with-tidy
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking whether gcc and cc understand -c and -o together... yes
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20020429
    checking for re2c... exit 0;
    checking for gawk... gawk
    checking for TIDY support... yes, shared
    configure: error: Cannot find libtidy
    `/tmp/tmpOWsU7u/tidy-1.1/configure --with-tidy' failed
    root@host [~/temp/tidy]#

    I am using cpanel

    WHM 10.1.0 cPanel 10.2.0-S83
    RedHat Enterprise 3 i686 - WHM X v3.1.0

    I spent a good part of the day on this and it is driving me nutts. To boot, I have had problems installing and making available to all the virtual sites other pear packages like cache.

    Any help would be appreciated.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice