mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Linux (https://www.mersenneforum.org/forumdisplay.php?f=39)
-   -   Ubuntu 9.04: Installing GMP-ECM; problems with GMP (https://www.mersenneforum.org/showthread.php?t=12519)

Andi47 2009-09-29 14:41

Ubuntu 9.04: Installing GMP-ECM; problems with GMP
 
I want to compile and install GMP-ECM under ubuntu 9.04 and have some troubles.

What I have done before (see also [URL="http://www.mersenneforum.org/showpost.php?p=191068&postcount=60"]here[/URL]):

- libgmp3c2 version 4.2.4 is installed, this package comes with ubuntu 9.04.
- installed m4 using "sudo apt-get install m4"

trying to "./configure" in the ECM-directory leads to ECM complaining about a missing header file "gmp.h".

- compiled and installed GMP-4.3.1 using these statements:

[CODE]./configure
make
make check
sudo make install[/CODE]

- now ecm complains about a version mismatch - gmp.h is version 4.3.1, but the libary is 4.2.4.

Trying to uninstall libgmp3c2 (using the synaptics package manager) (with the plan to install 4.3.1 afterwards using sudo make install and sudo ldconfig) seems impossible - ubuntu wants to remove umpteen other packages first, before I can uninstall libgmp.

Any ideas? :help:

henryzz 2009-09-29 16:01

i have just had another idea
try installing gmp-ecm from the ubuntu repositories and uninstall it again and then see if you can compile it yourself
i think that might be what solved the problem for me
BTW i have just found that i still have libgmp3c2 myself

Andi47 2009-09-29 16:36

[QUOTE=henryzz;191449]i have just had another idea
try installing gmp-ecm from the ubuntu repositories and uninstall it again and then see if you can compile it yourself
i think that might be what solved the problem for me
BTW i have just found that i still have libgmp3c2 myself[/QUOTE]

Which version of ECM is currently on the repository?

Xyzzy 2009-10-01 06:13

[url]http://packages.ubuntu.com/jaunty/math/gmp-ecm[/url]

henryzz 2009-10-01 06:31

[quote=Andi47;191454]Which version of ECM is currently on the repository?[/quote]
a relatively recent one 6.2.1 i think
hopefully installing it and deinstalling it should sort out the gmp situation


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

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