From owner-freebsd-ports@FreeBSD.ORG Thu May 11 19:46:57 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5676616A6A0; Thu, 11 May 2006 19:46:57 +0000 (UTC) (envelope-from andy@athame.co.uk) Received: from hex.athame.co.uk (salama58.adsl.netsonic.fi [81.17.207.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23D5A448E9; Thu, 11 May 2006 19:38:38 +0000 (GMT) (envelope-from andy@athame.co.uk) Received: from ping.int.athame.co.uk ([192.168.10.8]) by hex.athame.co.uk with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FeGzc-000HEq-Ab; Thu, 11 May 2006 22:38:36 +0300 From: Andy Fawcett To: freebsd-ports@freebsd.org Date: Thu, 11 May 2006 22:40:00 +0300 User-Agent: KMail/1.9.1 References: <20060511105950.GA49214@twisted.net> <20060511120323.GA27133@twisted.net> <1147349201.49163.7.camel@mayday.esat.net> In-Reply-To: <1147349201.49163.7.camel@mayday.esat.net> X-Face: ?fLK282oT!Ss!(krp%ft%TWfrkz*Mxz<2hwkRBzd); #D/=!=XjYKFBh1wVeov4K&<=?utf-8?q?Z6bi=5F=0A=09=7BBvAjk1diod2?=,DQo`Xz<\$~fX7B>U`u0HC\Gc+B9Hxu"bjBc16tg~i4.,2A1>=?utf-8?q?=7BrcRK=5Fi!i=0A=097e79f=7CT=3B9=23gfr=3DG1u=27xS=3D?=(}_NSP,Gs>HDq Cc: ports@freebsd.org, Alex Dupre , Florent Thoumie Subject: Re: clamav-0.88.2_1 upgrade fails to recognize libgmp and disables 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, 11 May 2006 19:47:20 -0000 On Thursday 11 May 2006 15:06, Florent Thoumie wrote: > On Thu, 2006-05-11 at 07:03 -0500, Troy wrote: > > Alex, > > > > I get the following > > > > ldconfig -r |grep gmp > > 231:-lgmpxx.4 => /usr/local/lib/libgmpxx.so.4 > > 301:-lgmp.7 => /usr/local/lib/libgmp.so.7 > > 358:-lgmp.6 => /usr/local/lib/compat/pkg/libgmp.so.6 > > 359:-lgmpxx.3 => /usr/local/lib/compat/pkg/libgmpxx.so.3 > > > > but during the make script I'm getting: > > > > checking for __gmpz_init in -lgmp... no > > > > pkg_info|grep gmp > > libgmp-4.2.1 A free library for arbitrary precision > > arithmetic > > > > I even rebuilt libgmp and clamav and still it doesn't see it. > > > > Any thoughts? > > Checking config.log might help. Seems it also breaks misc/kdeutils3, and disables building of kcalc, causing a packaging error. config.log shows: configure:35791: rm -rf SunWS_cache; c++ -o conftest -Wno-long-long -Wundef -Wal l -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -Wno -non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPAC E -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_THREAD_SA FE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/ usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -I/usr/local/include -I/usr/X11R6/ include -I/usr/local/include conftest.cc -L/usr/local/lib -L/usr/X11R6/lib - D_THREAD_SAFE -pthread -L/usr/local/lib -lgmp 1>&5 /usr/local/lib/libgmp.so: undefined reference to `__gmpn_add_nc' /usr/local/lib/libgmp.so: undefined reference to `__gmpn_sub_nc' configure:35797: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "kdeutils" | #define VERSION "3.5.2" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define KDELIBSUFF "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_SGI_STL 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCAT_PROTO 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRLCPY_PROTO 1 | #define HAVE_CRYPT 1 | #define kde_socklen_t socklen_t | #define ksize_t socklen_t | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_RES_INIT 1 | #define HAVE_RES_INIT_PROTO 1 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define SIZEOF_LONG 8 | #define SIZEOF_CHAR_P 8 | #define SIZEOF_SIZE_T 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBPNG 1 | #define HAVE_LIBJPEG 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_DIRENT_H 1 | #define STDC_HEADERS 1 | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_SYS_VMMETER_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SETENV 1 | #define HAVE_SETENV_PROTO 1 | #define HAVE_UNSETENV 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_FUNC_ISINF 1 | #define HAVE_FUNC_ROUND 1 | #define HAVE_FUNC_ROUNDL 1 | #define HAVE_LONG_DOUBLE 1 | /* end confdefs.h. */ | | #include | | int | main () | { | | mpz_t _mpz; | mpz_init_set_si(_mpz, 0); | | ; | return 0; | } A. -- Andy Fawcett | andy@athame.co.uk | tap@kde.org "In an open world without walls and fences, | tap@lspace.org we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org