mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   DC guide to building ecm client no longer works(my theory inside) (https://www.mersenneforum.org/showthread.php?t=6117)

jasong 2006-07-13 20:49

DC guide to building ecm client no longer works(my theory inside)
 
I don't know a whole hell of a lot about compiling, but I'm pretty sure one of the files we're directed to download in his tutorial has been changed since he wrote the tutorial. Specifically, I think a compiler, or compiler component, is missing.

The problem, I believe, happens with the first ./compile command.

My dad had to reinstall Windows with a Dell CD. The thing about Dell CDs is that if the program instructions are screwed up, the computer can't do what it's supposed to. My dad did a bit of hacking to get it working, but there are some things missing, like the Paint program. So please don't ask me for a screenshot.

ColdFury 2006-07-14 01:18

Are the instructions for unix-type systems or windows?

jasong 2006-07-14 19:02

[QUOTE=ColdFury]Are the instructions for unix-type systems or windows?[/QUOTE]
The guide writer wrote all his instructions specifically for Windows.

fetofs 2006-07-14 22:49

[QUOTE=jasong]I don't know a whole hell of a lot about compiling, but I'm pretty sure one of the files we're directed to download in his tutorial has been changed since he wrote the tutorial. Specifically, I think a compiler, or compiler component, is missing.

The problem, I believe, happens with the first ./compile command.

My dad had to reinstall Windows with a Dell CD. The thing about Dell CDs is that if the program instructions are screwed up, the computer can't do what it's supposed to. My dad did a bit of hacking to get it working, but there are some things missing, like the Paint program. So please don't ask me for a screenshot.[/QUOTE]

Where is the link to the guide so I can check it?

jasong 2006-07-15 02:08

[QUOTE=fetofs]Where is the link to the guide so I can check it?[/QUOTE]
[url]http://www.geocities.com/omboohankvald/compileGMP.html[/url]

If I may repeat myself: The instructions used to work absolutely perfectly. I'm almost positive one of the files OmbooHankvald lists for download has had it's contents changed, but kept the link the same. I'm also pretty sure the changed file is missing the compiler that used to come with it.

Hope that's enough info.

fetofs 2006-07-15 02:36

[QUOTE=jasong]
The problem, I believe, happens with the first ./compile command.
[/QUOTE]

Maybe the problem is that there is no ./compile :ermm:

jasong 2006-07-15 03:18

[QUOTE=fetofs]Maybe the problem is that there is no ./compile :ermm:[/QUOTE]
I'm not totally sure I understand you. That being said, entering the ./compile command does generate a bit of output, so if you're saying there's no file to run the ./compile command, I feel that is incorrect.

The instructions given in OmbooHankvald's guide are pretty straightforward. I'm hoping someone who doesn't have msys or CygWin will volunteer to run the instructions and screen capture the results after the first ./compile command.

That wonderful person doesn't even need to volunteer. If they have a reasonably fast connection(cable or satellite, maybe? NOT over a phone line) they should be able to do everything in about 5-10 minutes, including download time.

Btw, if you don't know where to go to get the instructions, it's the Sticky in this forum that contains the guides. click on the guide that tells you how to run the ecmclient program, and, within that, click on the link that gives instructions on compiling ecm.

M0CZY 2006-07-15 13:44

When I used those instructions to compile GMP-ECM I used the command
./configure not ./compile

fetofs 2006-07-15 15:01

[QUOTE=M0CZY]When I used those instructions to compile GMP-ECM I used the command
./configure not ./compile[/QUOTE]

That's what I meant :wink:

Citrix 2006-07-15 18:55

Is it possible for some one with enough knowledge to make a vc++ project, so you can just hit the compile button to compile ECM

jasong 2006-07-16 20:08

[QUOTE=fetofs]That's what I meant :wink:[/QUOTE]
:blush: Sorry about that, although this is a good lesson on how rumors get started.

Question: Is there, in fact, a "compile" command? Because, if there is, that might have been my problem.

OmbooHankvald 2006-07-17 20:04

Hi guys.

Sorry for the (very) late response. Since I got promoted to admin on the Danish Wikipedia back in March I've hardly been here at all.
I rarely use the PC containing the files relating to the guides to anything anymore.

I am aware that my site is very outdated and until now I've simply haven't got the time (or, to be honest, the inclination) to be editing anything.
I'll be going on a two week vacation starting Friday but hopefully I'll update stuff before then.

OH

OmbooHankvald 2006-07-19 07:47

BTW, someone once said something about running "make check" or something like that. Can anyone here explain that function so that I may include it in the guide if necessary?

OH

OmbooHankvald 2006-07-19 08:56

I've updated the page now. Please tell me if the problem has been fixed
:)

bearnol 2006-07-19 13:15

[QUOTE=OmbooHankvald]BTW, someone once said something about running "make check" or something like that. Can anyone here explain that function so that I may include it in the guide if necessary?

OH[/QUOTE]

Hi Omboo!
That was me :)
I've only successfully used it (make check) under Linux - but I imagine it might work also under MSYS/MingW (?)
Basically, after doing the 'make' step to actually create the ecm.exe file, one can also type 'make check' and it should run the newly created ecm file on a variety of test data, and show if all the specified tests 'passed' - giving one (hopefully!) some degree of confidence that ecm will actually work right.
Regards,
James

Mystwalker 2006-07-19 17:30

[QUOTE=bearnol]but I imagine it might work also under MSYS/MingW (?)[/QUOTE]

It does. You have to call it when in MinGW, though, as "make" doesn't work under (plain) Windows...

OmbooHankvald 2006-07-20 20:14

Please be aware that for some reason I can't update the guides at [url]http://mersenneforum.org/showthread.php?t=4726[/url] . The topic is locked.
For updated versions go to [url]http://www.geocities.com/omboohankvald/[/url]

I'm working on moving them to my domain and out of the Geocities.

OH


All times are UTC. The time now is 08:31.

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