mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

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

2 Posts
Default 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.
rmd is offline   Reply With Quote
Old 2015-11-07, 18:28   #2
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

23×5×229 Posts
Default

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 factmsieve.py 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
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

3,449 Posts
Default

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 offline   Reply With Quote
Reply

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 00:29.

Sat Nov 28 00:29:38 UTC 2020 up 78 days, 21:40, 3 users, load averages: 1.27, 1.12, 1.12

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.