GMP path specification issues with PBC

Sam Rawlins sam.rawlins at gmail.com
Mon Feb 7 18:19:35 CET 2011


On Mon, Feb 7, 2011 at 9:19 AM, Piotr DIOP <piotr.diop at stericsson.com>wrote:

> Hello,
>
> I'm currently trying to install PBC library on my linux pc. I noticed that
> I needed the GMP library to complete the installation.
> The problem is that after I successfully install GMP, I don't know how to
> specify the library path for PBC.
>

PBC likely accepts standard autoconf arguments to the configure script. Try
./configure --with-gmp-dir=/where/you/installed/gmp .

>
> Here is what I get when I run ./configure for PBC :
>
> ...
> Checking for __gmpz_init in -lgmp... no
> *****************
> Gmp library not found
> Add its path to LDFLAGS
> See ./configure -help
> *****************
>
> I tried to specify the path with the command : setenv LDFLAGS /home...
> /gmp-5.0.1/ but when I retry to install PBC it says
>
> ...
> Checking whether the C compiler works... no
> Configure : error: in '/home.../pbc-0.5.11':
> Configure : error: C compiler cannot create executables
> See 'config.log' for more details.
>
> Actually I'm new to linux and it's the first time I'm trying to install a
> program.
>
> Thank you in advance.
>
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-bugs
>



-- 
Sam Rawlins


More information about the gmp-bugs mailing list