Re: Failure during configure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> ----------------------------------------------------------------------
> Date: Thu, 18 Feb 2016 16:09:05 -0000 (GMT)
> From: "Dave Stratford" <dave.stratford@xxxxxxxxxxxxxxxxxxxxx>

> Content-Type: text/plain;charset=utf-8
> 
> Downloaded the 2.0 771 branch and trying to compile.
> 
> Fails at the configure stage:
> 
> 
> 
> configure: Checks for GMP ...
> checking gmp.h usability... yes
> checking gmp.h presence... yes
> checking for gmp.h... yes
> checking for __gmpz_init in -lgmp... yes
> configure: error: Unable to extract GMP version information from gmp.h
> 
> $ tail /usr/local/include/gmp.h
> #define __GMP_CFLAGS "-O2 -pedantic -fomit-frame-pointer -m64
> -mtune=nocona"
> 
> /* Major version number is the value of __GNU_MP__ too, above and in mp.h. */
> #define __GNU_MP_VERSION            6
> #define __GNU_MP_VERSION_MINOR      1
> #define __GNU_MP_VERSION_PATCHLEVEL 0
> #define __GNU_MP_RELEASE (__GNU_MP_VERSION * 10000 +
> __GNU_MP_VERSION_MINOR * 100 + __GNU_MP_VERSION_PATCHLEVEL)
> 
> #define __GMP_H__
> #endif /* __GMP_H__ */
> 
> 
> Any ideas please?
> 
> Many thanks,
> 
> Dave.
> 

Yes: I *guess* /usr/local is not a part of the standard your C compiler
uses. If this is the case you can fix this by doing the following:

  export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
  ./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"

Simon



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
open-cobol-list mailing list
open-cobol-list@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/open-cobol-list



[Index of Archives]     [Gcc Help]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Info]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux