Re: problem with "pear package" command

From: Date: Wed, 21 Jan 2004 00:30:07 +0000
Subject: Re: problem with "pear package" command
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25188@lists.php.net to get a copy of this message
Stefan Neufeind wrote:
On 20 Jan 2004 at 16:37, Stijn de Reede wrote:
When I run the "pear package" command on my system to build HTML_BBCodeParser, it hangs for a long time after analyzing the last file. After a while it stops, and produces an empty tgz file of 7mb. I also tried to build DB_DataObject and HTML_Template_Xipe, with the same result. I could build packages before, but I changed a lot since then (Apache, PHP version, etc). Info: - Debian linux 2.4.20 - PHP Version 4.3.4 (4.3.4-1moolfreet) (see http://nautadereede.nl/phpinfo.php) - zlib support 1.1.4 - latest PEAR from http://go-pear.org/ installed in /usr/share/pear
Had the same problem running PHP / PEAR on a Debian-system. Haven't yet figured out why it's like that. Please try one thing: pear package --nocompress and see if that works without problems for you. Would be quite interesting to know. As a quickfix you can package the resulting tar- archive manually to get your usual .tgz. But as said: Only a quick- fix. I suspect the problem is the zlib shipped with Debian, although I can't proof it :-( If anybody got an idea I'd be happy to know. Regards Stefan
With the --nocompress option, it build the package ok. So it seems debian has got a problem with the php zlib extension. Btw, are these pear --options documented somewhere, or completely hidden? Regards, Stijn

« previous php.pear.dev (#25188) next »