bugzilla-daemon at mindrot.org
2002-Jul-02 16:45 UTC
[Bug 329] New: gmake install prefix=... does not work with the privsep-path
http://bugzilla.mindrot.org/show_bug.cgi?id=329
Summary: gmake install prefix=... does not work with the
privsep-path
Product: Portable OpenSSH
Version: -current
Platform: MIPS
OS/Version: IRIX
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: wolfgang.dautermann at fh-joanneum.at
To build a package I do
./configure --prefix=/somewhere ...
gmake
gmake install prefix=/tmp/installroot
And then usually a "cd /tmp/installroot ; find ." gives you the files
which
openssh would install and which should be included in the Package.
That does not work with 3.4p1 because
(a) the configure-option "--prefix" does not influence the
"--with-privsep-path" Option (which it should be, I believe)
(b) The prefix in the command "gmake install
prefix=/tmp/installroot" does not
respect the "prefix=..."-option when creating the privsep-path:
$ gmake install prefix=/tmp/installroot
[...]
mkdir /tmp/installroot/man/man8
./mkinstalldirs /tmp/installroot/libexec
mkdir /tmp/installroot/libexec
./mkinstalldirs /var/empty
mkdir /var/empty
Cannot create directory "/var/empty": Permission denied
[...]
Package building would be easier if the "prefix" option would work
for the
privsep-path.
Bye, Wolfgang
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Thomas Binder
2002-Jul-02 17:01 UTC
[Bug 329] New: gmake install prefix=... does not work with the privsep-path
Hi! On Wed, Jul 03, 2002 at 02:45:35AM +1000, bugzilla-daemon at mindrot.org wrote:> To build a package I do > > ./configure --prefix=/somewhere ... > gmake > gmake install prefix=/tmp/installroot > > And then usually a "cd /tmp/installroot ; find ." gives you the files which > openssh would install and which should be included in the Package. > > That does not work with 3.4p1 because > (a) the configure-option "--prefix" does not influence the > "--with-privsep-path" Option (which it should be, I believe) > (b) The prefix in the command "gmake install prefix=/tmp/installroot" does not > respect the "prefix=..."-option when creating the privsep-path: > [...] > > Package building would be easier if the "prefix" option would work for the > privsep-path.You actually want to use gmake install DESTDIR=/tmp/installroot Overriding prefix is not the correct way to install into a temporary directory. Ciao Thomas -- The opulence of the front office door varies inversely with the fundamental solvency of the firm.