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.