On Tue, Apr 06, 2004 at 01:51:29PM -0700, Norman Yee said:
> hi,
> 
> i'm trying to get clamav 0.70-rc installed and have gmp installed in a 
> directory under my home dir (eg. /home/norm/bin/gmp)
> 
> when i run
> 
> ./configure --prefix=/home/norm/bin/clamav --disable-clamav --enable-milter
> 
> one of the messages i see is:
> checking for mpz_init in -lgmp... no
> WARNING: GNU MP 2 or newer NOT FOUND - digital signature support will be 
> disabled !
> 
> i'm a configure n00b but I am guessing i need to somehow tell it to look in 
> /home/norm/bin/gmp for the GMP libraries? How do I do this? i'm running RH 
> (/etc/rehat-release says "Red Hat Linux release HAL9000")
> 
> thanks in advance,
> -norm

[EMAIL PROTECTED]:~/Debian/clamav/0.70/clamav-0.70-rc$ ./configure --help
[...]
Some influential environment variables:
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>

So try:
LDFLAGS=-L/home/norm/bin/gmp ./configure --prefix=/home/norm/bin/clamav 
--disable-clamav --enable-milter

(all on one line)

HTH,
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | He who is good for making excuses is    |
|  [EMAIL PROTECTED]             | seldom good for anything else.          |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to