[Rpm-maint] Re: compiling rpm tool from source and default directory settings...
Pazzo Da Legare
pazzodalegare at gmail.com
Fri Jan 18 09:57:31 UTC 2008
Thank you very much Marc and Tom "spot"!
pazzo
2008/1/18, Marc Haisenko <haisenko at comdasys.com>:
> 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