LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't Install a thing becuse of a error I get when doing make install (https://www.linuxquestions.org/questions/linux-software-2/cant-install-a-thing-becuse-of-a-error-i-get-when-doing-make-install-111731/)

jkt 11-03-2003 01:21 AM

Can't Install a thing becuse of a error I get when doing make install
 
When I install things ( I am running Mandrake 9.1) ( This same problem happens with a few programs)
The configure and make steps go fine, but in the "make install" stage i get a problem. here is the info the kernel puts out while make installing :
jordanthoms@THOMS bison-1.875]$ make install
Making install in config
make[1]: Entering directory `/home/jordanthoms/tmp/bison/bison-1.875/config'
make[2]: Entering directory `/home/jordanthoms/tmp/bison/bison-1.875/config'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/jordanthoms/tmp/bison/bison-1.875/config'
make[1]: Leaving directory `/home/jordanthoms/tmp/bison/bison-1.875/config'
Making install in po
make[1]: Entering directory `/home/jordanthoms/tmp/bison/bison-1.875/po'
/bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /usr/local/share
mkdir -p -- /usr/local/share/locale/da/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/da/LC_MESSAGES/bison.mo': No such file or directory
installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/de/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/de/LC_MESSAGES/bison.mo': No such file or directory
installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/es/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/es/LC_MESSAGES/bison.mo': No such file or directory
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/et/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/et/LC_MESSAGES/bison.mo': No such file or directory
installing et.gmo as /usr/local/share/locale/et/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/fr/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/fr/LC_MESSAGES/bison.mo': No such file or directory
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/hr/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/hr/LC_MESSAGES/bison.mo': No such file or directory
installing hr.gmo as /usr/local/share/locale/hr/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/id/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/id/LC_MESSAGES/bison.mo': No such file or directory
installing id.gmo as /usr/local/share/locale/id/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/it/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/it/LC_MESSAGES/bison.mo': No such file or directory
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/ja/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/ja/LC_MESSAGES/bison.mo': No such file or directory
installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/nl/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/nl/LC_MESSAGES/bison.mo': No such file or directory
installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/pt_BR/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/pt_BR/LC_MESSAGES/bison.mo': No such file or directory
installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/ru/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/ru/LC_MESSAGES/bison.mo': No such file or directory
installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/sv/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/sv/LC_MESSAGES/bison.mo': No such file or directory
installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/bison.mo
mkdir -p -- /usr/local/share/locale/tr/LC_MESSAGES
mkdir: cannot create directory `/usr/local/share/locale': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/share/locale/tr/LC_MESSAGES/bison.mo': No such file or directory
installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/bison.mo
if test "bison" = "gettext"; then \
/bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /usr/local/share/gettext/po; \
for file in Makefile.in.in Makevars remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot ; do \
/usr/bin/install -c -m 644 ./$file \
/usr/local/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[1]: Leaving directory `/home/jordanthoms/tmp/bison/bison-1.875/po'
Making install in lib
make[1]: Entering directory `/home/jordanthoms/tmp/bison/bison-1.875/lib'
make[2]: Entering directory `/home/jordanthoms/tmp/bison/bison-1.875/lib'
/bin/sh ../config/mkinstalldirs /usr/local/lib
/usr/bin/install -c -m 644 liby.a /usr/local/lib/liby.a
/usr/bin/install: cannot create regular file `/usr/local/lib/liby.a': Permission denied
make[2]: *** [install-libLIBRARIES] Error 1
make[2]: Leaving directory `/home/jordanthoms/tmp/bison/bison-1.875/lib'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/jordanthoms/tmp/bison/bison-1.875/lib'
make: *** [install-recursive] Error 1
[jordanthoms@THOMS bison-1.875]$

How do I change the permissions so it can make that file? I have only had mandrake for 2 days and before that i was on windows.

Any help would be apprecated.

linksocc 11-03-2003 01:24 AM

try to su to root and then do make install like this:
Code:

su
<your root pasword>
make install


jkt 11-03-2003 01:46 AM

Thanks , that's installed now.. I just found anouther console program that asked me for my root password at the start....

It's great that you linux people are here to help us newbies!

linksocc 11-03-2003 01:50 AM

Your welcome, I like to be helpful in some way ;)

vijaymsc 01-19-2010 07:55 PM

Iam also facing Permission issue, if i enter the password also its not going in
 
svijay@ubuntu:~/gyachi-1.1.71$ su
Password:
su: Authentication failure

evo2 01-19-2010 08:15 PM

Quote:

Originally Posted by vijaymsc (Post 3832851)
svijay@ubuntu:~/gyachi-1.1.71$ su
Password:
su: Authentication failure

This is completely unrelated to this 7 year old thread.

Ubuntu, by default, does not allow su ing to the root user, use sudo instead.

Evo2.

cantab 01-19-2010 08:16 PM

Ubuntu doesn't (by default) use su; the root account is locked. Instead, it uses sudo. Type 'sudo' and then your command (so in this case 'sudo make install'), and if prompted for a password simply enter your USER password.

Edit: And yeah, don't revive ancient threads!


All times are GMT -5. The time now is 11:04 PM.