mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2009-09-29, 14:41   #1
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2×17×73 Posts
Default 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 here):

- 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
- 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?
Andi47 is offline   Reply With Quote
Old 2009-09-29, 16:01   #2
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

23×3×5×72 Posts
Default

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
henryzz is offline   Reply With Quote
Old 2009-09-29, 16:36   #3
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

9B216 Posts
Default

Quote:
Originally Posted by henryzz View Post
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
Which version of ECM is currently on the repository?
Andi47 is offline   Reply With Quote
Old 2009-10-01, 06:13   #4
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

200408 Posts
Default

http://packages.ubuntu.com/jaunty/math/gmp-ecm
Xyzzy is offline   Reply With Quote
Old 2009-10-01, 06:31   #5
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

10110111110002 Posts
Default

Quote:
Originally Posted by Andi47 View Post
Which version of ECM is currently on the repository?
a relatively recent one 6.2.1 i think
hopefully installing it and deinstalling it should sort out the gmp situation
henryzz is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing YAFU 1.34 on Linux Romuald YAFU 12 2015-12-06 09:52
Problems installing Prime95 on Mac OS X 10.4 peterhowarth Software 4 2015-02-18 10:40
Installing gmp under Ubuntu R. Gerbicz Software 3 2009-03-13 15:49
Problems after upgrading to ubuntu gutsy apocalypse Linux 3 2007-12-22 23:24
Installing GGNFS Zeta-Flux Factoring 33 2005-06-10 21:19

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


Sat Jul 17 08:01:25 UTC 2021 up 50 days, 5:48, 1 user, load averages: 1.08, 1.31, 1.32

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