install-Clam-0.91.1-SA-3.2.1.tar.gz configure error

Mike Kercher mkercher at nfsmith.com
Tue Jul 24 21:41:28 IST 2007


The error is in your text below:

configure: error: Please install zlib and zlib-devel packages

Mike
 

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Brad
Beckenhauer
Sent: Tuesday, July 24, 2007 2:58 PM
To: mailscanner at lists.mailscanner.info
Subject: install-Clam-0.91.1-SA-3.2.1.tar.gz configure error

Hi,

I get a "configure error" when installing
install-Clam-0.91.1-SA-3.2.1.tar.gz and clam will not install.
I found that if zlib-devel is installed first, then the package
installs.
-Brad

How I discovered it.
Installed Centos 5.0, no GUI, no graphical at all.
Customize config, deselect all packages.

Download install-Clam-0.91.1-SA-3.2.1.tar.gz and unpack.

run the install.sh

install-Clam-0.91.1-SA-3.2.1/
install-Clam-0.91.1-SA-3.2.1/perl-tar/
install-Clam-0.91.1-SA-3.2.1/perl-tar/Data-Dump-1.08.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/ExtUtils-ParseXS-2.18.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/version-0.7203.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/IP-Country-2.21.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Inline-0.44.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Digest-1.15.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Module-Build-0.2808.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Error-0.17008.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Sys-Hostname-Long-1.4.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Archive-Tar-1.29.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Digest-HMAC-1.01.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/DB_File-1.814.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/URI-1.35.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Mail-SPF-2.004.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Business-ISBN-1.82.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Test-Harness-2.56.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Net-CIDR-Lite-0.20.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Net-DNS-0.60.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Test-Manifest-0.95.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Mail-SpamAssassin-3.2.1.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Digest-MD5-2.36.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/NetAddr-IP-4.004.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Net-IP-1.25.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/ExtUtils-CBuilder-0.18.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Encode-Detect-1.00.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/IO-String-1.08.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Digest-SHA1-2.10.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Mail-ClamAV-0.20.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/IO-Zlib-1.04.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Net-DNS-Resolver-Programmable-0.00
2.2.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/YAML-0.62.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Business-ISBN-Data-1.10.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/HTML-Parser-3.56.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Mail-SPF-Query-1.999.1.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/clamav-0.91.1.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Parse-RecDescent-1.94.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Test-Simple-0.70.tar.gz
install-Clam-0.91.1-SA-3.2.1/perl-tar/Text-Balanced-1.98.tar.gz
install-Clam-0.91.1-SA-3.2.1/install.sh
install-Clam-0.91.1-SA-3.2.1/functions.sh
install-Clam-0.91.1-SA-3.2.1/CheckModuleVersion

Good, you appear to only have 1 copy of Perl installed: /usr/bin/perl
Found gcc.
cc is really gcc.
Good, I have found GNU tar in /bin/tar.

This script will pause for a few seconds after each major step, so do
not worry if it appears to stop for a while.
If you want it to stop so you can scroll back through the output then
press Ctrl-S to stop the output and Ctrl-Q to start it again.


If this fails due to dependency checks, and you wish to ignore these
problems, you can run
    ./install.sh --nodeps

Installing ClamAV

There are 2 recommended ways of installing ClamAV, depending on various
factors.
If you want to use MailScanners support for Clamd (virus-scanning
daemon) then I recommend you cancel this script now (press Ctrl-C) and
install the RPMs for clamav, clamav-db and clamd from
     http://dag.wieers.com/rpm/packages/clamav
Then re-run this script and tell me that clamscan is installed in
/usr/bin. This will set up your virus.scanners.conf file for you.

Otherwise you probably want me to install ClamAV now. So answer y.

Do you want me to install ClamAV for you [y or n, default is y] ? y Do
not worry about warnings or errors from the next 3 commands You can
start worrying about errors again now

About to build the ClamAV virus scanner
checking build system type... i686-pc-linux-gnu checking host system
type... i686-pc-linux-gnu checking target system type...
i686-pc-linux-gnu creating target.h - canonical system defines checking
for a BSD-compatible install... /usr/bin/install -c checking whether
build environment is sane... yes checking for gawk... gawk checking
whether make sets $(MAKE)... yes checking for gawk... (cached) gawk
checking for gcc... gcc checking for C compiler default output file
name... a.out checking whether the C compiler works... yes checking
whether we are cross compiling... no checking for suffix of
executables... 
checking for suffix of object files... o checking whether we are using
the GNU C compiler... yes checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed checking for
style of include used by make... GNU checking dependency style of gcc...
gcc3 checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes checking whether make sets
$(MAKE)... (cached) yes checking for a sed that does not truncate
output... /bin/sed checking for grep that handles long lines and -e...
/bin/grep checking for egrep... /bin/grep -E checking for ld used by
gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r checking
for BSD-compatible nm... /usr/bin/nm -B checking how to recognise
dependent libraries... pass_all checking how to run the C
preprocessor... gcc -E checking for ANSI C header files... yes checking
for sys/types.h... yes checking for sys/stat.h... yes checking for
stdlib.h... yes checking for string.h... yes checking for memory.h...
yes checking for strings.h... yes checking for inttypes.h... yes
checking for stdint.h... yes checking for unistd.h... yes checking
dlfcn.h usability... yes checking dlfcn.h presence... yes checking for
dlfcn.h... yes checking for g++... no checking for c++... no checking
for gpp... no checking for aCC... no checking for CC... no checking for
cxx... no checking for cc++... no checking for cl.exe... no checking for
FCC... no checking for KCC... no checking for RCC... no checking for
xlC_r... no checking for xlC... no checking whether we are using the GNU
C++ compiler... no checking whether g++ accepts -g... no checking
dependency style of g++... none checking for g77... no checking for
xlf... no checking for f77... no checking for frt... no checking for
pgf77... no checking for cf77... no checking for fort77... no checking
for fl32... no checking for af77... no checking for xlf90... no checking
for f90... no checking for pgf90... no checking for pghpf... no checking
for epcf90... no checking for gfortran... no checking for g95... no
checking for xlf95... no checking for f95... no checking for fort... no
checking for ifort... no checking for ifc... no checking for efc... no
checking for pgf95... no checking for lf95... no checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no checking
whether  accepts -g... no checking the maximum length of command line
arguments... 32768 checking command to parse /usr/bin/nm -B output from
gcc object... ok checking for objdir... .libs checking for ar... ar
checking for ranlib... ranlib checking for strip... strip checking if
gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to
produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes checking if gcc
supports -c -o file.o... yes checking whether the gcc linker
(/usr/bin/ld) supports shared libraries... yes checking whether -lc
should be explicitly linked in... no checking dynamic linker
characteristics... cat: ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so checking how to hardcode library paths into programs...
immediate checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes checking whether to
build shared libraries... yes checking whether to build static
libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool appending configuration tag
"F77" to libtool checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes checking for unistd.h... (cached)
yes checking sys/int_types.h usability... no checking sys/int_types.h
presence... no checking for sys/int_types.h... no checking for
dlfcn.h... (cached) yes checking for inttypes.h... (cached) yes checking
sys/inttypes.h usability... no checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no checking for memory.h... (cached) yes
checking ndir.h usability... no checking ndir.h presence... no checking
for ndir.h... no checking for stdlib.h... (cached) yes checking for
strings.h... (cached) yes checking for string.h... (cached) yes checking
sys/mman.h usability... yes checking sys/mman.h presence... yes checking
for sys/mman.h... yes checking sys/param.h usability... yes checking
sys/param.h presence... yes checking for sys/param.h... yes checking for
sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes
checking malloc.h usability... yes checking malloc.h presence... yes
checking for malloc.h... yes checking poll.h usability... yes checking
poll.h presence... yes checking for poll.h... yes checking regex.h
usability... yes checking regex.h presence... yes checking for
regex.h... yes checking limits.h usability... yes checking limits.h
presence... yes checking for limits.h... yes checking sys/filio.h
usability... no checking sys/filio.h presence... no checking for
sys/filio.h... no checking sys/uio.h usability... yes checking sys/uio.h
presence... yes checking for sys/uio.h... yes checking termios.h
usability... yes checking termios.h presence... yes checking for
termios.h... yes checking iconv.h usability... yes checking iconv.h
presence... yes checking for iconv.h... yes checking stdbool.h
usability... yes checking stdbool.h presence... yes checking for
stdbool.h... yes checking pwd.h usability... yes checking pwd.h
presence... yes checking for pwd.h... yes checking grp.h usability...
yes checking grp.h presence... yes checking for grp.h... yes checking
syslog.h usability... yes checking syslog.h presence... yes checking for
syslog.h... yes checking for off_t... yes checking size of short... 2
checking size of int... 4 checking size of long... 4 checking size of
long long... 8 checking for bind in -lsocket... no checking for
gethostent in -lnsl... yes checking for libiconv_open in -liconv... no
checking for poll... yes checking for setsid... yes checking for
memcpy... yes checking for snprintf... yes checking for vsnprintf... yes
checking for strerror_r... yes checking for strlcpy... no checking for
strlcat... no checking for inet_ntop... yes checking for setgroups...
yes checking for initgroups... yes checking for ctime_r... yes checking
for mkstemp... yes checking for stdlib.h... (cached) yes checking for
unistd.h... (cached) yes checking for getpagesize... yes checking for
working mmap... yes checking for _LARGEFILE_SOURCE value needed for
large files... no checking whether snprintf correctly terminates long
strings... yes checking pthread.h usability... yes checking pthread.h
presence... yes checking for pthread.h... yes checking whether to enable
maintainer-specific portions of Makefiles...
no
checking for zlib installation... /usr
configure: error: Please install zlib and zlib-devel packages
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.

--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list