unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* How to install guile using local libraries
@ 2016-06-26 13:39 Jakub Jankiewicz
  2016-06-26 16:23 ` Mike Gran
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jankiewicz @ 2016-06-26 13:39 UTC (permalink / raw)
  To: guile-user

Hi,

I want to install guile locally to /home/me/lib, but when I've run:

./configure I got error:

    configure: error: GNU MP 4.1 or greater not found, see README

so I've installed GNU MP locally using:

    ./configure --prefix=/home/me/
    make
    make install

and it created this files in /home/me/lib/ (it also created
directory /home/me/include with header file):

    libgmp.a
    libgmp.la
    libgmp.so
    libgmp.so.10
    libgmp.so.10.3.1

I've found in configure script for guile that there is option: 
--with-libgmp-prefix=DIR

so I run:

    ./configure --with-libgmp-prefix=/home/me

but got the same error (that can't find GNU MP), How can I inform guile's
configure script where is GMP?

thanks in advance
Jakub



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to install guile using local libraries
  2016-06-26 13:39 How to install guile using local libraries Jakub Jankiewicz
@ 2016-06-26 16:23 ` Mike Gran
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Gran @ 2016-06-26 16:23 UTC (permalink / raw)
  To: Jakub Jankiewicz, guile-user@gnu.org


> and it created this files in /home/me/lib/ (it also created
> directory /home/me/include with header file):
> 
>     libgmp.a
>     libgmp.la
>     libgmp.so
>     libgmp.so.10
>     libgmp.so.10.3.1
> 
> I've found in configure script for guile that there is option: 
> --with-libgmp-prefix=DIR
> 
> so I run:
> 
>     ./configure --with-libgmp-prefix=/home/me
> 
> but got the same error (that can't find GNU MP), How can I inform 
> guile's
> configure script where is GMP?


Perhaps you now need to set the environment variable
PKG_CONFIG_PATH=/home/me/share/pkgconfig
so that it can find the path under which the *.pc files
have been installed.

-Mike 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-26 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-26 13:39 How to install guile using local libraries Jakub Jankiewicz
2016-06-26 16:23 ` Mike Gran

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