![]() |
![]() |
#1 | |
Sep 2002
Database er0rr
22·1,063 Posts |
![]()
I have a copy of the latest source. However the README says:
Quote:
At worst, how to install it on Centos when it isn't being listed with sudo dnf search gmp-ecm. Edit: The answer is in this post. Last fiddled with by paulunderwood on 2022-04-02 at 09:26 |
|
![]() |
![]() |
![]() |
#3 | |
∂2ω=0
Sep 2002
República de California
2·5,869 Posts |
![]() Quote:
Code:
[ewmayer@localhost ~]$ ll ecm-master total 2468 -rw-rw-r--. 1 ewmayer ewmayer 21582 Mar 17 10:59 acinclude.m4 -rw-rw-r--. 1 ewmayer ewmayer 36281 Mar 17 10:59 addlaws.c -rw-rw-r--. 1 ewmayer ewmayer 2672 Mar 17 10:59 addlaws.h drwxrwxr-x. 2 ewmayer ewmayer 98 Mar 17 10:59 aprtcle drwxrwxr-x. 2 ewmayer ewmayer 22 Mar 17 10:59 arm drwxrwxr-x. 2 ewmayer ewmayer 4096 Mar 17 10:59 athlon -rw-rw-r--. 1 ewmayer ewmayer 1835 Mar 17 10:59 AUTHORS -rw-rw-r--. 1 ewmayer ewmayer 2149 Mar 17 10:59 auxarith.c -rw-rw-r--. 1 ewmayer ewmayer 8124 Mar 17 10:59 auxi.c -rw-rw-r--. 1 ewmayer ewmayer 7390 Mar 17 10:59 auxlib.c -rw-rw-r--. 1 ewmayer ewmayer 1081 Mar 17 10:59 b1_ainc.c -rw-rw-r--. 1 ewmayer ewmayer 4589 Mar 17 10:59 basicdefs.h -rw-rw-r--. 1 ewmayer ewmayer 12925 Mar 17 10:59 batch.c -rw-rw-r--. 1 ewmayer ewmayer 17783 Mar 17 10:59 bench_mulredc.c -rw-rw-r--. 1 ewmayer ewmayer 10874 Mar 17 10:59 bestd.c drwxrwxr-x. 9 ewmayer ewmayer 4096 Mar 17 10:59 build.vc12 drwxrwxr-x. 10 ewmayer ewmayer 4096 Mar 17 10:59 build.vc14 drwxrwxr-x. 10 ewmayer ewmayer 4096 Mar 17 10:59 build.vc15 drwxrwxr-x. 10 ewmayer ewmayer 4096 Mar 17 10:59 build.vs -rw-rw-r--. 1 ewmayer ewmayer 156 Mar 17 10:59 c155 -rw-rw-r--. 1 ewmayer ewmayer 271 Mar 17 10:59 c270 -rw-rw-r--. 1 ewmayer ewmayer 6626 Mar 17 10:59 candi.c -rw-rw-r--. 1 ewmayer ewmayer 30545 Mar 17 10:59 cgbn_stage1.cu -rw-rw-r--. 1 ewmayer ewmayer 1191 Mar 17 10:59 cgbn_stage1.h -rw-rw-r--. 1 ewmayer ewmayer 717 Mar 17 10:59 champions.h -rw-rw-r--. 1 ewmayer ewmayer 618332 Mar 17 10:59 ChangeLog -rw-rw-r--. 1 ewmayer ewmayer 15429 Mar 17 10:59 check_gpuecm.sage -rw-rw-r--. 1 ewmayer ewmayer 18455 Mar 17 10:59 check.mpl -rwxrwxr-x. 1 ewmayer ewmayer 444 Mar 17 10:59 checkprob -rw-rw-r--. 1 ewmayer ewmayer 3496 Mar 17 10:59 check.sage -rw-rw-r--. 1 ewmayer ewmayer 25940 Mar 17 10:59 configure.ac -rw-rw-r--. 1 ewmayer ewmayer 35147 Mar 17 10:59 COPYING -rw-rw-r--. 1 ewmayer ewmayer 7639 Mar 17 10:59 COPYING.LIB -rwxrwxr-x. 1 ewmayer ewmayer 870 Mar 17 10:59 coverage_gpu.sh -rwxrwxr-x. 1 ewmayer ewmayer 1755 Mar 17 10:59 coverage.sh -rw-rw-r--. 1 ewmayer ewmayer 3691 Mar 17 10:59 cudacommon.cu -rw-rw-r--. 1 ewmayer ewmayer 933 Mar 17 10:59 cudacommon.h -rw-rw-r--. 1 ewmayer ewmayer 6580 Mar 17 10:59 cudakernel.cu -rw-rw-r--. 1 ewmayer ewmayer 7239 Mar 17 10:59 cudakernel_default.cu -rw-rw-r--. 1 ewmayer ewmayer 659 Mar 17 10:59 cudakernel.h -rw-rw-r--. 1 ewmayer ewmayer 22704 Mar 17 10:59 cudawrapper.c -rw-rw-r--. 1 ewmayer ewmayer 51 Mar 17 10:59 dummy2.save -rwxrwxr-x. 1 ewmayer ewmayer 843 Mar 17 10:59 dummy.save -rw-rw-r--. 1 ewmayer ewmayer 15419 Mar 17 10:59 ecm.1 -rw-rw-r--. 1 ewmayer ewmayer 29105 Mar 17 10:59 ecm2.c -rwxrwxr-x. 1 ewmayer ewmayer 950 Mar 17 10:59 ecmbench -rw-rw-r--. 1 ewmayer ewmayer 53238 Mar 17 10:59 ecm.c -rw-rw-r--. 1 ewmayer ewmayer 7567 Mar 17 10:59 ecm-ecm.h -rw-rw-r--. 1 ewmayer ewmayer 3045 Mar 17 10:59 ecmfactor.c -rw-rw-r--. 1 ewmayer ewmayer 6740 Mar 17 10:59 ecm-gmp.h -rw-rw-r--. 1 ewmayer ewmayer 1444 Mar 17 10:59 ecm-gpu.h -rw-rw-r--. 1 ewmayer ewmayer 8167 Mar 17 10:59 ecm.h.in -rw-rw-r--. 1 ewmayer ewmayer 29373 Mar 17 10:59 ecm-impl.h -rw-rw-r--. 1 ewmayer ewmayer 528 Mar 17 10:59 ecm_int.h -rw-rw-r--. 1 ewmayer ewmayer 12066 Mar 17 10:59 ecm_ntt.c -rw-rw-r--. 1 ewmayer ewmayer 3047 Mar 17 10:59 ecm-params.h -rw-rw-r--. 1 ewmayer ewmayer 2959 Mar 17 10:59 ecmprob.magma -rw-rw-r--. 1 ewmayer ewmayer 24393 Mar 17 10:59 ecm.xml -rw-rw-r--. 1 ewmayer ewmayer 26521 Mar 17 10:59 eval.c -rw-rw-r--. 1 ewmayer ewmayer 6110 Mar 17 10:59 factor.c ... -rw-rw-r--. 1 ewmayer ewmayer 38955 Mar 17 10:59 torsions.c -rw-rw-r--. 1 ewmayer ewmayer 1479 Mar 17 10:59 torsions.h -rw-rw-r--. 1 ewmayer ewmayer 15985 Mar 17 10:59 tune.c drwxrwxr-x. 2 ewmayer ewmayer 22 Mar 17 10:59 x86 drwxrwxr-x. 5 ewmayer ewmayer 217 Mar 17 10:59 x86_64 -rw-rw-r--. 1 ewmayer ewmayer 2215 Mar 17 10:59 Z2102.n Code:
[ewmayer@localhost ecm-master]$ head configure.ac m4_define([ECM_VERSION_AC], [7.0.5-dev]) AC_PREREQ([2.57]) AC_INIT([ecm], ECM_VERSION_AC, [ecm-discuss@inria.fr]) AC_CONFIG_MACRO_DIR([m4]) GMP_INIT([config.m4]) AM_INIT_AUTOMAKE AC_CANONICAL_HOST ... |
|
![]() |
![]() |
![]() |
#4 | |
Mar 2006
10000001112 Posts |
![]() Quote:
Only the Release versions come with their own configure file. You can find release versions here: https://gitlab.inria.fr/zimmerma/ecm/-/tags ... Actually, now that I look at the release files, I see they don't have a configure file in them. I thought they used to. I'll mention this to PaulZ and see if this is an issue with the git release files, or if autoreconf will just be a requirement from now on. |
|
![]() |
![]() |
![]() |
#5 | |
∂2ω=0
Sep 2002
República de California
2·5,869 Posts |
![]() Quote:
[ewmayer@localhost ecm-master]$ autoreconf -i bash: autoreconf: command not found... [ewmayer@localhost ecm-master]$ ./autoreconf -i -bash: ./autoreconf: No such file or directory |
|
![]() |
![]() |
![]() |
#6 |
Jun 2003
5,387 Posts |
![]()
autoreconf or autoconf ?
|
![]() |
![]() |
![]() |
#7 |
"Ed Hall"
Dec 2009
Adirondack Mtns
126316 Posts |
![]()
I forgot that part.
![]() I use both libtoolize and autoreconf -i when I compile GMP-ECM. But I don't see libtoolize mentioned. Maybe I don't need that? I had to install autoconf to get autoreconf. Last fiddled with by EdH on 2022-04-01 at 02:48 |
![]() |
![]() |
![]() |
#8 | ||
Mar 2006
10078 Posts |
![]() Quote:
autoreconf -i is the simlpest way to do this. Quote:
From the README.dev file included with gmp-ecm: Code:
To use the autotools: $ libtoolize $ autoheader $ aclocal $ automake -c -a $ autoconf $ ./configure --with-gmp=<directory_where_gmp_is_installed> $ make $ make check Alternatively, you can simply type: $ autoreconf -i $ ./configure --with-gmp=<directory_where_gmp_is_installed> $ make $ make check |
||
![]() |
![]() |
![]() |
#9 |
Sep 2002
Database er0rr
102348 Posts |
![]()
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 Last fiddled with by paulunderwood on 2022-04-01 at 04:33 |
![]() |
![]() |
![]() |
#10 |
"Ed Hall"
Dec 2009
Adirondack Mtns
32×523 Posts |
![]()
Thanks. I'll run this a couple times and then change my "How I . . ." thread. I had also forgotten that in my thread, I include installation of several things, including m4, autoconf, g++, etc. But, I'm also using an earlier source for GMP-ECM. I need to revisit and update that thread. Is the above link the current "official development" source, or is there another?
|
![]() |
![]() |
![]() |
#11 |
Sep 2009
26×37 Posts |
![]()
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).
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
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 |