Go Back > Great Internet Mersenne Prime Search > Software

Thread Tools
Old 2015-11-07, 16:33   #1
Nov 2015

2 Posts
Default Compiling ggnfs on linux

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

This last line does not make sense in linux, it seems a Windows path...

How can I fix it?
Thank you.
rmd is offline   Reply With Quote
Old 2015-11-07, 18:28   #2
Batalov's Avatar
Mar 2008

2×4,813 Posts

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/
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 script that is more modern, and there is yafu, which has msieve and all scripting hidden inside.
Batalov is offline   Reply With Quote
Old 2015-11-08, 15:38   #3
EdH's Avatar
"Ed Hall"
Dec 2009
Adirondack Mtns

10000000101102 Posts

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:

Steps to install and set up Aliqueit on an Ubuntu* (or antiX) computer

The gitHub package I use is at:

radii/ggnfs - GitHub
(Use the Download zip button on the right side of page.)
EdH is online now   Reply With Quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling a static Linux gmp-ecm version yoyo GMP-ECM 9 2016-12-25 22:46
compiling ggnfs in Linux framontb Factoring 2 2013-09-13 02:58
compiling mprime on linux graysky Software 6 2011-03-14 07:00
msieve linux compiling Trevil Msieve 2 2009-12-06 19:49
compiling decomp under linux James Heinrich Data 2 2006-08-27 15:59

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

Tue Dec 7 12:54:52 UTC 2021 up 137 days, 7:23, 0 users, load averages: 1.68, 1.91, 1.83

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.