Re: 'zip' support needed?
| From: | Jesus M. Castagnetto | Date: | Sat, 03 Aug 2002 00:15:19 +0000 |
| Subject: | Re: 'zip' support needed? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2032@lists.php.net to get a copy of this message | ||
--- Bob Bell <bobbell@zk3.dec.com> wrote:
> [ Resending with a subject that actually makes sense ]
>
> When attempting to use pear to install a package, I got the following
> error:
>
> $ pear install http://pear.php.net/get/imagick
> downloading imagick-0.1.1.tgz ...
> ...done: 12,590 bytes
> The extension 'zlib' couldn't be found.
> Please make sure your version of PHP was builtwith 'zlib' support.
>
> So I attempted to compile php with 'zlib' support (I compile a static
> executable on my workstation and upload it to the web server, where
> I have limited privileges). However, that hasn't changed the error.
> When I check for 'zlib' support, it appears to be there:
Ehem, zlib != zip, two different libaries.
When you configure your PHP, you need to use:
./configure --with-zlib ...
The zip extension is activated w/ the "--with-zip" option, use "./configure
--help" for more details.
> $ head -n 1
which pear
> #!/vs3/vs3/macroped/usr/local/bin/php -Cq
> $ /vs3/vs3/macroped/usr/local/bin/php -m
> Running PHP 4.2.1
> Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
>
> [PHP Modules]
> zip
> xml
> standard
> session
> posix
> pcre
> mysql
> ctype
>
> [Zend Modules]
On a machine using 4.0.3-dev, I get:
% php -m
PHP 4.3.0-dev (cli), Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.2.1, Copyright (c) 1998-2002 Zend Technologies
with pcntl v1.0, 2001, by Jason Greene
1580 [redox]/home/jesusmc/redox_server/mdbdocs/pres2/slides/mdb% php -m
[PHP Modules]
xml
wddx
tokenizer
standard
session
posix
pcre
pcntl
mysql
mbstring
gd
ftp
ctype
calendar
bcmath
zlib <------ This is the lib you need
[Zend Modules]
pcntl
>
> $
>
> Any ideas what could be wrong? Your help is appreciated.
>
> --
> Bob Bell <bobbell@zk3.dec.com>
> -------------------------------------------------------------------------
> "I definitely think that open-source is a revolution and not hype...
> It's little known, but the schematics of the Apple I were actually
> handed out at the Homebrew Computer Club before we started Apple."
> -- Steve "Woz" Wozniak, inventor of the Apple Computer
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
Research:
http://metallo.scripps.edu/
Personal: http://www.castagnetto.org/
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com