mersenneforum.org Links to Precompiled GMP-ECM versions
 Register FAQ Search Today's Posts Mark Forums Read

 2019-11-10, 21:58 #463 kruoli     "Oliver" Sep 2017 Porta Westfalica, DE 3×5×29 Posts There seems to be at least a bit of traffic at https://gmplib.org/repo/gmp/. It says: Code: ./gmpecmcompile: Zeile 210: tar: Kommando nicht gefunden. ./gmpecmcompile: Zeile 212: cd: /c/msys64/home/gmp-6.1.2: No such file or directory This translates to: Code: ./gmpecmcompile: line 210: tar: Command not found. ./gmpecmcompile: line 212: cd: /c/msys64/home/gmp-6.1.2: No such file or directory Actually, /usr/bin does not include a tar binary. It cannot cd since the call to tar never actually created that folder.
 2019-11-11, 08:16 #464 ATH Einyen     Dec 2003 Denmark 3,037 Posts I'm not sure why your error is in German, I'm don't think that MSYS2 follows the Windows language? Did you extract the file gmpecmcompile.zip with 7-zip to C:\ so the folder is called c:\msys64 ? The file to start MSYS2 should be: C:\msys64\msys2_shell.cmd and when you start it, it should look like the screenshot. If you do a "ls -l" the tar file should be right there. The tar file is located here: C:\msys64\home\gmp-6.1.2.tar Attached Thumbnails   Last fiddled with by ATH on 2019-11-11 at 08:20
2019-11-11, 13:58   #465
kruoli

"Oliver"
Sep 2017
Porta Westfalica, DE

3·5·29 Posts

Could you please type which tar on your end? I have a suspicion...

Quote:
 Originally Posted by ATH I'm not sure why your error is in German, I'm don't think that MSYS2 follows the Windows language?
It seems to do that for some reason... (see also in the screenshots):
Code:
Oliver Kruse@OLLAPTOP MSYS /c/msys64/home
# echo \$LANG
de_DE.UTF-8
Quote:
 Originally Posted by ATH Did you extract the file gmpecmcompile.zip with 7-zip to C:\ so the folder is called c:\msys64?
Yes, I am using 7-zip 19.00 x64. See the screenshots, the path is correct (I actually extracted it freshly to make those screenshots).

Quote:
 Originally Posted by ATH The file to start MSYS2 should be: C:\msys64\msys2_shell.cmd and when you start it, it should look like the screenshot. If you do a "ls -l" the tar file should be right there.
Yes, that's not the problem. But when starting the script, it simply cannot find tar.

Quote:
 Originally Posted by ATH The tar file is located here: C:\msys64\home\gmp-6.1.2.tar
Indeed, see the screenshots.
Attached Thumbnails

 2019-11-11, 17:53 #466 ATH Einyen     Dec 2003 Denmark 303710 Posts Ah it was the tar program itself you were missing, I misunderstood. I had tar.exe in my windows\system32 folder for some reason, so I did not notice it needed to be installed. You can install it in MSYS2 with the command: pacman -S tar I also updated the zip file, so it is already installed.
2019-11-11, 18:44   #467
kruoli

"Oliver"
Sep 2017
Porta Westfalica, DE

3·5·29 Posts

Nice! This time, I got a working ecm.exe (if I ignore the problem with the missing libgmp-10.dll as seen previously, which I then fixed manually).
Quote:
 Originally Posted by Belteshazzar For some reason the binaries also needed a libgmp-10.dll.

 2019-11-12, 10:43 #468 ATH Einyen     Dec 2003 Denmark BDD16 Posts You can find libgmp-10.dll and any other needed files in the C:\msys64\mingw64\bin folder. You can add that folder to the PATH variable, or copy just that file to another folder in your PATH variable or to the folder with ecm.exe. Anyone know why libgmp-10.dll that comes with MSYS2 is needed for MSYS2 programs? Programs still uses the GMP version you compiled yourself, you can check by making a C/C++ program printing the GMP version used: printf("%i %i %i\n",__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL); and it shows it actually uses the version you compiled yourself. Here is even an example of a program not using GMP at all that requires libgmp-10.dll: https://stackoverflow.com/questions/...dll-is-missing Last fiddled with by ATH on 2019-11-12 at 10:49
 2019-11-12, 14:00 #469 unconnected     May 2009 Russia, Moscow 47518 Posts JIC, if anyone have 32bit static build for Linux, please share. Can't compile it by myself due to many compiler errors.
 2019-11-12, 15:02 #470 PhilF     Feb 2005 Colorado 2×5×59 Posts There is a 32-bit version compiled for Ivy Bridge in this post: https://www.mersenneforum.org/showpo...&postcount=439

 Similar Threads Thread Thread Starter Forum Replies Last Post masser Sierpinski/Riesel Base 5 25 2011-11-26 09:21 wblipp Msieve 0 2011-07-17 20:59 davieddy Information & Answers 9 2010-10-08 14:27 ET_ PrimeNet 0 2008-01-26 09:35 Xyzzy Forum Feedback 2 2007-03-18 02:17

All times are UTC. The time now is 22:20.

Mon Mar 1 22:20:18 UTC 2021 up 88 days, 18:31, 0 users, load averages: 2.21, 2.34, 2.42