On 12/20/06, Ramdas <[EMAIL PROTECTED]> wrote:
Hi Group,

Sorry if this is OT.

I am facing problems with Mail-ClamAV  on my OpenBSD 4.0 install.

I am newbie in OpenBSD. All my servers are currently running Linux (
RedHat 9) and I have never faced these kind on issues before.

I was facing problems compiling ClamAV 0.88.7 but after following the url

http://archive.netbsd.se/?ml=clamav-users&a=2005-09&t=1317667

the complie was completed .

However I see the following in configure, not sure if it's normal.
-----
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
checking for inflateEnd in -lz... yes
checking for bzReadOpen in -lbz2... no
checking bzlib.h usability... yes
checking bzlib.h presence... no
configure: WARNING: bzlib.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: bzlib.h: proceeding with the compiler's result
checking for bzlib.h... yes
checking for __dn_expand in -lresolv... no
checking for dn_expand in -lresolv... no
checking resolv.h usability... no
checking resolv.h presence... yes
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h:     check for missing prerequisite headers?
configure: WARNING: resolv.h: see the Autoconf documentation
configure: WARNING: resolv.h:     section "Present But Cannot Be Compiled"
configure: WARNING: resolv.h: proceeding with the preprocessor's result
configure: WARNING: resolv.h: in the future, the compiler will take precedence
checking for resolv.h... yes
checking whether setpgrp takes no argument... no
checking for __gmpz_init in -lgmp... yes
checking for recvmsg... yes
checking for sendmsg... yes
checking for msg_accrights field in struct msghdr... no
checking for msg_control field in struct msghdr... yes
checking for gethostbyname_r... support disabled
checking for readdir_r... support disabled
checking for ctime_r... yes, and it takes 2 arguments
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for structure packing via __attribute__((packed))... yes
checking for type aligning via __attribute__((aligned))... yes
checking for fd_set... yes, found in sys/types.h
checking default FD_SETSIZE value... 1024
checking for socklen_t... yes
configure: creating ./config.status
config.status: creating libclamav/Makefile
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating clamd/Makefile
config.status: creating clamdscan/Makefile
config.status: creating clamav-milter/Makefile
config.status: creating freshclam/Makefile
config.status: creating sigtool/Makefile
config.status: creating etc/Makefile
config.status: creating Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating docs/man/clamd.8
config.status: creating docs/man/clamd.conf.5
config.status: creating docs/man/freshclam.1
config.status: creating docs/man/freshclam.conf.5
config.status: creating clamav-config.h
config.status: clamav-config.h is unchanged
config.status: executing depfiles commands
-----

The configure is as follows
----------
/home/BUILD/clamav-0.88.7 #  LDFLAGS="-L/usr/local/lib -lpthread"
CFLAGS="-I/usr/local/include" ./configure --disable-clamav
--enable-dependency-tracking --disable-clamuko --enable-bigstack
--sysconfdir=/etc --with-user=clamav --with-group=clamav --disable-cr
--disable-urandom
----------
The make install completes and I can start clamd & freshclam without
any problems

Further as I run perl Makefile.PL for Mail-Clamav-0.17 i get following error.

---
/home/BUILD/Mail-ClamAV-0.17# perl Makefile.PL
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lclamav
Writing Makefile for Mail::ClamAV

--
find /usr -iname '*clam* returns
--
/usr/local/bin/clamav-config
/usr/local/bin/clamscan
/usr/local/bin/clamdscan
/usr/local/bin/freshclam
/usr/local/lib/libclamav.so.1.19
/usr/local/lib/libclamav.la
/usr/local/lib/libclamav.a
/usr/local/lib/pkgconfig/libclamav.pc
/usr/local/sbin/clamd
/usr/local/include/clamav.h
/usr/local/share/clamav
/usr/local/share/man/man1/clamscan.1
/usr/local/share/man/man1/freshclam.1
/usr/local/share/man/man1/clamdscan.1
/usr/local/share/man/man5/clamd.conf.5
/usr/local/share/man/man5/freshclam.conf.5
/usr/local/share/man/man8/clamd.8
/usr/local/share/man/man8/clamav-milter.8

--

---
 #clamav-config --libs
-L/usr/local/lib -lz -lbz2 -lgmp -pthread
 #clamav-config --cflags
-I/usr/local/include -I/usr/local/include
 #
---

I deleted all the *clam* files  & reinstalled ClamAV 0.88.7 but the
problem remains. Also I am unable to find any proper info .
I greatly rely on Mail-CLAMAV for virus scanning .
Please help and let me know what more info I have post.

Thanx in advance....
Regards
Ram


I have now removed the Clamav 0.88.7 files & installed ClamAV 0.88.4
from the ports . The install is ok without any errors but still I am
unable to compile Mail-ClaamAV on it.

Has anyone used Mail-ClamAV on OpenBSD 4.0. Or is it that I have
downgrade to OpenBSD to get it working.

Please help.

Regards
Ramdas
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to