roxen.lists.roxen.general

Subject Author Date
Re: errors compiling roxen-4.5.111-src/pike/src/modules/Gmp Armin Arh <armin[at]pubbox[dot]net> 01-12-2006
On Fri, 1 Dec 2006 14:52:01 +0100 (CET)
Henrik Grubbström <<grubba[at]roxen.com>> wrote:
> 
> What does modules/Gmp/config.log say about it?
> 

configure:1448: checking working <gmp.h>
configure:1531:
/home/armin/projects/roxen/roxen-4.5.111-src/build/freebsd-5.4-beta1-i386/pike
/src/smartlink gcc -o conftest  -g -I/usr/local/include/pth -I
/usr/local/include -g -O2 -pipe
 -I/usr/local/include/pth -L/usr/local/lib/pth conftest.c -lm  -lpthread -lcrypt
-lgmp 1>&5
/usr/bin/ld: cannot find -lgmp

> /usr/local/include should be searched for automatically.

Yes it does. The library path is missing.
When setting "LDFLAGS='-L /usr/local/lib'" configure runs
nicely in the gmp subdir. The toplevel Makefile
is not interested in this variable, though...
....even writing it into the Makefile does not compile the
stuff.

thx.
Armin
-- 
PUBBOX Postmaster, spam-killer no.1, free email address at http://pubbox.net/