* Re: openssh 3.0.1 rpm for sparc (redhat 6.x)
2001-11-26 16:47 openssh 3.0.1 rpm for sparc (redhat 6.x) ultra
@ 2001-11-29 21:17 ` Stephan van Hienen
2001-11-29 22:21 ` Tom 'spot' Callaway
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Stephan van Hienen @ 2001-11-29 21:17 UTC (permalink / raw)
To: ultralinux
On Mon, 26 Nov 2001 ultra@a2000.nu 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 ?
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: openssh 3.0.1 rpm for sparc (redhat 6.x)
2001-11-26 16:47 openssh 3.0.1 rpm for sparc (redhat 6.x) ultra
2001-11-29 21:17 ` Stephan van Hienen
@ 2001-11-29 22:21 ` Tom 'spot' Callaway
2001-11-29 22:58 ` Stephan van Hienen
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Tom 'spot' Callaway @ 2001-11-29 22:21 UTC (permalink / raw)
To: ultralinux
On Thu, 29 Nov 2001, Stephan van Hienen wrote:
> On Mon, 26 Nov 2001 ultra@a2000.nu 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 <tcallawa@redhat.com> 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
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: openssh 3.0.1 rpm for sparc (redhat 6.x)
2001-11-26 16:47 openssh 3.0.1 rpm for sparc (redhat 6.x) ultra
2001-11-29 21:17 ` Stephan van Hienen
2001-11-29 22:21 ` Tom 'spot' Callaway
@ 2001-11-29 22:58 ` Stephan van Hienen
2001-11-29 23:02 ` David S. Miller
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Stephan van Hienen @ 2001-11-29 22:58 UTC (permalink / raw)
To: ultralinux
On Thu, 29 Nov 2001, Tom 'spot' Callaway wrote:
> 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...
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: openssh 3.0.1 rpm for sparc (redhat 6.x)
2001-11-26 16:47 openssh 3.0.1 rpm for sparc (redhat 6.x) ultra
` (2 preceding siblings ...)
2001-11-29 22:58 ` Stephan van Hienen
@ 2001-11-29 23:02 ` David S. Miller
2001-11-30 15:06 ` Stephan van Hienen
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: David S. Miller @ 2001-11-29 23:02 UTC (permalink / raw)
To: ultralinux
From: Stephan van Hienen <ddx@a2000.nu>
Date: Thu, 29 Nov 2001 23:58:45 +0100 (CET)
On Thu, 29 Nov 2001, Tom 'spot' Callaway wrote:
> Rebuild from the src rpm available at openssh.org. Should work.
ok tried that :
Run "sparc32 bash" before building the rpm.
^ permalink raw reply [flat|nested] 9+ messages in thread* RE: openssh 3.0.1 rpm for sparc (redhat 6.x)
2001-11-26 16:47 openssh 3.0.1 rpm for sparc (redhat 6.x) ultra
` (3 preceding siblings ...)
2001-11-29 23:02 ` David S. Miller
@ 2001-11-30 15:06 ` Stephan van Hienen
2001-11-30 15:15 ` Ben Collins
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Stephan van Hienen @ 2001-11-30 15:06 UTC (permalink / raw)
To: ultralinux
> -----Original Message-----
> From: David S. Miller [mailto:davem@redhat.com]
> Sent: vrijdag 30 november 2001 0:03
> To: ddx@a2000.nu
> Cc: tcallawa@redhat.com; ultra@a2000.nu;
> sparclinux@vger.kernel.org; ultralinux@vger.kernel.org
> Subject: Re: openssh 3.0.1 rpm for sparc (redhat 6.x)
>
>
> From: Stephan van Hienen <ddx@a2000.nu>
> Date: Thu, 29 Nov 2001 23:58:45 +0100 (CET)
>
> On Thu, 29 Nov 2001, Tom 'spot' Callaway wrote:
>
> > 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 ?
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: openssh 3.0.1 rpm for sparc (redhat 6.x)
2001-11-26 16:47 openssh 3.0.1 rpm for sparc (redhat 6.x) ultra
` (4 preceding siblings ...)
2001-11-30 15:06 ` Stephan van Hienen
@ 2001-11-30 15:15 ` Ben Collins
2001-11-30 15:15 ` Fredrik Lundholm
2001-11-30 22:29 ` David S. Miller
7 siblings, 0 replies; 9+ messages in thread
From: Ben Collins @ 2001-11-30 15:15 UTC (permalink / raw)
To: ultralinux
On Fri, Nov 30, 2001 at 04:06:12PM +0100, Stephan van Hienen wrote:
> > -----Original Message-----
> > From: David S. Miller [mailto:davem@redhat.com]
> > Sent: vrijdag 30 november 2001 0:03
> > To: ddx@a2000.nu
> > Cc: tcallawa@redhat.com; ultra@a2000.nu;
> > sparclinux@vger.kernel.org; ultralinux@vger.kernel.org
> > Subject: Re: openssh 3.0.1 rpm for sparc (redhat 6.x)
> >
> >
> > From: Stephan van Hienen <ddx@a2000.nu>
> > Date: Thu, 29 Nov 2001 23:58:45 +0100 (CET)
> >
> > On Thu, 29 Nov 2001, Tom 'spot' Callaway wrote:
> >
> > > 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 ?
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
--
.----------====-=-===-=====-----------===------------=-=-----.
/ Ben Collins -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=====------====-------------=-=-----=-==-===-------=--=---'
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: openssh 3.0.1 rpm for sparc (redhat 6.x)
2001-11-26 16:47 openssh 3.0.1 rpm for sparc (redhat 6.x) ultra
` (5 preceding siblings ...)
2001-11-30 15:15 ` Ben Collins
@ 2001-11-30 15:15 ` Fredrik Lundholm
2001-11-30 22:29 ` David S. Miller
7 siblings, 0 replies; 9+ messages in thread
From: Fredrik Lundholm @ 2001-11-30 15:15 UTC (permalink / raw)
To: ultralinux
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
On Fri, Nov 30, 2001 at 04:06:12PM +0100, Stephan van Hienen wrote:
>
> P.s. why can I rebuild a lot of src.rpms witouth this ?
>
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: openssh 3.0.1 rpm for sparc (redhat 6.x)
2001-11-26 16:47 openssh 3.0.1 rpm for sparc (redhat 6.x) ultra
` (6 preceding siblings ...)
2001-11-30 15:15 ` Fredrik Lundholm
@ 2001-11-30 22:29 ` David S. Miller
7 siblings, 0 replies; 9+ messages in thread
From: David S. Miller @ 2001-11-30 22:29 UTC (permalink / raw)
To: ultralinux
From: "Stephan van Hienen" <ddx@a2000.nu>
Date: Fri, 30 Nov 2001 16:06:12 +0100
> 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.
^ permalink raw reply [flat|nested] 9+ messages in thread