[Drbd-dev] [DRBD-user] drbd-8.3.7rc2.tar.gz

Ante Karamatić ivoks at ubuntu.com
Fri Jan 8 23:56:36 CET 2010


On 07.01.2010 13:50, Philipp Reisner wrote:

> The second release candidate of 8.3.7 is intended to be the least RC.

Am I missing something in the build process? By default, when 
configured, prefix is /usr/local. Yet, files get installed even in 
/sbin/. Example:

./configure --prefix=/tmp/DRBD
make
make install

and the problem:

make[1]: Entering directory `/tmp/drbd-8.3.7rc2/user'
install -d //sbin/

in user/Makefile.in, there's:

install -d $(DESTDIR)/sbin/

while DESTDIR is defined as:

DESTDIR ?= /

So, prefix is ignored and DESTDIR can be overridden by:

DESTDIR=/tmp/DRBD make install

that creates /tmp/DRBD with arch dependent files and /tmp/DRBD/tmp/DRBD 
with arch independent files.

Take care


More information about the drbd-dev mailing list