gmp configure fails

Paul Leyland paul at
Mon Jun 15 09:12:56 CEST 2009

Torbjorn is quite correct in that you can't expect detailed help here.

However, typing "fork: Cannot allocate memory" (with the quotes) into
Google turns up quite a lot of detailed help elsewhere.

The help you get here, which you should commit to memory, is "Google is
your friend".


On Sun, 2009-06-14 at 23:40 +0200, Torbjorn Granlund wrote:
> Travis Baker <baker.travis at> writes:
>   I have been having troubles installing the latest gmp package for a while
>   now, and have not had any success posting on gentoo forums, so I am hoping
>   there is someone here that can help me.
>   When trying to compile and install gmp the ./configure script fails with the
>   following error:
>   ./configure --prefix=/usr --build=powerpc-unknown-linux-gnu
>   --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man
>   --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
>   --localstatedir=/var/lib --localstatedir=/var/state/*gmp* --disable-mpfr
>   --disable-mpbsd --enable-cxx
>   ./configure.lineno: fork: Cannot allocate memory
> Your machine is not healthy if it cannot run a shell script.
> This is not GMP related, so please do not expect to get detailed help
> here.

More information about the gmp-discuss mailing list