I can't seem to compile 3.5p1 on a Solaris 9 box with gcc and GNU make. The box does not have perl installed on it. When I run configure, it correctly detects the absence of perl on the system, but make dies immediately trying to run "fixpaths", which is a perl script. PERL is set to nothing in the Makefile. Is perl required? The docs don't say it is... if not, how do I get around this? -- ---------------------------------------------------------------------------- Kim Scarborough http://www.unknown.nu/kim/ ---------------------------------------------------------------------------- "Every day I beat my own previous record for the number of consecutive days I've stayed alive." - George Carlin ----------------------------------------------------------------------------
Kim Scarborough wrote:> I can't seem to compile 3.5p1 on a Solaris 9 box with gcc and GNU make. > The box does not have perl installed on it. When I run configure, it > correctly detects the absence of perl on the system, but make dies > immediately trying to run "fixpaths", which is a perl script. PERL is > set to nothing in the Makefile. > > Is perl required? The docs don't say it is... if not, how do I get > around this?Perl is required to build OpenSSH, or more specifically: to fix up the paths in the manpages. If you install with normalish paths, then replacing fixpaths with a shell script which simply cat's it input to its output would be a reasonable workaround. A while back, someone converted the script to awk & sed. If you want to revive (check the list archives) and clean this up, it would probably get committed. -d
Damien Miller wrote:> Committed - it would be good if people test this with various grep and > sed implementations.It doesn't work on either AIX (4.3.3) or Solaris (7). $ uname -rs SunOS 5.7 $ echo a | ./fixpaths -Da=b ./fixpaths: error in command line arguments. ./fixpaths: -1: bad number $ uname AIX $ echo a | ./fixpaths -Da=b ./fixpaths: error in command line arguments. -- Darren Tucker (dtucker at zip.com.au) GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
What about "fixprogs" and "mdoc2man.pl" ? > On Fri, 6 Dec 2002, Damien Miller wrote: >>> Tim Rice wrote: >> >>>> > On Thu, 5 Dec 2002, Damien Miller wrote: [SNIP] >>>> > Breaks SCO. >>> >>> Can you be more specific? > > Peter and I have been working on it. I think he has a working version > now (works on SCO) but I want to test on my other platforms before commiting. > > I also checked the archives and found > http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=97590463728438&w=2 looks good > Seems like it may be more robust. [SNIP]