roxen.lists.roxen.general

Subject Author Date
Re: errors compiling roxen-4.5.111-src/pike/src/modules/Gmp Henrik_Grubbström <grubba[at]roxen[dot]com> 01-12-2006
On Fri, 1 Dec 2006, Armin Arh wrote:

> Hi there,
>
> trying to compile to newest roxen-4.5 with just saying
>
> make leads to the following:
>
> checking working <gmp.h>... no
> configure: error: Cannot compile --with-bignums without the GMP library
> It is highly recommended that you install a working GMP
> library on your system as that will add features to Pike
> required by many applications.  (Such as Roxen) However,
> if you know that you do not need GMP, you may re-run configure
> with the option --without-bignums instead.

What does modules/Gmp/config.log say about it?

> gmp4 is installed, and the include file is correctly located
> in /usr/local/include.
>
> doing  "gcc -E -I /usr/local/include conftest.c >/dev/null"
> by hand works fine, thus configure or Make are doing something
> wrong here. Even starting ./configure --includedir=/usr/local/include
> is does no good.

/usr/local/include should be searched for automatically.

> What would be the best way to compile this cleanly?
>
> FreeBSD-5.4-BETA1 running here...
>
> thx. for any hints or ideas,
>
> Armin

--
Henrik Grubbström					<grubba[at]roxen.com>
Roxen Internet Software AB