Re: problem with "pear package" command

From: Date: Thu, 22 Jan 2004 21:40:27 +0000
Subject: Re: problem with "pear package" command
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25270@lists.php.net to get a copy of this message
Hello, I confirm. Stefan let me troubleshoot the problem on its debian system. The test I did shows that the problem occurs with a simple gzip script. The problem seems to be in the zlib on debian. I found nothing in Archive_Tar Regards, Vincent ----- Original Message ----- From: "Stefan Neufeind" <stefan@neufeind.net> To: <pear-dev@lists.php.net> Cc: "Stijn de Reede" <sjr@gmx.co.uk> Sent: Thursday, January 22, 2004 9:07 PM Subject: Re: [PEAR-DEV] problem with "pear package" command > On 21 Jan 2004 at 1:30, Stijn de Reede wrote: > > > 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? > > Yeah, one maintainer of Archive_Tar (from which also the zlib is > called) and I tried to debug it once - but had to give up. Maybe > somebody (you, Stijn?) has more luck investigating on that topic. It > would be highly appreciated to get that working again on Debian. > > Regarding your options-question: > Try "pear help [command]". In this case "pear help package" gives > you: > > -Z, --nocompress > Do not gzip the package file > -n, --showname > Print the name of the packaged file. > > > Regards, > Stefan > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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