mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2007-03-13, 17:28   #1
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

23·599 Posts
Default Troubles with Debian Netinst

I succeeded in installing Debian from the network, and mprime is happily crunching, but...

I just can't install (make) GMP.

I'm on an old Celeron 1.8GHz, and installed only the barebone needed (no GUI, no servers). When I try to make GMP, the process halts saying that "I don't have permissions to handle or open libgmp.so.3" unless I'm root. The same if I try to compile and run a program from a different account.

Hints?

Should I reinstall Debian?

Luigi
ET_ is offline   Reply With Quote
Old 2007-03-13, 17:36   #2
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

22·883 Posts
Default

Presumably you have a basic Debian there and you have download the latest GMP. Of course you will need gcc, m4 etc...

Did you download it as a non-root user (luigi), unpack it as luigi, run "./configure","make" and "make check" as luigi and as root "make install"?

Last fiddled with by paulunderwood on 2007-03-13 at 17:39
paulunderwood is offline   Reply With Quote
Old 2007-03-13, 18:24   #3
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

23·599 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Presumably you have a basic Debian there and you have download the latest GMP. Of course you will need gcc, m4 etc...

Did you download it as a non-root user (luigi), unpack it as luigi, run "./configure","make" and "make check" as luigi and as root "make install"?
No.

I tried both worlds. Once I saw I couldn't install as "luigi", I tried as "root".

I can ./configure, but when I run "make install", after some compiling, I get this message:

"/usr/bin/install: cannot remove '/usr/local/lib/libgmp.so.3.4.1' : permission denied"

Very strange... I never had troubles with GMP and Mandrake.

Luigi

Last fiddled with by ET_ on 2007-03-13 at 18:41 Reason: After some fiddling with Debian...
ET_ is offline   Reply With Quote
Old 2007-03-13, 19:43   #4
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

23·3·331 Posts
Default

apt-get install libgmp3

http://packages.debian.org/stable/libs/libgmp3

(gmp-ecm is available, too)
Xyzzy is offline   Reply With Quote
Old 2007-03-13, 20:41   #5
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

23·599 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
apt-get install libgmp3

http://packages.debian.org/stable/libs/libgmp3

(gmp-ecm is available, too)
I will.

But why does it behave like that?

Luigi

Hey, it seems to be version 4.1.4 plain vanilla!

And still that ugly "permission denied" during make.

Finally I made it as root, and compiled as user. Using Cygwin, I completely forgot to add -lm to the command line of gcc under REAL linux.



Thank you!

Last fiddled with by ET_ on 2007-03-13 at 20:54 Reason: After installing...
ET_ is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian PSA Xyzzy Linux 12 2017-06-19 04:15
mpz_aprcl.h and jacobi_sum.h Troubles with r343 EdH YAFU 2 2015-11-03 13:04
[URGENT] Pain: troubles on implementing SIQS sieve Hermes Factoring 27 2008-10-14 13:54
Debian package of mprime Matt Linux 1 2007-02-22 22:36
Debian developer needed... Xyzzy Linux 5 2006-06-01 14:56

All times are UTC. The time now is 15:46.

Thu Jan 21 15:46:07 UTC 2021 up 49 days, 11:57, 0 users, load averages: 1.90, 1.94, 1.94

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.