[Rpm-maint] Re: compiling rpm tool from source and default directory settings...
Marc Haisenko
haisenko at comdasys.com
Fri Jan 18 09:06:15 UTC 2008
On Friday 18 January 2008, Pazzo Da Legare wrote:
> Dear all,
>
> I tried to configure the rpm library with --prefix=/ and then change
> at installation time:
> (say BUILDDIR=/foo/bar/path)
>
> $ ./configure --prefix=/
> $ make
> $ make install --prefix=($BUILDDIR)
>
> but at the end some files go on /usr ....and _not_ in /foo/bar/path/usr....
>
> I hope someone will give me the clue....
>
> Thanks
>
> pazzo
You've got the syntax wrong. Try this:
./configure --prefix=/usr
make
make install DESTDIR=$BUILDDIR
--
Marc Haisenko
Comdasys AG
Rüdesheimer Str. 7
80686 München
Germany
Tel.: +49 (0)89 548 433 321
More information about the Rpm-maint
mailing list