compile ssh 3.2 on Solaris 8

From: bernd (bernd@thebc.ch)
Date: Mon Aug 05 2002 - 11:46:45 EDT


hy managers

does anybody successfully compiled ssh 3.2 on sol8 ans SS5?
on the same machine i could compile apache, ssl, php, proftpd...
everything works fine.

but if i try to make ssh i get the following error:

.
.
.
no gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I\../../.. -g -O2 -Wall -Wno-unknown-pragmas -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c sshdebug.c
sh: no: not found
*** Error code 1
make: Fatal error: Command failed for target `sshdebug.o'

Anybody the same problem...? Solutions...?
(ah yea, ssh 2.4 compiles like a charm!)

will sumarize...

thx for your help.

bernd

---------------- details -------------------------------------------------
Following Package are installed on Solaris 8:

system SFWaconf autoconf - GNU autoconf
system SFWamake automake - GNU automake
system SFWgcc gcc - GNU Compiler Collection
system SFWgcmn gcmn - Common GNU package
system SFWgm4 GNU m4 - macro processor
system SUNWadmr System & Network Administration Root
system SUNWarc Archive Libraries
system SUNWbcp SunOS 4.x Binary Compatibility
system SUNWbtool CCS tools bundled with SunOS
system SUNWbzip The bzip compression utility
system SUNWcar Core Architecture, (Root)
system SUNWcg6 GX (cg6) Device Driver
system SUNWcsd Core Solaris Devices
system SUNWcsl Core Solaris, (Shared Libs)
system SUNWcsr Core Solaris, (Root)
system SUNWcsu Core Solaris, (Usr)
system SUNWdfb Dumb Frame Buffer Device Drivers
system SUNWesu Extended System Utilities
system SUNWgzip The GNU Zip (gzip) compression utility
system SUNWhea SunOS Header Files
system SUNWhmd SunSwift SBus Adapter Drivers
system SUNWipc Interprocess Communications
system SUNWkey Keyboard configuration tables
system SUNWkvm Core Architecture, (Kvm)
system SUNWlibC Sun Workshop Compilers Bundled libC
system SUNWlibm Sun WorkShop Bundled libm
system SUNWlibms Sun WorkShop Bundled shared libm
system SUNWloc System Localization
system SUNWmdr Solstice DiskSuite Drivers
system SUNWmdu Solstice DiskSuite Commands
system SUNWnamos Northern America OS Support
system SUNWowbcp OpenWindows binary compatibility
system SUNWpl5u Perl 5.005_03
system SUNWrmodu Realmode Modules, (Usr)
system SUNWscbcp SPARCompilers Binary Compatibility Libraries
system SUNWscpr Source Compatibility, (Root)
system SUNWscpu Source Compatibility, (Usr)
system SUNWsprot Solaris Bundled tools
system SUNWswmt Install and Patch Utilities
system SUNWtoo Programming Tools
system SUNWxcu4 XCU4 Utilities

Cluster Solaris 8 from May 2002 is installed! Env is as following:

cat /root/.profile
MAIL=/usr/mail/${LOGNAME:?}

ENV=$HOME/.kshrc
PATH=/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/opt/sfw/bin:/usr/ccs/bin
export ENV PATH

# CC=gcc CFLAGS='-g' ./configure \ (tried also with ./configure only)
--prefix=/opt/ssh2 \
--exec-prefix=/opt/ssh2 \
--with-etcdir=/opt/ssh2 \
--with-piddir=/var/run \
--with-addr-model=ilp32 \ (tried also without this option)
--without-purify \
--without-pgp \
--without-daemonpam \
--without-clientpam \
--without-ssh-agent1-compat \
--without-internal-ssh1-compat \
--without-kerberos5 \
--enable-debug (tried also without this option)
--disable-asm (tried also without this option)

After ./configure following output will be generated:

Configuration summary:
======================

  Host type................: sparc-sun-solaris2.8
  CC.......................: no gcc
  CPPFLAGS.................:
  CFLAGS...................: -g -O2 -Wall -Wno-unknown-pragmas -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  LDFLAGS..................:
  LIBS.....................: -lm -lsocket -lnsl -lbsm -lsec -ltermcap -ldl -lsocket -lnsl -L/usr/local/lib
  X includes...............: NO
  X libraries..............: NO

  Debug enabled............: light
  IPv6 support.............: yes
  RSA support..............: yes
  SSH1 internal emulation..: no
  SSH1 fallback capability.: no
  Kbd-interactive in server: yes
    Submethods.............: passwd plugin
  Kbd-interactive in client: yes
  PAM support in server....: no
  PAM support in client....: no
  SecurID support in server: no
  SecurID support in client: yes
  Kerberos5 support........: no
  TCP Wrappers support.....: no
  Terminal capability lib..: termcap
  X11 SECURITY extension : no

  Installation prefix......: /opt/ssh2
  bin directory............: /opt/ssh2/bin
  sbin directory...........: /opt/ssh2/sbin
  man directory............: /opt/ssh2/man
  ssh2 etc directory.......: /opt/ssh2
  PID-file directory.......: /var/run

Then using command make following occours:

make all-recursive
Making all in lib
Making all in sshutil
Making all in sshcore
no gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I\../../.. -g -O2 -Wall -Wno-unknown-pragmas -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c sshdebug.c
sh: no: not found
*** Error code 1
make: Fatal error: Command failed for target `sshdebug.o'
Current working directory /root/ssh32/ssh-3.2.0/lib/sshutil/sshcore
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/ssh32/ssh-3.2.0/lib/sshutil
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/ssh32/ssh-3.2.0/lib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/ssh32/ssh-3.2.0
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'

I tried the ./configure options in different ways but it occurs allways the
same error!
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:43 EDT