mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Factoring (https://www.mersenneforum.org/forumdisplay.php?f=19)
-   -   Unpacking and installing GGNFS? (error and n00b-questions) (https://www.mersenneforum.org/showthread.php?t=7597)

Andi47 2007-03-22 19:15

Unpacking and installing GGNFS? (error and n00b-questions)
 
My PC is running Windows XP professional.

When I do tar -xvzf ggnfs-0.77.tar.gz for unpacking the packed file (in a msys-environment), it unpacks quite a couple of file, and then I get these error messages like this:

[code]
tar: ./ggnfs/src/pol51m0b: Cannot create symlink to 'pol5/pol51m0b-intel': No such file or directory.
[/code]

(when I unpack with WinRar under windows, I get similar error messages).

Am I doing something wrong, or what happened?

One More question (noob):

How do I compile ggnfs so that it is correctly linked to GMP 4.2.1 (this is already installed for use with GMP-ECM)? Do I just have to run the makefile in the ggnfs directory, or do I have to run some configuring step afterwards? (I did not find this in the readme and install files - maybe I have overlooked it )

jasonp 2007-03-22 20:58

[QUOTE=Andi47;101763][code]
tar: ./ggnfs/src/pol51m0b: Cannot create symlink to 'pol5/pol51m0b-intel': No such file or directory.
[/code]
Am I doing something wrong, or what happened?
[/QUOTE]
No, this is a shortcoming of mingw, tar cannot create symbolic links. You can use 'ln' manually and your bash shell will copy the file rather than link to it.
[QUOTE]
How do I compile ggnfs so that it is correctly linked to GMP 4.2.1 (this is already installed for use with GMP-ECM)? Do I just have to run the makefile in the ggnfs directory, or do I have to run some configuring step afterwards? (I did not find this in the readme and install files - maybe I have overlooked it )[/QUOTE]
I think there is a GMP_BUG variable in one of the makefiles that needs to be turned on, at least for GMP 4.2 (it might not be necessary for 4.2.1). Other than that I don't think you need to do anything, other than perhaps moving libgmp.a to the default libe directory so gcc can find it. Try asking the GGNFS mailing list at sourceforge.net for more details.

jasonp


All times are UTC. The time now is 00:04.

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