Results 1 to 5 of 5
I have moved to a new place and they expect me to work without root access to my machine, but I need to compile and make some software. However I ...
- 05-25-2010 #1Just Joined!
- Join Date
- Jan 2006
- Posts
- 15
Can I "Make Install" with just admin rights
I have moved to a new place and they expect me to work without root access to my machine, but I need to compile and make some software. However I get the following error:
mkdir: cannot create directory `/usr/local/ope': Permission denied
chmod: cannot access `/usr/local/ope': No such file or directory
mkdir: cannot create directory `/usr/local/ope': No such file or directory
chmod: cannot access `/usr/local/ope/bin': No such file or directory
make[1]: *** [/usr/local/ope/bin] Error 1
make[1]: Target `_installall' not remade because of errors.
I have been allegedly been given admin rights - but do I need root to do this?
Thanks
- 05-25-2010 #2
usually make command is run as normal user, to compile application, you can run make install command as root to install outside of home directory, try putting "sudo make install" instead if you have sudo access
also, you can configure software to be installed under your home directory, and make sure that you add that directory to the path
- 05-25-2010 #3Just Joined!
- Join Date
- Jan 2006
- Posts
- 15
So cannot I not install outside home directory without root?
- 05-25-2010 #4
you can't install outside the home directory without root or having sudo privileges, no
- 05-25-2010 #5
correct.
You need root to write outside your $HOME.
Question:
This is your machine, not a multiuser system?
On a multiuser system I would hesitate to install (random) files to the system, even if I had root privileges.
Imho, packages are a *must* there or the machine will be chaotic soon (no offense).
Other than that:
You can always add --prefix to your configure line and install that software in your $HOMEYou must always face the curtain with a bow.


Reply With Quote