Re: Making PECL work on Debian?

From: Date: Thu, 22 Jan 2004 14:20:30 +0000
Subject: Re: Making PECL work on Debian?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10291@lists.php.net to get a copy of this message
On Mon, Jan 19, 2004 at 01:58:02AM -0800, Steve Goldberg wrote: > First of all, to be clear (since I know Debian is quirky), I read in > one of the posts that the Debian package php4-pear doesn't work > correctly, and that you should install manually, so I did that. [snip] > # pear install zip [snip] > ---- > # pear install zip > Notice: Use of undefined constant PATH_SEPARATOR - assumed > 'PATH_SEPARATOR' in Command.php on line 205 > downloading zip-1.0.tgz ... > Starting to download zip-1.0.tgz (4,930 bytes) > .....done: 4,930 bytes > 3 source files, building > running: phpize > aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used > aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but > never used > aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used > aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used > autoconf: Undefined macros: > ***BUG in Autoconf--please report*** AC_DEFINE > configure.in:17: AC_MSG_ERROR(Cannot find php-config. Please use > --with-php-config=PATH) > building in /var/tmp/pear-build-Rbrat/zip-1.0 > running: /tmp/tmpGAoDKQ/zip-1.0/configure > configure: error: can not find sources in /tmp/tmpGAoDKQ/zip-1.0 or .. > `/tmp/tmpGAoDKQ/zip-1.0/configure' failed I get: # pear install zip.tar.gz 3 source files, building running: phpize Configuring for: PHP Api Version: 20020918 Zend Module Api No: 20020429 Zend Extension Api No: 20021010 building in /var/tmp/pear-build-root/zip-1.0 running: /tmp/tmpC1oW47/zip-1.0/configure creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes 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... /opt/php checking for PHP includes... -I/opt/php/include/php -I/opt/php/include/php/main -I/opt/php/include/php/Zend -I/opt/php/include/php/TSRM checking for PHP extension directory... /opt/php/lib/php/extensions/no-debug-non-zts-20020429 checking for re2c... exit 0; checking for mawk... mawk checking for ZIP support... yes, shared configure: error: Cannot find libzzip `/tmp/tmpC1oW47/zip-1.0/configure' failed So it seems to work quite ok on my debian machine except that I don't have libzzip installed.. I've got autoconf 2.59-1, automake1.6 1.6.3-11, libtool 1.4.2-4 and m4 1.4-14 installed and a by hand compiled 4.3.4 version of PHP. Maybe you should try upgrading your auto* tools... Joakim -- Joakim Andersson ; ja@morrdusk.net ; http://morrdusk.net

« previous php.pear.general (#10291) next »