Hey, I'm trying to install Cobra on a machine in college as I'm thinking about using it for an assignment, but I don't have root on these machines. So is there a way to compile cobra without needing root?
And as long as I'm asking questions, how come it has to be compiled with root priveliges in the first place?
Forums
Compiling on Linux without Root
4 posts
• Page 1 of 1
Re: Compiling on Linux without Root
By default, the installer targets /usr/local/cobra which usually requires root access, so it checks for root access at the start. Up until now, that's worked fine, but I understand your situation.
If you open InstallFromWorkspace.cobra you will find this line:
Tell us if that works. If not, I'll take a closer look and possibly improve the installer.
Thanks for bringing this to our attention.
If you open InstallFromWorkspace.cobra you will find this line:
var installDirectories = [r'C:\Cobra', '/usr/local/cobra']
# which you can change to:
var installDirectories = ['/home/creadak/cobra']
# and this line:
.verifyElevatedPermissions
# which you can comment out:
#.verifyElevatedPermissions
Tell us if that works. If not, I'll take a closer look and possibly improve the installer.
Thanks for bringing this to our attention.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: Compiling on Linux without Root
That did indeed help thanks Charles.
Only had one more hiccup, had to stop it from installing the libs to the GAC, and instead copy them somewhere else and add them to my MONO_PATH.
All is working fine now, so I guess I'd better go do this assignment
Thanks for the help
Only had one more hiccup, had to stop it from installing the libs to the GAC, and instead copy them somewhere else and add them to my MONO_PATH.
All is working fine now, so I guess I'd better go do this assignment
Thanks for the help
- creadak
- Posts: 4
Re: Compiling on Linux without Root
Thanks for the update. Good luck on your assignment.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 41 guests