[lfs-support] LFS - coreutils-8.14 missing gmp.h - Compilation TERMINATED... sniff.... Waaaah

Sevak sevak at ogbbq.com
Fri Feb 17 07:09:59 PST 2012

 <jasonpsage <at> jegas.com> writes:

> Has anyone received an error with core utils resembling:
> make[3]: Entering Directory `/mnt/lfs/sources/coreutils-8.14/src'
>   CC       expr.o
> expr.c:54:18 fatal error: gmp.h: No such file or directory
> compilation terminated.
> Is there perhaps a dependancy not in the list of files we are to
> download maybe? I did all the Errata patches and stuff... so I'm
> puzzled... (which isn't a new thing) but still... (B^)>
> Thank You! 
> --Jason

Edit src/Makefile and add "-I/xxx" where xxx is your gmp include path to CFLAGS.

Mine looks like:
CFLAGS = -g -O2 -I/usr/gnu/gmp-5.0.3/include

I completed the build on Solaris 11 x86

More information about the lfs-support mailing list