[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in configuring guile project.
From: |
Ludovic Courtès |
Subject: |
Re: Error in configuring guile project. |
Date: |
Fri, 10 Sep 2010 23:44:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
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’.