Anybody made OpenSSH work on a SPARC machine yet? I managed to get OpenSSL to compile correctly, via a patch to fix the location of perl (on RPM based systems, it will almost always be in /usr/bin/perl, not in /usr/local/bin/perl), and a small patch to the spec file to allow for SPARC builds. That RPM is built and installed without any errors that I can detect. OpenSSH is failing during a key generation step, the exact error messages I'll have in a few hours when this compile finishes. Here's a quote from the build: Generating RSA Keys: (gook goes here) Key generation complete. Saving the key failed: /etc/ssh/ssh_host_key: no such file or directory Generating the DSA parameter and key. Saving the key failed: /etc/ssh/ssh_host_dsa_key: no such file or directory etc. Now, I can make these errors go away by creating /etc/ssh, but it seems that since it's building into someplace, shouldn't it be creating these darn things there? Is there any way to tell the makefile NOT to create the bloody keys, since it takes forever, and the keys get discarded anyway? Any good thoughts for me? Grego BTW, anybody know why OpenSSL is so slow to build? I think I could almost do a complete Linux kernel re-compile in the amount of time it takes to rebuild that RPM. |---------------------------------------------------| | Windows NT has detected that there were no errors | | for the past 10 minutes. The system will now try | | to restart or crash. Click the OK button to | | continue. | | < Ok > | |---------------------------------------------------| (sigline nicked from Jayan M on comp.os.linux.misc)
On Wed, 5 Jul 2000, Gregory Leblanc wrote:> Anybody made OpenSSH work on a SPARC machine yet?<snip>> Now, I can make these errors go away by creating /etc/ssh, but it seems that > since it's building into someplace, shouldn't it be creating these darn > things there?ummm, if all you got was an install error, regarding the missing directory, make the directory, and re-install the RPMs -- no need to recomplie for that. There is some error in the OpenSSH spec file you are using --- you don't specify which, and whose. I am aware of at least two competing versions, in general circulation.> BTW, anybody know why OpenSSL is so slow to build? I think I could almost > do a complete Linux kernel re-compile in the amount of time it takes to > rebuild that RPM.On the sparc, I think the numeric handling is not well up to snuff, compared to that which one might be used to on the i386 line. A lot is done in math routines rather than at the chip level, and it does seem to drag ... ... Unfortunately this carries over to runtime --- I am quite unhappy with sshd performance on the Sparcs. -- end ================================= .-- -... ---.. ... -.- -.-- Copyright (C) 2000 R P Herrold herrold at owlriver.com NIC: RPH5 (US) My words are not deathless prose, but they are mine. Owl River Company 614 - 221 - 0695 "The World is Open to Linux (tm)" ... Open Source LINUX solutions ... info at owlriver.com Columbus, OH
> -----Original Message----- > From: R P Herrold [mailto:herrold at owlriver.com] > Sent: Wednesday, July 05, 2000 9:38 PM > To: Gregory Leblanc > Cc: OpenSSH List (E-mail) > Subject: Re: OpenSSH on RH SPARC > > On Wed, 5 Jul 2000, Gregory Leblanc wrote: > > > Anybody made OpenSSH work on a SPARC machine yet? > <snip> > > Now, I can make these errors go away by creating /etc/ssh, > but it seems that > > since it's building into someplace, shouldn't it be > creating these darn > > things there? > > ummm, if all you got was an install error, regarding the > missing directory, make the directory, and re-install the RPMs > -- no need to recomplie for that. There is some error in the > OpenSSH spec file you are using --- you don't specify which, > and whose. I am aware of at least two competing versions, in > general circulation.Whoops, sorry for being so vague. I'm using the version from the OpenSSH ftp site. The maintainer is somebody at mindrot.org, so I figured this had to be the right list, although I've never gotten an acknowledgement of any of my emails to him. Is the other RPM better, and if so, where do I get it? The error that I'm getting is part of the RPM rebuild, and so the binary RPM doesn't get written. :-( As I said, I can get a binary RPM by creating that directory beforehand, but is that kosher? I think that it should be creating that in the Build-root directory, and NOT where the RPM is going to be installed. Maybe I should point this back at the RPM list...> > BTW, anybody know why OpenSSL is so slow to build? I think > I could almost > > do a complete Linux kernel re-compile in the amount of time > it takes to > > rebuild that RPM. > > On the sparc, I think the numeric handling is not well up to > snuff, compared to that which one might be used to on the i386 > line. A lot is done in math routines rather than at the chip > level, and it does seem to drag ... > > ... Unfortunately this carries over to runtime --- I am quite > unhappy with sshd performance on the Sparcs.Can you elaborate, off list if it's not appropriate? Is this a limitation with the Linux kernel, or with the OpenSSH code, or with the GCC compiler? If it's with the kernel, are the *BSD's or Solaris any better? If with the compiler, have you tried any others? If OpenSSH, uhm, bummer. Not going to try anything else, as OpenSSH kicks butt. Maybe somebody should look at the code, but it won't be me. Thanks for the help, Grego
On Wed, 5 Jul 2000, Gregory Leblanc wrote: OpenSSH is failing during a key generation step, the exact error> messages I'll have in a few hours when this compile finishes. Here's a > quote from the build: > Generating RSA Keys: (gook goes here) > Key generation complete. > Saving the key failed: /etc/ssh/ssh_host_key: no such file or directory > Generating the DSA parameter and key. > Saving the key failed: /etc/ssh/ssh_host_dsa_key: no such file or directory > etc.Do you get these errors when you are building the RPM or when compiling from the tarball? -d -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)
> -----Original Message----- > From: Damien Miller [mailto:djm at mindrot.org] > Sent: Friday, July 07, 2000 5:51 PM > To: Gregory Leblanc > Cc: OpenSSH List (E-mail) > Subject: Re: OpenSSH on RH SPARC > > On Wed, 5 Jul 2000, Gregory Leblanc wrote: > > OpenSSH is failing during a key generation step, the exact error > > messages I'll have in a few hours when this compile > finishes. Here's a > > quote from the build: > > Generating RSA Keys: (gook goes here) > > Key generation complete. > > Saving the key failed: /etc/ssh/ssh_host_key: no such file > or directory > > Generating the DSA parameter and key. > > Saving the key failed: /etc/ssh/ssh_host_dsa_key: no such > file or directory > > etc. > > Do you get these errors when you are building the RPM or when > compiling from the tarball?Building the RPM, as I'm trying to keep all my software everywhere under RPM control. Thanks, Grego
> -----Original Message----- > From: Damien Miller [mailto:djm at mindrot.org] > Sent: Sunday, July 09, 2000 4:28 AM > To: Gregory Leblanc > Cc: OpenSSH List (E-mail) > Subject: RE: OpenSSH on RH SPARC > > On Fri, 7 Jul 2000, Gregory Leblanc wrote: > > > Building the RPM, as I'm trying to keep all my software everywhere > > under RPM control. Thanks,Thanks, compiled cleanly, now I've got a real openssh-2.1.1p2-3.sparc.rpm, and I'm building on my x86 machines as well. Grego