openssh 3.0.1 rpm for sparc (redhat 6.x)
having problems getting openssh to compile on my redhat 6.1 box (with 6.2 updates)
so i was wondering if someone has a working version in rpm ? i only found a redhat 7.x version on rpmfind
(i thought there was never a redhat 7.x for the sparc?)
Quoted 5 lines · On Mon, 26 Nov 2001 [email protected] wrote:
having problems getting openssh to compile on my redhat 6.1 box (with 6.2 updates)
so i was wondering if someone has a working version in rpm ? i only found a redhat 7.x version on rpmfind
(i thought there was never a redhat 7.x for the sparc?)
anyone ?
Quoted 9 lines · Stephan van Hienen
Quoted 5 lines · On Mon, 26 Nov 2001 [email protected] wrote:
having problems getting openssh to compile on my redhat 6.1 box (with 6.2 updates)
so i was wondering if someone has a working version in rpm ? i only found a redhat 7.x version on rpmfind
(i thought there was never a redhat 7.x for the sparc?)anyone ?
Rebuild from the src rpm available at openssh.org. Should work.
~spot
---
Tom "spot" Callaway <[email protected]> Red Hat Commercial Support Sair Linux and GNU Certified Administrator (LCA)
Red Hat Certified Engineer (RHCE)
GPG: D786 8B22 D9DB 1F8B 4AB7 448E 3C5E 99AD 9305 4260
The words and opinions reflected in this message do not necessarily reflect those of my employer, Red Hat, and belong solely to me.
"Immature poets borrow, mature poets steal." --- T. S. Eliot
Quoted 1 line · Tom 'spot' Callaway
Rebuild from the src rpm available at openssh.org. Should work.
ok tried that :
rpm --rebuild openssh-3.0.1p1-1.src.rpm
Installing openssh-3.0.1p1-1.src.rpm
error: failed build dependencies:
gnome-libs-devel is needed by openssh-3.0.1p1-1
[root@ddx /tmp]# rpm --rebuild openssh-3.0.1p1-1.src.rpm --nodeps Installing openssh-3.0.1p1-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.75042
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf openssh-3.0.1p1
+ /bin/gzip -dc /usr/src/redhat/SOURCES/openssh-3.0.1p1.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd openssh-3.0.1p1
+ /bin/gzip -dc /usr/src/redhat/SOURCES/x11-ssh-askpass-1.2.4.1.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.60199
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd openssh-3.0.1p1
+ EXTRA_OPTS+ CFLAGS=-O2 -m64 -mcpu=ultrasparc
+ export CFLAGS
+ CXXFLAGS=-O2 -m64 -mcpu=ultrasparc
+ export CXXFLAGS
+ FFLAGS=-O2 -m64 -mcpu=ultrasparc
+ export FFLAGS
+ [ -f configure.in ]
+ ./configure sparc64-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/ssh --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/man --infodir=/usr/info --libexecdir=/usr/libexec/openssh --datadir=/usr/share/openssh --with-pam --with-tcp-wrappers --with-rsh=/usr/bin/rsh --with-default-path=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
configure: WARNING: you should use --build, --host, --target checking for sparc64-redhat-linux-gcc... sparc64-redhat-linux-gcc checking for C compiler default output... configure: error: C compiler cannot create executables
error: Bad exit status from /var/tmp/rpm-tmp.60199 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.60199 (%build)
---
on my intel redhat 6.2 box i don't have any problems...
From: Stephan van Hienen <[email protected]>
Date: Thu, 29 Nov 2001 23:58:45 +0100 (CET)
Quoted 1 line · Tom 'spot' Callaway
Rebuild from the src rpm available at openssh.org. Should work.
ok tried that :
Run "sparc32 bash" before building the rpm.
Quoted 12 lines
-----Original Message-----
From: David S. Miller [mailto:[email protected]]
Sent: vrijdag 30 november 2001 0:03
To: [email protected]
Cc: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: openssh 3.0.1 rpm for sparc (redhat 6.x)From: Stephan van Hienen <[email protected]>
Date: Thu, 29 Nov 2001 23:58:45 +0100 (CET)
Quoted 7 lines
Quoted 1 line · Tom 'spot' Callaway
Rebuild from the src rpm available at openssh.org. Should work.
ok tried that :
Run "sparc32 bash" before building the rpm.
Thnx, that fixed the problem
P.s. why can I rebuild a lot of src.rpms witouth this ?
Quoted 16 lines · Stephan van Hienen
Quoted 16 lines
-----Original Message-----
From: David S. Miller [mailto:[email protected]]
Sent: vrijdag 30 november 2001 0:03
To: [email protected]
Cc: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: openssh 3.0.1 rpm for sparc (redhat 6.x)From: Stephan van Hienen <[email protected]>
Date: Thu, 29 Nov 2001 23:58:45 +0100 (CET)Quoted 1 line · Tom 'spot' Callaway
Rebuild from the src rpm available at openssh.org. Should work.
Quoted 7 lines
Quoted 3 lines
ok tried that :
Run "sparc32 bash" before building the rpm.
Thnx, that fixed the problem
P.s. why can I rebuild a lot of src.rpms witouth this ?
Because a lot of them are smart enough to use CPP macros like __sparc_v9__ or __arch64__ to determine things, rather than assuming sparc64 = 64-bit || v9 instructions. The compiler is much better at determining this (CC="gcc -mcpu=ultrasparc" for example) than `uname'.
Ben
Signature · 4 lines
.----------====-=-===-=====-----------===------------=-=-----. / Ben Collins -- Debian GNU/Linux \ ` [email protected] -- [email protected] -- [email protected] ' `---=====------====-------------=-=-----=-==-===-------=--=---'
Because not many applications try to build 64-bit executables on suitable platforms. What happenes it that openSSL detects a 64 bit KERNEL and therefore assumes you want a 64 bit application/userland.
Most applications dont give a shit about 64-bits and builds a 32 bit binary.
/wfr
Fredrik
Quoted 3 lines · Stephan van Hienen
P.s. why can I rebuild a lot of src.rpms witouth this ?
From: "Stephan van Hienen" <[email protected]>
Date: Fri, 30 Nov 2001 16:06:12 +0100
Quoted 1 line
Run "sparc32 bash" before building the rpm.
Thnx, that fixed the problem
P.s. why can I rebuild a lot of src.rpms witouth this ?
Because we lack a 64-bit build environement on many distributions.