unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Gaurav Goel <gaurav.x.goel@oracle.com>
To: ludo@gnu.org
Cc: bug-guile@gnu.org
Subject: Re: Error in configuring guile project.
Date: Sat, 11 Sep 2010 10:41:09 +0530	[thread overview]
Message-ID: <D6F95358-71DF-4BF3-92A9-394B1191F224@oracle.com> (raw)
In-Reply-To: <87zkvp9sti.fsf@gnu.org>

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

> Hi,
> 
> Gaurav Goel <gaurav.x.goel@oracle.com> 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	other threads:[~2010-09-11  5:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-09  9:55 Error in configuring guile project Gaurav Goel
2010-09-10  8:44 ` Andy Wingo
2010-09-10 21:44 ` Ludovic Courtès
2010-09-11  5:11   ` Gaurav Goel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D6F95358-71DF-4BF3-92A9-394B1191F224@oracle.com \
    --to=gaurav.x.goel@oracle.com \
    --cc=bug-guile@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).