Re: [Clamav-users] compiling on AIX 5.2 and location of libgmp.

2008-04-17 Thread Török Edwin
Naomi Hospodarsky wrote: > hmm. well. > > grepping for just mpz_init on libgmp.a also returns nothing. > > grepping for mpz_init in gmp.h returns: > > gmp.h: 0654-203 Specify an XCOFF object module. That string doesn't contain mpz_init, are you sure you used grep on gmp.h and not nm? This is wei

Re: [Clamav-users] compiling on AIX 5.2 and location of libgmp.

2008-04-17 Thread Naomi Hospodarsky
hmm. well. grepping for just mpz_init on libgmp.a also returns nothing. grepping for mpz_init in gmp.h returns: gmp.h: 0654-203 Specify an XCOFF object module. On Thu, Apr 17, 2008 at 2:40 PM, Török Edwin <[EMAIL PROTECTED]> wrote: > Naomi Hospodarsky wrote: > > This is version 4.2.2 of GMP,

Re: [Clamav-users] compiling on AIX 5.2 and location of libgmp.

2008-04-17 Thread Török Edwin
Naomi Hospodarsky wrote: > This is version 4.2.2 of GMP, and it SEEMS to compile just fine; I can > run make check with no errors. > > running > nm /usr/local/lib/libgmp.a |grep __gmpz_init > Try grepping for just mpz_init. Also grep for mpz_init in gmp.h Best regards, --Edwin

Re: [Clamav-users] compiling on AIX 5.2 and location of libgmp.

2008-04-17 Thread Naomi Hospodarsky
This is version 4.2.2 of GMP, and it SEEMS to compile just fine; I can run make check with no errors. running nm /usr/local/lib/libgmp.a |grep __gmpz_init returns nothing; and then configuring clamav with either: LDFLAGS="-R/usr/local/lib -L/usr/local/lib -L/usr/lib -L/usr/local/ssl" ./config

Re: [Clamav-users] compiling on AIX 5.2 and location of libgmp.

2008-04-16 Thread Dennis Peterson
Naomi Hospodarsky wrote: > Okay, that makes sense. I tried copying the lib files over to > /usr/local/lib as you suggested, and am now getting this error in > config.log > > configure:15256: checking for libgmp > configure:15286: cc -qlanglvl=extc89 -o conftest -g > -I/usr/local/include conftest.

Re: [Clamav-users] compiling on AIX 5.2 and location of libgmp.

2008-04-16 Thread Kwijibo
Naomi Hospodarsky wrote: > Okay, that makes sense. I tried copying the lib files over to > /usr/local/lib as you suggested, and am now getting this error in > config.log > > configure:15256: checking for libgmp > configure:15286: cc -qlanglvl=extc89 -o conftest -g > -I/usr/local/include conftest.c

Re: [Clamav-users] compiling on AIX 5.2 and location of libgmp.

2008-04-16 Thread Naomi Hospodarsky
Okay, that makes sense. I tried copying the lib files over to /usr/local/lib as you suggested, and am now getting this error in config.log configure:15256: checking for libgmp configure:15286: cc -qlanglvl=extc89 -o conftest -g -I/usr/local/include conftest.c /usr/local/lib/libgmp.a >&5 ld: 0711

Re: [Clamav-users] compiling on AIX 5.2 and location of libgmp.

2008-04-16 Thread Dennis Peterson
Naomi Hospodarsky wrote: > In the output of the config.log I posted, you'll see that clamav is > looking for the libs in /usr/local/include (where GMP installed its > files), but for some reason doesn't see them. So it's not that clamav > is looking in the wrong location, exactly, but that it is, f

Re: [Clamav-users] compiling on AIX 5.2 and location of libgmp.

2008-04-16 Thread Naomi Hospodarsky
In the output of the config.log I posted, you'll see that clamav is looking for the libs in /usr/local/include (where GMP installed its files), but for some reason doesn't see them. So it's not that clamav is looking in the wrong location, exactly, but that it is, for some reason, not seeing what's

Re: [Clamav-users] compiling on AIX 5.2 and location of libgmp.

2008-04-16 Thread kwijibo
Naomi Hospodarsky wrote: > So I'm not sure where the disconnect is happening between the two > programs; if anyone has any ideas, I'd be very glad to hear them! I am not up to speed on AIX so I may have some wrong presumptions but shouldn't your header files by in /usr/local/include and your libra