[tbox-l] AIX - Compilation issues with openssh

Marc Stephenson marc at austin.ibm.com
Thu Oct 18 01:51:10 EST 2001


AIX Toolbox builds openssh with vac.C 5.0.2.0, and configures with very few
options:

export blibpath="/opt/freeware/lib:/usr/lib:/lib"

%configure --prefix=%{prefix} \
	--sysconfdir=/etc/ssh \
	--libexecdir=%{_libexecdir}/openssh \
	--with-ipv4-default \
	--with-rsh=/usr/bin/rsh

If you extract the openshh.spec file from the SRPM, you can see exactly
what we do (you already have it in the /opt/freeware/src/packages/SPECS
directory if you installed the SRPM):
     rpm2cpio openssh*src.rpm | /usr/linux/bin/cpio -iv openssh.spec

Marc

> 
> Hello Developers/users @AIX,
> 
> My Question:
> What compiler and what configure-Options do you use to build the
> ssh-Packages?
> 
> My Problem:
>    Logging in via self-built sshd:  no problem
> but when doing a second "ssh"-step to another host, the tty 
> is messed up: 
> 		 jp $ su -
> echos:	 su -
> 		 [and Password is visible... and cursor keys don't work...]
> Problem occurs only when the first step of successive "ssh"'s is
> 	from Putty (SSH-2) or TeraTerm (SSH-1) to the self-compiled
> sshd at AIX...
> 	Any other combination works fine.
> 
> Background:
>    openssh-Binaries from Linux-Toolbox and from Bull work nice.
> However, I need --with-tcp-wrapper enabled and AIX432.
> 
> I tried:
>    a) recent daily Snapshots (worked fine with solaris 2.4,2.5,2.6,2.7)
>    b) IBMs openssh-2.9.9p2-3.src.rpm
>    1) C-Compiler ibmcxx.rte 3.6.6.0 from IBM
>    2) gcc 2.95.2 (binaries from bull)
>    A) AIX-432-ML2
>    B) AIX-433-ML8
> 
>    ./configure --prefix=/usr/local --with-prngd-socket=/dev/entropy
> --sysconfdir=/etc/ssh
> 		 --with-default-path=... --with-mantype=man
> --with-tcp-wrapper --with-ssl-dir=...
>    (SSL was mainly freeware.openssl.rte.0.9.6.0 binary from Bull)
> 
> Seems I'm the only AIX-user having this problem???
> Must be my compiler(s!), libraries, ... ???
> 
> Having no clue how to debug this...
> 
> Thanks Jörg
> _______________________________________________
> aixtoolbox-list mailing list
> aixtoolbox-list at www-124.ibm.com
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/aixtoolbox-list
> 


-- 
Marc Stephenson		                          IBM Server Group - Austin, TX
Internet:  marc at austin.ibm.com                          NOTES: marcs at us.ibm.com
Phone:   512-327-5670                                              T/L 678-3189



More information about the openssh-unix-dev mailing list