[lokisetup] some more doubts ??
vshrirama at gmail.com
Thu Aug 4 01:08:42 EDT 2005
Got it. Actually i am using Version 1.5.8
In install options i can specify binarypath.
If i dont have any binaries to install. why do i need to create
symbolic links ?
Can i disable this checking in the first place in setup.xml file ?.
I dont want this checking to take place nor i wish to specify any
directory when it can place binaries as i dont know in which directory
user will install.
I can create a dummy directory and achieve that. But is there any way
to stop Loki checking if it has write permissions to the directory
where it wants to place symbolic links.
I have nobinaries="yes" in my setup.xml file.
On 8/3/05, Stéphane Peter <megastep at megastep.org> wrote:
> First of all, what version of Loki setup are you using? For the best code
> with all the latest fixes, you should definitely get the latest CVS
> It is definitely possible to install software with Loki setup without root
> privileges. A number of existing packages do just that. The defaults usually
> assume /usr/local but you can change this in the configuration file
> (setup.xml, look at README.xml for details). And yes you can include home
> directories in the path if you need it.
> It doesn't make sense to have both the installation path and binary paths be
> the same, because of the way that these are achieved. The binary path will
> contain a symlink to binaries installed in the installation directories, so
> if these are the same then it would otherwise try to replace the binary with
> a symlink to itself.
> On Aug 3, 2005, at 7:51 AM, Ram wrote:
> I am using Loki Setup. I think Only a super user can install the
> I dont know why this has been done like this.
> If i try to install the software as a normal user on my home
> directory or under my home directory. i get the message : No Write
> Permissions on the Binary Directory.
> Going through the code. i found that it is checking if user has
> write permissions
> into /usr/local/bin which is the default binary_path.
> it places the symbolic links there.
> Since, only root has access to that directory. Hence Loki Setup
> allows only root
> to install any files.
> Can i change this binary path to my local HOME Directory ?.
> One more question.
> Why Installation directory and Binary Path (SymLinks directory)
> cant be the same.
> Loki does not allow installation if it is the same.
> If i want a unique one, i think only sensibe is to use the -b option
> redirect it to $HOME/.loki
> I dont know if i am missing something or if it is the right
> thing to do. please clarify on this subject.
> I want to know can i modify this binary path or remove the
> binary_path (symlinks_path)
> itself from the source if i dont want the symbolic links to be
> created at all ?.
> i want to know if there are any side effects to this ?
> I dont find a way to disable this. (checking for
> symbolic_links_path). the deafault it /usr/local/bin
> I can use -b option and give $HOME/.loki directory and work ?.
> But i want to know if this is the correct approach.
> Stéphane Peter
> megastep at megastep.org
More information about the Lokisetup