Error 2 after make install when installing gmp-4.2.4

Asked by Krishna

Dear Sir/madam,
                            I Krishna Prasad, When i try to install gmp-4.2.4 via terminal of Ubuntu 8.10 and follows the instruction given in document as follows:
                          ./configure
                           make
                           make check
                           make install
all these are in the directory were i have saved gmp-4-2.4. The problem occurs after make install as follows (last few line of terminal are):-
.
.
.
make[4]: Leaving directory `/home/krishna/Software/gmp-4.2.4/demos'
make[3]: Leaving directory `/home/krishna/Software/gmp-4.2.4/demos'
make[2]: Leaving directory `/home/krishna/Software/gmp-4.2.4/demos'
Making install in tune
make[2]: Entering directory `/home/krishna/Software/gmp-4.2.4/tune'
make[3]: Entering directory `/home/krishna/Software/gmp-4.2.4/tune'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/krishna/Software/gmp-4.2.4/tune'
make[2]: Leaving directory `/home/krishna/Software/gmp-4.2.4/tune'
Making install in doc
make[2]: Entering directory `/home/krishna/Software/gmp-4.2.4/doc'
make[3]: Entering directory `/home/krishna/Software/gmp-4.2.4/doc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/info" || mkdir -p -- . "/usr/local/info"
mkdir: cannot create directory `/usr/local/info': Permission denied
make[3]: *** [install-info-am] Error 1
make[3]: Leaving directory `/home/krishna/Software/gmp-4.2.4/doc'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/krishna/Software/gmp-4.2.4/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/krishna/Software/gmp-4.2.4'
make: *** [install] Error 2
krishna@krishna-laptop:~/Software/gmp-4.2.4$ su
Password:
su: Authentication failure
krishna@krishna-laptop:~/Software/gmp-4.2.4$

          The problem remains remains unsolved when i enter su
and then correct password of root, the same error occurs as above.

          Please help.

            Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Данило Шеган (danilo) said :
#1

This is not Launchpad bug, but a question about how to use Ubuntu.

Revision history for this message
Данило Шеган (danilo) said :
#2

You should probably run the last step with sudo instead: "sudo make install". It will ask you for your own, not root password.

You can also install it through synaptic (I believe it's libgmp3c2 package).

Can you help with this problem?

Provide an answer of your own, or ask Krishna for more information if necessary.

To post a message you must log in.