[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] 0.9.1-beta4 install bug



On Sun, Feb 11, 2001 at 03:42:37PM +0100, Adalbert Michelic wrote:
> Hi,
> 
> * On Sunday, February 11, 2001 at 00:28, Steven Lembark wrote:
> >         ./configure --prefix=/opt/lvm/0.9.1
> 
> > leaves only the man pages in the prefix dir, exec's still go
> > to /sbin.  this is bad news since it will blow off the entire
> > LVM installation the next time i test an install.  
[...]
> > so, prefix should set eprefix & friends which should leave the
> > binaries in /opt/lvm/0.9.1/sbin, etc.
> 
> You have to set --exec-prefix either - --prefix does _not_ modify
> --exec-prefix as far as i can see.

if you want to change the behaviour do this
and rerun autoconf
(NOTE exec_prefix should be set to "", not "/", because it is used as in
sbindir=${exec_prefix}/sbin )
	                  ^

--- ./configure.in.bluca        Sat Feb 10 13:00:50 2001
+++ ./configure.in      Sun Feb 11 19:22:22 2001
@@ -74,8 +74,8 @@
                           statically.  Default is dynamic linking],  STATIC_LINK=$enableval, STATIC_LINK=no)
 
 dnl Mess with default exec_prefix
-if [[ "x$exec_prefix" = xNONE ]];
- then  exec_prefix="/";
+if [[ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ]];
+ then  exec_prefix="";
 fi;
 
 dnl Checks for library functions.

-- 
Luca Berra -- bluca comedia it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]