guile-devel
[Top][All Lists]
Advanced

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

Re: Configuring with GMP in /usr/local


From: Neil Jerram
Subject: Re: Configuring with GMP in /usr/local
Date: 26 Apr 2003 16:38:24 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Nelson" == Nelson H F Beebe <address@hidden> writes:

    >>> The problem is somehow getting ./configure
    >>> to tell gcc to look in /usr/local/{lib,include} before
    >>> /usr/{lib,include}.

    Nelson> Ahh... this is straightforward:

    Nelson>     env \
    Nelson>             CFLAGS=-I/usr/local/include \
    Nelson>             LDFLAGS="-L/usr/local/lib -Wl,-rpath,/usr/local/lib" \
    Nelson>             ./configure && make all check install

    Nelson> For code that uses C++, you'll need to add

    Nelson>             CXXFLAGS=-I/usr/local/include \

    Nelson> I've found rare packages that also need

    Nelson>             CPPFLAGS=-I/usr/local/include \

    Nelson> Sometimes, packages don't use LDFLAGS properly, so the above recipe
    Nelson> fails.  At that point, I fix the Makefile.in, and report the problem
    Nelson> to the authors.

Thank you!  I have a working CVS Guile now.

        Neil





reply via email to

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