bug-guile
[Top][All Lists]
Advanced

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

Re: Error in configuring guile project.


From: Gaurav Goel
Subject: Re: Error in configuring guile project.
Date: Sat, 11 Sep 2010 10:41:09 +0530

Thanks you Ludo, I used LDFLAGS and CPPFLAGS and It is working. 
           
On Sep 11, 2010, at 3:14 AM, address@hidden wrote:

> Hi,
> 
> Gaurav Goel <address@hidden> writes:
> 
>>       I was trying to build guile on my mac OS. When I tried to configure it 
>> with the command bash-3.2# 
>> ./../../gcc-requiredlib-4.5.1/guile-1.8.5/configure 
>> --with-gmp=/Users/gauravgoel/gcc-requiredlibbuild-4.5.1/gmp-5.0.1-build/gmp-5.0.1-install/
>>  
>> --prefix=/Users/gauravgoel/gcc-requiredlibbuild-4.5.1/guile-1.8.5-build/guile-1.8.5-install/
>>  
>> --with-mpfr=/Users/gauravgoel/gcc-requiredlibbuild-4.5.1/mpfr-3.0.0-build/mpfr-3.0.0-install/
>>  CFLAGS='-O2 -pedantic -m64 -mtune=core2 -march=core2' I got the error. 
> 
> Two remarks:
> 
>  1. Guile doesn’t use MPFR so you can safely omit ‘--with-mpfr’. ;-)
> 
>  2. Guile 1.8’s ‘configure’ doesn’t have a ‘--with-gmp’ flag, which
>     means you have to do things by hand.  In your case, that means
>     doing:
> 
>       $ LDFLAGS="-L/path/to/gmp/lib" \
>         CPPFLAGS="-I/path/to/gmp/include" \
>         ./configure ...
> 
> Plus the caveat Andy mentioned.
> 
> Hope this helps,
> Ludo’.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]