Bug 329 - gmake install prefix=... does not work with the privsep-path
Summary: gmake install prefix=... does not work with the privsep-path
Status: CLOSED INVALID
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: MIPS IRIX
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-03 02:45 AEST by Wolfgang Dautermann
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Dautermann 2002-07-03 02:45:33 AEST
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
Comment 1 Ben Lindstrom 2002-07-03 03:09:59 AEST
use DESTDIR=   prefix= is not valid solution to your problem.
Comment 2 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED