mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > GMP-ECM

Reply
 
Thread Tools
Old 2022-04-01, 16:17   #12
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

112×13 Posts
Default

I've needed also:
Code:
sudo apt-get install libtool
R. Gerbicz is offline   Reply With Quote
Old 2022-04-01, 16:19   #13
WraithX
 
WraithX's Avatar
 
Mar 2006

3·173 Posts
Default

Quote:
Originally Posted by EdH View Post
Is the above link the current "official development" source, or is there another?
The official source code repository for gmp-ecm is here: https://gitlab.inria.fr/zimmerma/ecm
I have heard back from PaulZ, and the official release files are here: https://gitlab.inria.fr/zimmerma/ecm/-/releases

On the official release files page, each "Source Code" download will not have a configure file bundled. These files will need autoreconf -i before being able to configure and build.

Just below the "Source Code" downloads is the "release tarball" link. The "release tarball" does include the configure file, and is ready to configure and build without the need of autoreconf.


Quote:
Originally Posted by chris2be8 View Post
I have suggested in another thread that INSTALL-ecm should tell people to run autoreconf -i (or autoreconf -si if the configure file is missing. And it probably should say you may need to install autoconf and m4 if you don't already have them. This probably belongs in section 0).
This is a good suggestion and I can update the INSTALL-ecm file to include this information. Thanks!
WraithX is offline   Reply With Quote
Old 2022-04-01, 18:47   #14
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

23×32×163 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Thanks people.

On his Centos sytem I guess Ernst has to do the following:

Code:
sudo dnf install autoconf
cd ecm-master    [where ever that is]
autoreconf -i
./configure
make
make check
sudo make install
Then ecm is available to use.
Yeah, don't we wish:

[ewmayer@localhost ~]$ sudo dnf install autoconf
[sudo] password for ewmayer:
CentOS-8 - AppStream 94 B/s | 38 B 00:00
Error: Failed to download metadata for repo 'AppStream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

Is it just me, or does "every source release should include the script(s) needed to build said release" strike anyone else as a fairly sensible guideline for freeware packages?

Would someone whose gmp-ecm v7 install contains the configure file be so kind as to post a copy? Thanks.
ewmayer is offline   Reply With Quote
Old 2022-04-01, 19:11   #15
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

3×73 Posts
Default

Here you go. From a Debian system. Hopefully it works.
Attached Files
File Type: zip configure.zip (112.8 KB, 17 views)
kruoli is offline   Reply With Quote
Old 2022-04-01, 19:26   #16
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

101528 Posts
Default

Quote:
Originally Posted by ewmayer View Post
Yeah, don't we wish:

[ewmayer@localhost ~]$ sudo dnf install autoconf
[sudo] password for ewmayer:
CentOS-8 - AppStream 94 B/s | 38 B 00:00
Error: Failed to download metadata for repo 'AppStream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

Is it just me, or does "every source release should include the script(s) needed to build said release" strike anyone else as a fairly sensible guideline for freeware packages?
https://techglimpse.com/failed-metad...ream-centos-8/

HTH.
paulunderwood is offline   Reply With Quote
Old 2022-04-01, 20:12   #17
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

1173610 Posts
Default

Quote:
Originally Posted by kruoli View Post
Here you go. From a Debian system. Hopefully it works.
Thanks - that needs at least one other install-script:

configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
ewmayer is offline   Reply With Quote
Old 2022-04-01, 20:42   #18
WraithX
 
WraithX's Avatar
 
Mar 2006

3×173 Posts
Default

Quote:
Originally Posted by ewmayer View Post
Would someone whose gmp-ecm v7 install contains the configure file be so kind as to post a copy? Thanks.
Did you try to download the release tarball from my post up above? It contains both configure and install-sh.

Here is the link to the Releases page: https://gitlab.inria.fr/zimmerma/ecm/-/releases
WraithX is offline   Reply With Quote
Old 2022-04-01, 20:52   #19
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

2DD816 Posts
Default

Quote:
Originally Posted by WraithX View Post
Did you try to download the release tarball from my post up above? It contains both configure and install-sh.

Here is the link to the Releases page: https://gitlab.inria.fr/zimmerma/ecm/-/releases
Sorry - too much orthogonal advice flying around. Just grabbed the 7.0.4 release, still don't see the above files:
Code:
[ewmayer@localhost ~]$ tar xjf ecm-7.0.4.tar.bz2 
[ewmayer@localhost ~]$ ll |grep drw|grep ecm
4:6:drwxrwxr-x. 23 ewmayer ewmayer       4096 Oct  9  2020 ecm-7.0.4
5:8:drwxrwxr-x. 23 ewmayer ewmayer       4096 Apr  1 13:02 ecm-master
[ewmayer@localhost ~]$ cd ecm-7.0.4/
[ewmayer@localhost ecm-7.0.4]$ ./configure
-bash: ./configure: No such file or directory
[ewmayer@localhost ecm-7.0.4]$ l
acinclude.m4     check_gpuecm.sage      ecm-impl.h      M997.save                  pm1.c            test_dummy2.save
addlaws.c        check.mpl              ecm_int.h       main.c                     pm1fs2.c         test_dummy.save
addlaws.h        checkprob              ecm_ntt.c       Makefile.am                polyeval.c       test.ecm
aprtcle          check.sage             ecm-params.h    makesmooth.gp              powerpc32        test.gpuecm
arm              configure.ac           ecmprob.magma   median.c                   powerpc64        testlong.ecm
athlon           COPYING                ecm.xml         memusage.c                 pp1.c            testlong.pm1
AUTHORS          COPYING.LIB            eval.c          mips                       prime95.save     testlong.pp1
auxarith.c       coverage_gpu.sh        factor.c        mpmod.c                    random.c         test_M877.save
auxi.c           coverage.sh            Fgw.c           mpmod.h                    README           test_mulredc.c
auxlib.c         cudakernel.cu          generic         mpzspm.c                   README.dev       test.pm1
b1_ainc.c        cudakernel_default.cu  getprime_r.c    mpzspv.c                   README.dev.asm   test.pp1
basicdefs.h      cudakernel.h           getprime_r.h    mul_fft-params.h.athlon64  README.gpu       test_prime95.save
batch.c          cudawrapper.c          hecm            mul_fft-params.h.default   README.lib       test_Z2102.n
bench_mulredc.c  dummy2.save            hppa            mul_fft-params.h.pentium3  resume.c         TODO
bestd.c          dummy.save             ia64            mul_fft-params.h.pentium4  rho.c            TODO.fat
build.vc12       ecm.1                  INSTALL-ecm     mul_lo.c                   schoen_strass.c  TODO.kunz
build.vc14       ecm2.c                 ks-multiply.c   multiecm.c                 sets_long.c      TODO.sp
build.vc15       ecmbench               listz.c         NEWS                       sparc64          torsions.c
build.vs         ecm.c                  listz_handle.c  nodist                     sp.c             torsions.h
c155             ecm-ecm.h              listz_handle.h  ntt_gfp.c                  sp.h             tune.c
c270             ecmfactor.c            longlong.h      parametrizations.c         spm.c            x86
candi.c          ecm-gmp.h              lucas.c         patch-config.guess.diff    spv.c            x86_64
champions.h      ecm-gpu.h              m4              pentium4                   stage2.c         Z2102.n
ChangeLog        ecm.h.in               M877.save       phiP.gp                    techdocs
ewmayer is offline   Reply With Quote
Old 2022-04-01, 21:03   #20
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

3·73 Posts
Default

Quote:
Originally Posted by ewmayer View Post
Thanks - that needs at least one other install-script:

configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
Attached it is.
Attached Files
File Type: zip install-sh.zip (5.7 KB, 16 views)
kruoli is offline   Reply With Quote
Old 2022-04-01, 21:26   #21
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

1173610 Posts
Default

Quote:
Originally Posted by kruoli View Post
Attached it is.
Thanks - got a little further before hitting the next missing build component (I also copied both your files to the new ecm-7.0.4 dir, fails there the same way):

[ewmayer@localhost ecm-master]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/sh: /home/ewmayer/ecm-master/missing: No such file or directory
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: error: cannot run /bin/sh ./config.sub


What files does "ls -l config*" show in your ecm-source dir?
ewmayer is offline   Reply With Quote
Old 2022-04-01, 21:44   #22
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

102910 Posts
Default

Please concatenate these files. It will give you a .7z file of my whole gmp-ecm checkout after the command and some make.
Attached Files
File Type: 7z ecm-src.1.7z (3.91 MB, 15 views)
File Type: 7z ecm-src.2.7z (3.78 MB, 15 views)
kruoli is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling mfaktc on Mac OS X dozba GPU Computing 23 2017-10-03 19:50
compiling GMP-ECM ATH GMP-ECM 69 2017-01-04 12:03
Help needed compiling GMP-ECM M0CZY GMP-ECM 76 2009-09-29 15:48
Compiling Phrot rogue Sierpinski/Riesel Base 5 142 2009-01-09 03:42
Compiling 24.14 CBoland Software 6 2007-08-01 00:11

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


Tue Jun 28 08:57:57 UTC 2022 up 75 days, 6:59, 1 user, load averages: 0.82, 1.01, 1.04

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

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔