Page 1 of 1
configure on Linux is broken
Posted: Fri Sep 24, 2010 4:23 pm
by HJarausch
Hi,
please change configure (under Linux) which always installs something into /usr/lib/codelite irrespectively of the setting of --prefix.
Please install into <PREFIX>/lib/codelite.
I have been trapped by this more than once.
Helmut.
(problem exists up to 2.7.0.4375)
Re: configure on Linux is broken
Posted: Fri Sep 24, 2010 4:44 pm
by eranif
Hopefully DavidGH can reply to this one (he is much more familiar with --prefix switch of the configure script than me)
Eran
Re: configure on Linux is broken
Posted: Fri Sep 24, 2010 9:59 pm
by HJarausch
Here is a patch.
Helmut.
Re: configure on Linux is broken
Posted: Sat Sep 25, 2010 3:07 pm
by DavidGH
Hi Helmut,
please change configure (under Linux) which always installs something into /usr/lib/codelite...
That's surprising. What files do you find get installed?
..irrespectively of the setting of --prefix
What prefix and plugins-dir do you use? I almost always use --prefix=$(pwd))/CLinstall --plugins-dir=$(pwd)/CLinstall/lib and do 'make install' as a normal user. Any files directed to /usr/* would have resulted in an error message.
The only way I can see that your problem might have happened is if you configure --prefix= but forget to add --plugins-dir=; and then do 'make install' as superuser.
problem exists up to 2.7.0.4375
'configure' has changed since then. Since r4392 if a prefix is provided, plugins-dir automatically becomes a subdir of it, unless --plugins-dir is supplied separately. So it's no longer necessary to specify plugins-dir unless you want it to go elsewhere. Could you update, or at least grab the current 'configure' from
http://codelite.svn.sourceforge.net/vie ... e?view=log and see if the problem still happens.
Regards,
David