zziplib support to PHP4

Frank McCormick fmccormick at videotron.ca
Thu Aug 25 02:38:14 UTC 2005


On Thu, 25 Aug 2005 02:14:19 +0000
Celson Aquino <celson.aquino at gmail.com> wrote:

> I am trying to add zziplib support to PHP on Ubuntu 5.04 
> 
> Since I cannot find a package to install via apt-get I am trying to
> compile zziplib to generate zziplib.so, then put it on PHP directory
> and call with "extension=zziplib.so" (I dont know if it works this
> way)
> 
> I downloaded zziplib (apt-get source zziplib-bin)
> then I cd to new dir and ./configure
> 
> The following error appears:
> 
> root at localhost:/usr/local/src/zziplib-0.12.83 # ./configure

> checking for zlib being found... ...oops: zlib.h not found - try
/snip/
> adding some CPPFLAGS to configure call
> ...note: and when linkage fails you might also need to set some LDFLAGS
> ...note: both can be set by specifying the install prefix of the zlib library
> ...note: via --with-zlib=path ... it will test for -Ipath/include -Lpath/lib
> configure: error: zlib.h not found: "zlib" is required to build "zziplib"
> 
> 

Looks like you might need :

apt-get install zlib1g zlib1g-dev



-- 
Cheers

Frank





More information about the ubuntu-users mailing list