compiler problemForum: HD Install Topic: compiler problem started by: fang11 Posted by fang11 on May 06 2006,20:34
i've done some messing around with dependencies and stuff and recently realised that althought make compiles fine whenever i try to install via make install it doesn't install properly i believe its trying to change the permissions on files before it installs themdoes anyone know of a way to fix this? Making install in src make[1]: Entering directory `/opt/matchbox-window-manager-1.0/src' make[2]: Entering directory `/opt/matchbox-window-manager-1.0/src' test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin" /usr/bin/install -c 'matchbox-window-manager' '/usr/local/bin/matchbox-window-manager' /usr/bin/install -c 'matchbox-remote' '/usr/local/bin/matchbox-remote' install: unable to open `/usr/local/bin/matchbox-remote/matchbox-remote': No such file or directory install: cannot change permissions of /usr/local/bin/matchbox-remote/matchbox-remote: No such file or directory install: cannot change ownership of /usr/local/bin/matchbox-remote/matchbox-remote: No such file or directory make[2]: *** [install-binPROGRAMS] Error 1 make[2]: Leaving directory `/opt/matchbox-window-manager-1.0/src' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/opt/matchbox-window-manager-1.0/src' make: *** [install-recursive] Error 1 __ this happens with allmost any source i try to install i'm just using this one as an example Posted by clacker on May 06 2006,23:56
Sometimes you need to run sudo make install instead of just make install. The sudo part makes you root for that one command so you should have permissions (although other things can go wrong too like not having a writeable file system)..
Posted by fang11 on May 07 2006,17:06
i was root when i got the above error i tried sudo same result |