Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: compiler problem, compiles but won't install properly< Next Oldest | Next Newest >
fang11 Offline





Group: Members
Posts: 18
Joined: Jan. 2005
Posted: May 06 2006,20:34 QUOTE

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 them
does 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
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: May 06 2006,23:56 QUOTE

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)..
Back to top
Profile PM 
fang11 Offline





Group: Members
Posts: 18
Joined: Jan. 2005
Posted: May 07 2006,17:06 QUOTE

i was root when i got the above error
i tried sudo same result
Back to top
Profile PM 
2 replies since May 06 2006,20:34 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: compiler problem

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code