Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Static binaries on AIX and Solaris

From: Jason Grove <jgrove(at)wvu.edu>
Date: Fri Dec 20 2002 - 13:56:33 EST


According to the FAQ on :
<http://www.ssh.com/support/faq/secureshellserver/qa_191_687.html> I should be able to build the sftp-server as a static binary. However the when adding the --enable-static=yes to the configure line it still only builds the shared ones. I need to build the static version to chroot some people to a home directory. Does any one know how to do it?

The info I found on ssh.com about building static binaries for AIX does not work for me:

/home/grove/ssh/ssh-3.2.2>CFLAGS="-bnso -bl:/usr/lib/syscalls.exp" ./configure
loading cache ./config.cache
checking distribution consistency... done

checking host system type... powerpc-ibm-aix4.3.2.0
checking target system type... powerpc-ibm-aix4.3.2.0
checking build system type... powerpc-ibm-aix4.3.2.0
checking cached information... ok

checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether building in source directory... yes checking using purify... no
checking for gcc... gcc
checking for gcc... /usr/vac/bin/xlc
checking whether the C compiler (/usr/vac/bin/xlc -bnso -bl:/usr/lib/syscalls.exp ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

I have also tried using the /usr/vac/bin/cc with the -bstatic option. The compiler on AIX is IBM's Visual Age C++ 5.0....

On solaris I am using Forte 6, but the --enable-static=yes is not picked up. (I looked in the configure file and the stuff for solaris is commented out, which contradicts their FAQ saying that it will work...)

Any help would be appreciated....

jason

(PS going to OpenSSH is not an option...)

-- 
Jason Grove			| One Waterfront Place
Principal Systems Administrator	| PO Box 6504
WVU Information Systems		| Morgantown, WV 26506-6504
Ph: 304.293.3011 x 2115		| E-Mail: jgrove@wvu.edu
Received on Wed Dec 25 02:22:49 2002
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:52 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library