unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Gaurav Goel <gaurav.x.goel@oracle.com>
Cc: bug-guile@gnu.org
Subject: Re: Error in configuring guile project.
Date: Fri, 10 Sep 2010 23:44:57 +0200	[thread overview]
Message-ID: <87zkvp9sti.fsf@gnu.org> (raw)
In-Reply-To: <454D5341-D72C-4A0B-9C7B-9B3BE2F356BC@oracle.com> (Gaurav Goel's message of "Thu, 9 Sep 2010 15:25:29 +0530")

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’.



  parent reply	other threads:[~2010-09-10 21:44 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 [this message]
2010-09-11  5:11   ` Gaurav Goel

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=87zkvp9sti.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-guile@gnu.org \
    --cc=gaurav.x.goel@oracle.com \
    /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).