pkgsrc-Users archive

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

Re: swi-prolog-lite and gmp



On Tuesday 05 December 2006 01:39, Lieven De Keyzer wrote:
> On 12/5/06, Juan RP <juan%xtrarom.org@localhost> wrote:
> > On Tuesday 05 December 2006 01:26, Lieven De Keyzer wrote:
> > > bash-3.1# find . -name '.config*'
> > > ./work/.configure_makevars.mk
> > > ./work/.configure_done
> >
> > The file is config.log without the first dot.
>
> Sorry, my mistake. I've made it available online:
> http://wilma.vub.ac.be/~lddekeyz/config.log

This is the problem:

configure:12120: checking for main in -lgmp
configure:12144: gcc -o 
conftest -O2 -march=athlon-xp -I/usr/include -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-O3 
conftest.c -lgmp  -ldl -lreadline -lncursesw -lm  >&5
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld:
 
cannot find -lgmp
collect2: ld returned 1 exit status
configure:12150: $? = 1

Do you have libgmp in work/.buildlink/lib/ ?

You'll need to add '.include "../../devel/gmp/buildlink3.mk" in
the Makefile, before the bsd.pkg.mk line.

Make sure to clean the work directory before trying to
build it again.

$ make clean && make configure

Good luck.

-- 

http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish



Home | Main Index | Thread Index | Old Index