[Bug 71] New: configure is looking for zlib but I don't have one and I can't turn zlib off.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jan 17 13:28:28 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=71

           Summary: configure is looking for zlib but I don't have one and I
                    can't turn zlib off.
           Product: Portable OpenSSH
           Version: 3.0.2p1
          Platform: Sparc
        OS/Version: Solaris
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Build system
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: george.r.goffe at seagate.com


I'm trying to build this version of ssh on my solaris
2.8 system and can't get past the configure stage.

Configure seems to be looking for zlib and fails
even when I specify --without-zlib or --disable-zlib.

I'm enclosing the build log as part of this bug report.

Regards and THANKS for the cool software.

George...




cat bld.log1  
#!/bin/sh -xv

 if [ $# = 0 ]
 then
    ncpus=1
 else
    ncpus=$1
 fi
+ [ 0 = 0 ] 
ncpus=1

 sysver=`uname -s`
+ uname -s 
sysver=SunOS
 syslvl=`uname -r`
+ uname -r 
syslvl=5.8

 osname=$sysver.$syslvl
osname=SunOS.5.8

 case $osname in
    SunOS.5.5)
       osname="$sysver.5.5"
       ;;
    SunOS.5.5.1)
       osname="$sysver.5.5.1"
       ;;
    SunOS.5.6)
       osname="$sysver.5.6"
       ;;
    SunOS.5.7)
       osname="$sysver.5.7"
       ;;
    SunOS.5.8)
       osname="$sysver.5.8"
       ;;
    SunOS.5.9)
       osname="$sysver.5.9"
       ;;
    *)
       printf "%s" 'Wrong system level encountered...'
       exit 86
 esac
osname=SunOS.5.8

 PATH=/usr/lsd/$osname/bin:/usr/local/bin:/usr/bin
PATH=/usr/lsd/SunOS.5.8/bin:/usr/local/bin:/usr/bin
 export PATH
+ export PATH 

 which gcc
+ which gcc 
/usr/local/bin/gcc

 gcc --version
+ gcc --version 
3.0.2

 which as
+ which as 
/usr/lsd/SunOS.5.8/bin/as

 as --version
+ as --version 
GNU assembler 2.11.2
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `sparc-sun-solaris2.8'.

 which ld
+ which ld 
/usr/lsd/SunOS.5.8/bin/ld

 ld --version
+ ld --version 
GNU ld 2.11.2
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
  Supported emulations:
   elf32_sparc
   elf64_sparc

 make distclean
+ make distclean 
make: *** No rule to make target `distclean'.  Stop.

 ./configure --prefix=/usr/lsd/$osname --verbose        \
             --enable-suid-ssh                          \
             --with-cflags                              \
             --with-cppflags                            \
             --with-ldflags                             \
             --with-zlib=/usr/lsd/$osname               \
             --with-libs=-lz                            \
             --with-tcp-wrappers=/usr/lsd/$osname       \
             --with-pam                                 \
             --with-ssl-dir=/usr/lsd/$osname            \
             --with-rsh=/usr/bin                        \
             --with-xauth=/usr/openwin/bin              \
             --with-mantype=man                         \
             --with-md5-passwords                       \
             --with-ipaddr-display                      \
             --with-ipv4-default                        \
             --with-4in6                                \
             --with-bsd-auth                            \
             --with-pid-dir=/usr/lsd/$osname/etc
+ ./configure --prefix=/usr/lsd/SunOS.5.8 --verbose --enable-suid-ssh
--with-cflags --with-cppflags --with-ldflags --with-zlib=/usr/lsd/SunOS.5.8
--with-libs=-lz --with-tcp-wrappers=/usr/lsd/SunOS.5.8 --with-pam
--with-ssl-dir=/usr/lsd/SunOS.5.8 --with-rsh=/usr/bin
--with-xauth=/usr/openwin/bin --with-mantype=man --with-md5-passwords
--with-ipaddr-display --with-ipv4-default --with-4in6 --with-bsd-auth
--with-pid-dir=/usr/lsd/SunOS.5.8/etc 
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking whether byte ordering is bigendian... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/lsd/SunOS.5.8/bin/install -c
checking for ar... /usr/lsd/SunOS.5.8/bin/ar
checking for perl5... no
checking for perl... /usr/lsd/SunOS.5.8/bin/perl
checking for ent... no
checking for filepriv... no
checking for bash... /usr/lsd/SunOS.5.8/bin/bash
checking for ksh... (cached) /usr/lsd/SunOS.5.8/bin/bash
checking for sh... (cached) /usr/lsd/SunOS.5.8/bin/bash
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for login... /usr/bin/login
checking for gcc option to accept ANSI C... none needed
checking for inline... inline
checking for obsolete utmp and wtmp in solaris2.x... yes
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for yp_match... no
checking for yp_match in -lnsl... no
checking for setsockopt... no
checking for setsockopt in -lsocket... no
checking for getspnam... no
checking for getspnam in -lgen... no
checking for deflate in -lz... no
configure: error: *** zlib missing - please install first or check config.log
***


#--with-random=FILE      read entropy from FILE (default=/dev/urandom)
#--with-prngd-port=PORT  read entropy from PRNGD/EGD localhost:PORT
#--with-prngd-socket=FILE read entropy from PRNGD/EGD socket FILE
(default=/var/run/egd-pool)
#--with-lastlog=FILE|DIR specify lastlog location common locations

 make clean
+ make clean 
make: *** No rule to make target `clean'.  Stop.

 make depend
+ make depend 
make: *** No rule to make target `depend'.  Stop.

 make -j $ncpus
+ make -j 1 
make: *** No targets specified and no makefile found.  Stop.

 make install
+ make install 
make: *** No rule to make target `install'.  Stop.

 exit 0
+ exit 0



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list