[SUMMARY-ADDON] compile ssh 3.2 on Solaris 8

From: dan <dan_at_thebc.ch>
Date: Wed Aug 07 2002 - 12:33:04 EDT
hy managers

i just realize that this odd behavior only occure if i add
--without-purify to ./configure (wich is enabled by default).

thanx again for your help and special to Randy Romero which i forgot 
to mention in my first summary.

greez bernd

---- original summary ----------------------------------

hy managers

this mailing-list realy rocks! i've got answers 13min. later!
thx you very much.

the problem is in the Makefile's. They say allways "CC = no gcc".
it doesn't matter if you say:
"CC=gcc ./configure..." or 
"CC=/opt/sfw/bin/gcc ./configure..." or just 
maybe thers a problem in the configure-script?

so i searched through all Makefile and replaced "CC = no gcc" with "CC = gcc".

# find ./ -name Makefile -print | while read filename
> do
> sed 's/CC = no gcc/CC = gcc/g' $filename > $filename.out
> mv $filename.out $filename
> done

now ssh compiles without error (just a few warnings about char and pointer).

the testsuite doesnt work.
it doesn't work alsow on redhat 7.3 (same error)...

hmac-ripemd160@ssh.com -- 37847 KBytes/sec
hmac-ripemd160-96@ssh.com -- 39981 KBytes/sec
  - timing could not be performed for none.
 - creating static test cases.
 - running static tests.
mac md5-8 not supported
FAIL: t-gentest
1 of 1 tests failed
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/tmp/src/ssh-3.2.0/lib/sshcrypto/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/tmp/src/ssh-3.2.0/lib/sshcrypto/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/tmp/src/ssh-3.2.0/lib/sshcrypto'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/tmp/src/ssh-3.2.0/lib'
make: *** [check-recursive] Error 1
[sysop@dan ssh-3.2.0]$

but the server starts and i could connect.
but some more testing is needed.

I would like to thank the following managers:
Alex Stade
Bryce Ryan
Daniel Baldonado
Reginald Beavers
Michael S. Peek

greez bernd

------------ original message -------------------------------------
Date: Mon, 5 Aug 2002 17:46:45 +0200
From: bernd <bernd@thebc.ch>
To: sunmanagers@sunmanagers.org
Subject: compile ssh 3.2 on Solaris 8

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. 


---------------- 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

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
  CFLAGS...................: -g -O2 -Wall -Wno-unknown-pragmas -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  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 mailing list
Received on Fri Aug 16 02:48:09 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:52 EST