Support for tidy not included (libtidy) in php5

Bug #41690 reported by Dave Lane
This bug report is a duplicate of:  Bug #38510: Package tidy module. Edit Remove
8
Affects Status Importance Assigned to Milestone
php
Fix Released
Unknown
php5 (Ubuntu)
New
Medium
Unassigned

Bug Description

It appears that php5 5.1.2-1ubuntu2 (current for Dapper beta1) is not compiled with "tidy" support. Given that all the tidy and libtidy building blocks are already available as ubuntu packages, it seems sensible to compile php5 with libtidy support and make it a dependency...

Revision history for this message
Chuck Renner (chuckrenner) wrote : --with-tidy needs to be part of COMMON_CONFIG in debian/rules in php5 Ubuntu package

I can confirm this problem. I had to follow the instructions at http://alexfarran.blogspot.com/2006/06/howto-add-libtidy-support-to-php5-in.html in order to compile my own php package for ubuntu.

A royal pain in the putuckus for a one line change. The configure script just needed --with-tidy passed to it.

The pain was installing all the dependencies for compiling php, and spending several hours actually compiling php.

I agree. --with-tidy should be part of the compiliation for the php5 package for ubuntu, and libtidy should be listed as a dependency.

Installing tidy, tidy-doc, libtidy-dev, php5-dev, and php-pear allow you to run the following command:
pecl install tidy

This compiles and installs tidy.so. If you edit /etc/php5/apache2/php.ini, and add tidy.so as an extension, then phpinfo() lists tidy as an extension, but calls to the tidy class fail anyway. Apparently, tidy must be compiled as part of php5 on Ubuntu, and cannot be loaded correctly as an extension.

Dave Lane (lightweight)
description: updated
Changed in php:
status: Unconfirmed → Fix Committed
Changed in php:
status: Fix Committed → Fix Released
Revision history for this message
Caspar Adriani (thecas) wrote :

duplicate of #38510 but it the package is in Feisty now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.