mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   Compiling ggnfs on linux (https://www.mersenneforum.org/showthread.php?t=20641)

rmd 2015-11-07 16:33

Compiling ggnfs on linux
 
Hello.
I'm trying to build ggnfs-0.77.1-20060513 on a linux (fedora20) box, but it stops with the following error :
......
......
/bin/ld: cannot find -ltpie
collect2: error: ld returned 1 exit status
make[2]: *** [../bin/sieve] Error 1
make[2]: Leaving directory `/sdb1/math/ggnfs-0.77.1-20060513/src'
make[1]: *** [x86common] Error 2
make[1]: Leaving directory `/sdb1/math/ggnfs-0.77.1-20060513'

Looking into Makefile in src directory, it says:
ALLOPT=-march=$(ARCH) -pipe
INC=-I. -I.. -I../include $(LOCALINC)
LIBS=-lgmp -lm
BINDIR=../bin
LIBFLAGS=$(LOCALLIB)

MATBUILD_TPIE=1
TPIE_DIR=F:/tmp/nfs/tpie
......
......
This last line does not make sense in linux, it seems a Windows path...

How can I fix it?
Thank you.

Batalov 2015-11-07 18:28

For most purposes, you only want to built the tools that are outside of main trunk.
The ggnfs project was great at the time it was published but now is an abandonware.
For historic reasons, the project is kept as is.

The two tools that were passengers on the project are: contrib/remdups/ and src/experimental/lasieve4_64/
as well as the glue script tests/factMsieve.pl
These are the parts that you would mostly use. (You additionally get miseve from another project.)

On top of that, there were refactoring efforts: there is a [B]factmsieve.py[/B] script that is more modern, and there is [B]yafu[/B], which has msieve and all scripting hidden inside.

EdH 2015-11-08 15:38

[SIZE=2]Just out of curiosity, are you trying the sourceforge or GitHub package? I can't get the sourceforge one to compile properly on any of my linux machines, but the GitHub one works on all. If it is of interest, I have a page that steps through several installations of gmp, ecm, ggnfs, msieve, etc. that you may like to check out:

[/SIZE][B][SIZE=2][URL="http://www.starreloaders.com/edhall/AliWin/AliqueitLinstall.html"]Steps to install and set up Aliqueit on an Ubuntu* (or antiX) computer [/URL][/SIZE][/B]

[SIZE=2]The gitHub package I use is at:[/SIZE]

[URL="https://github.com/radii/ggnfs"][SIZE=2]radii/ggnfs - GitHub[/SIZE][/URL]
(Use the Download zip button on the right side of page.)


All times are UTC. The time now is 11:54.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.