Dudi Goldenberg skrev, on 05-12-2007 08:40:

I'm trying to build dspam 3.8.0 from sources on debian etch/lenny and get the 
following error:

uname -a:
Linux kitty1 2.6.18-5-686 #1 SMP Wed Oct 3 00:12:50 UTC 2007 i686 GNU/Linux

[...]

checking which storage drivers to build... libdb4_drv,mysql_drv,hash_drv
checking whether to enable virtual users... yes
checking where to find MySQL headers... /usr/include/mysql
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking for library containing gzopen... no
configure: error: zlib required for mysql_drv

As far as I can tell I have the relevant libs installed:

kitty1:/usr/src/dspam# dpkg -l| grep zlib
ii  libcompress-zlib-perl             1.42-2                          Perl 
module for creation and manipulation of
ii  libio-zlib-perl                   1.04-1                          IO:: 
style interface to Compress::Zlib
ii  zlib-bin                          1.2.3.3.dfsg-6                  
compression library - sample programs
ii  zlib1g                            1.2.3.3.dfsg-6                  
compression library - runtime
ii  zlib1g-dbg                        1.2.3.3.dfsg-6                  
compression library - development
ii  zlib1g-dev                        1.2.3.3.dfsg-6                  
compression library - development

I get the same results from both dspam-3.8.0.tar.gz downloaded from the 
official site and the CVS.

Any pointers?

I'm not a Debian person, but on my FC6 and RHEL5 machines the dspam 3.8.0 source builds fine. If, on a RHEL5 machine, I do:

1036 [root:mercurius.intern] /etc/postfix/maps # rpm -qa|grep zlib
zlib.i386       1.2.3-3 installed
zlib-devel.i386       1.2.3-3 installed
1037 [root:mercurius.intern] /etc/postfix/maps # rpm -qlv zlib-devel.i386
-rw-r--r-- 1 root root 9544 Jul 19 2006 /usr/include/zconf.h -rw-r--r-- 1 root root 66188 Jul 19 2006 /usr/include/zlib.h -rw-r--r-- 1 root root 6859 Jul 19 2006 /usr/include/zutil.h
-rwxr-xr-x    1 root    root            92622 Jul 19  2006 /usr/lib/libz.a
lrwxrwxrwx 1 root root 13 Jul 19 2006 /usr/lib/libz.so -> libz.so.1.2.3 drwxr-xr-x 2 root root 0 Jul 19 2006 /usr/share/doc/zlib-devel-1.2.3 -rw-r--r-- 1 root root 42928 Jul 18 2005 /usr/share/doc/zlib-devel-1.2.3/ChangeLog -rw-r--r-- 1 root root 9336 Jun 2 2003 /usr/share/doc/zlib-devel-1.2.3/algorithm.txt -rw-r--r-- 1 root root 16398 Oct 24 2004 /usr/share/doc/zlib-devel-1.2.3/example.c -rw-r--r-- 1 root root 8018 May 28 2005 /usr/share/doc/zlib-devel-1.2.3/minigzip.c -rw-r--r-- 1 root root 2082 Jul 19 2006 /usr/share/man/man3/zlib.3.gz

I see the locations of the necessary libs and headers. I.e., that's where the compile is looking for them. Do you have these libs and headers in these locations?

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl

Reply via email to