Bug 1202

Summary: Missing instructions for building from CVS
Product: Portable OpenSSH Reporter: Chris Pepper <pepper>
Component: DocumentationAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: pepper
Priority: P2    
Version: 4.3p2   
Hardware: Other   
OS: All   
URL: http://openssh.org/portable.html
Attachments:
Description Flags
Tweak the Linux wording for -devel RPMs none

Description Chris Pepper 2006-06-27 02:34:59 AEST
The page on Portable OpenSSH provides instructions for fetching the source from CVS via SSH, and links to the INSTALL file.

ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/INSTALL

Unfortunately, the INSTALL file's instructions (to start with ./configure) are insufficient. My HEAD checkout includes configure.ac but not configure. I guess this is for autoconf/automake, but this should be documented. Today "autoconf" created a usable configure, but last week it was failing. Is "autoconf" always intended to work, and be the only step between CVS checkouts and the INSTALL procedure?
Comment 1 Damien Miller 2006-07-01 13:30:37 AEST
The portable.html page has been updated by Darren Tucker.

FYI you can do:

make -f Makefile.in distprep

if you have autoconf installed, it does pretty much the right thing.
Comment 2 Darren Tucker 2006-07-06 19:16:36 AEST
Also, INSTALL now mentions that you need to run autoreconf if you changed configure.ac.  It now says:

[quote]
Autoconf:

If you modify configure.ac or configure doesn't exist (eg if you checked
the code out of CVS yourself) then you will need autoconf-2.59 to rebuild
the automatically generated files by running "autoreconf".

http://www.gnu.org/software/autoconf/
[/quote]

Hopefully that and the additional detail on the web page will clear this up.

As an aside: should it mention distprep too?  If so then that also needs an nroff with mandoc macros...
Comment 3 Darren Tucker 2006-10-07 11:45:23 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.
Comment 4 Chris Pepper 2010-01-22 07:46:12 AEDT
Suggested tweaks for INSTALL attached.
Comment 5 Chris Pepper 2010-01-22 07:48:11 AEDT
Created attachment 1782 [details]
Tweak the Linux wording for -devel RPMs