From owner-freebsd-ports@FreeBSD.ORG Thu Jul 3 10:20:56 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01DAC106567D for ; Thu, 3 Jul 2008 10:20:56 +0000 (UTC) (envelope-from yance@sic.nsw.edu.au) Received: from titan.multicorehost.com (titan.multicorehost.com [72.52.215.34]) by mx1.freebsd.org (Postfix) with ESMTP id 3F4838FC20 for ; Thu, 3 Jul 2008 10:20:55 +0000 (UTC) (envelope-from yance@sic.nsw.edu.au) Received: from [61.88.127.149] (port=33768 helo=xprz12) by titan.multicorehost.com with esmtp (Exim 4.69) (envelope-from ) id 1KEGO7-0002e8-5F for freebsd-ports@freebsd.org; Thu, 03 Jul 2008 14:25:44 +1000 From: "yance" To: Date: Thu, 3 Jul 2008 14:25:40 +1000 Message-ID: <000801c8dcc4$dc1b0c40$3d01a8c0@xprz12> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcjcxNnq/veTTMscR5mBuWTbrjfXmQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - titan.multicorehost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sic.nsw.edu.au X-Source: X-Source-Args: X-Source-Dir: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: clamav bug X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 10:20:56 -0000 Hi, I have just update m ports collection. My FreeBSD is 6.0-RELEASE, and when I tried to install clamav from ports collection it returned an error: # make install ===> Building for clamav-0.93.1_2 make all-recursive Making all in libclamunrar Making all in libclamunrar_iface Making all in libclamav Making all in lzma Making all in . Making all in clamscan /bin/sh /usr/local/bin/libtool --tag=CC --mode=link cc -O2 -fno-strict-aliasing -pipe -L/usr/local/lib -lthr -o clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o ../libclamav/libclamav.la -lthr cc -O2 -fno-strict-aliasing -pipe -o .libs/clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o -L/usr/local/lib ../libclamav/.libs/libclamav.so /usr/ports/security/clamav/work/clamav-0.93.1/libclamunrar_iface/.libs/libcl amunrar_iface.so /usr/ports/security/clamav/work/clamav-0.93.1/libclamunrar/.libs/libclamunra r.so -lbz2 /usr/local/lib/libgmp.so -lz -lthr -Wl,--rpath -Wl,/usr/local/lib ../libclamav/.libs/libclamav.so: undefined reference to `gethostbyname_r' *** Error code 1 Stop in /usr/ports/security/clamav/work/clamav-0.93.1/clamscan. *** Error code 1 Stop in /usr/ports/security/clamav/work/clamav-0.93.1. *** Error code 1 Stop in /usr/ports/security/clamav/work/clamav-0.93.1. *** Error code 1 Stop in /usr/ports/security/clamav. *** Error code 1 Stop in /usr/ports/security/clamav. Tried to modify Makefile into the following: CONFIGURE_ARGS= --with-dbdir=${DBDIR} \ --with-zlib=/usr \ --without-thread \ --disable-gethostbyname_r \ --disable-zlib-vcheck \ --disable-clamuko \ --disable-clamav \ --disable-pthread \ --enable-bigstack \ --enable-readdir_r \ Please advise. Kind regards, Yance