Subject: [libssh2] #280: unable to install libssh2-1.4.3

[libssh2] #280: unable to install libssh2-1.4.3

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Tue, 10 Dec 2013 11:02:17 -0000

#280: unable to install libssh2-1.4.3
----------------------+--------------------
 Reporter: nkenglen | Owner:
     Type: defect | Status: new
 Priority: normal | Milestone: 1.4.3
Component: misc | Version: 1.4.2
 Keywords: | Blocked By:
   Blocks: |
----------------------+--------------------
 I'm running on Suse Linux Enterprise Server 11 SP 1 (64bit).

 I could'nt install libssh2-1.4.3.

 I have attached the config.log for your reference. The errors seem to say
 that it couldn't locate openssl/ssl.h when i did a "./configure". I tried
 with the below command:

 ./configure --without-libgcypt --with-openssl --with-openssl-
 prefix=/usr/local/ssl

 but it doesn't help.

 The OpenSSL was downloaded from www.openssl.org and "OpenSSL 1.0.1e"
 version was compiled and installed in /usr/local/ssl directory.

 Please help! thank you!

 PS: i couldn't attach files for this ticket. I copied and pasted below.
 Thank you!

 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.

 It was created by libssh2 configure -, which was
 generated by GNU Autoconf 2.69. Invocation command line was

   $ ./configure --without-libgcrypt --without-openssl

 ## --------- ##
 ## Platform. ##
 ## --------- ##

 hostname = linux
 uname -m = x86_64
 uname -r = 2.6.32.12-0.7-default
 uname -s = Linux
 uname -v = #1 SMP 2010-05-20 11:14:20 +0200

 /usr/bin/uname -p = unknown
 /bin/uname -X = unknown

 /bin/arch = x86_64
 /usr/bin/arch -k = unknown
 /usr/convex/getsysinfo = unknown
 /usr/bin/hostinfo = unknown
 /bin/machine = unknown
 /usr/bin/oslevel = unknown
 /bin/universe = unknown

 PATH: /usr/local/ssl/bin
 PATH: /usr/local/valgrind/3.7.0/bin
 PATH: /usr/local/Parasoft/parasoft/test/9.2
 PATH: /usr/local/Parasoft/parasoft/cpptest/9.2
 PATH: /opt/tibco/tibrv/8.4/bin
 PATH: /usr/local/qt/bin
 PATH: /usr/local/ant/bin
 PATH: /usr/local/eXtremeDB/host/bin
 PATH: /usr/local/eXtremeDB/target/bin
 PATH: /usr/local/xerces-c-src_2_8_0/bin
 PATH: /usr/local/RTI/ndds.4.5e/scripts
 PATH: /usr/local/ACE_wrappers/bin
 PATH: /usr/local/ACE_wrappers/lib
 PATH: /usr/lib64/jvm/jre-1.6.0-ibm/bin
 PATH: /usr/bin
 PATH: /opt/CollabNet_Subversion/bin
 PATH: /usr/local/apache2/bin
 PATH: /home/nkenglen/bin
 PATH: /usr/sbin
 PATH: /sbin
 PATH: /usr/local/valgrind/3.7.0/bin
 PATH: /usr/local/Parasoft/parasoft/test/9.2
 PATH: /usr/local/Parasoft/parasoft/cpptest/9.2
 PATH: /opt/tibco/tibrv/8.4/bin
 PATH: /usr/local/qt/bin
 PATH: /usr/local/ant/bin
 PATH: /usr/local/eXtremeDB/host/bin
 PATH: /usr/local/eXtremeDB/target/bin
 PATH: /usr/local/xerces-c-src_2_8_0/bin
 PATH: /usr/local/RTI/ndds.4.5e/scripts
 PATH: /usr/local/ACE_wrappers/bin
 PATH: /usr/local/ACE_wrappers/lib
 PATH: /usr/lib64/jvm/jre-1.6.0-ibm/bin
 PATH: /usr/bin
 PATH: /opt/CollabNet_Subversion/bin
 PATH: /usr/local/apache2/bin
 PATH: /home/nkenglen/bin
 PATH: /usr/sbin
 PATH: /sbin
 PATH: /home/nkenglen/bin
 PATH: /usr/local/bin
 PATH: /usr/bin
 PATH: /bin
 PATH: /usr/bin/X11
 PATH: /usr/X11R6/bin
 PATH: /usr/games
 PATH: /usr/lib64/jvm/jre/bin
 PATH: /usr/lib/mit/bin
 PATH: /usr/lib/mit/sbin
 PATH: /usr/local/rational/releases/PurifyPlus.7.0.1.0-002/i386_linux2/bin
 PATH: /usr/local/rational/releases/PurifyPlus.7.0.1.0-002/i386_linux2/bin

 ## ----------- ##
 ## Core tests. ##
 ## ----------- ##

 configure:2324: checking whether to enable maintainer-specific portions of
 Makefiles
 configure:2333: result: no
 configure:2349: checking for sed
 configure:2368: found /usr/bin/sed
 configure:2381: result: /usr/bin/sed
 configure:2442: checking for a BSD-compatible install
 configure:2510: result: /usr/bin/install -c
 configure:2521: checking whether build environment is sane
 configure:2571: result: yes
 configure:2712: checking for a thread-safe mkdir -p
 configure:2751: result: /bin/mkdir -p
 configure:2764: checking for gawk
 configure:2780: found /usr/bin/gawk
 configure:2791: result: gawk
 configure:2802: checking whether make sets $(MAKE)
 configure:2824: result: yes
 configure:2904: checking libssh2 version
 configure:2906: result: 1.4.3
 configure:2917: checking build system type
 configure:2931: result: x86_64-unknown-linux-gnu
 configure:2951: checking host system type
 configure:2964: result: x86_64-unknown-linux-gnu
 configure:2991: autobuild project... libssh2
 configure:2997: autobuild revision... 1.4.3
 configure:3002: autobuild hostname... linux
 configure:3013: autobuild timestamp... 20131203-181235
 configure:3054: checking for style of include used by make
 configure:3082: result: GNU
 configure:3153: checking for gcc
 configure:3180: result: /usr/bin/gcc
 configure:3409: checking for C compiler version
 configure:3418: /usr/bin/gcc --version >&5
 gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]
 Copyright (C) 2008 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions. There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

 configure:3429: $? = 0
 configure:3418: /usr/bin/gcc -v >&5
 Using built-in specs.
 Target: x86_64-suse-linux
 Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
 --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-
 checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp
 --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-
 pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-
 slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-
 libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-
 runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-
 libunwind --with-cpu=generic --build=x86_64-suse-linux
 Thread model: posix
 gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
 configure:3429: $? = 0
 configure:3418: /usr/bin/gcc -V >&5
 gcc: '-V' option must have argument
 configure:3429: $? = 1
 configure:3418: /usr/bin/gcc -qversion >&5
 gcc: unrecognized option '-qversion'
 gcc: no input files
 configure:3429: $? = 1
 configure:3449: checking whether the C compiler works
 configure:3471: /usr/bin/gcc conftest.c >&5
 configure:3475: $? = 0
 configure:3523: result: yes
 configure:3526: checking for C compiler default output file name
 configure:3528: result: a.out
 configure:3534: checking for suffix of executables
 configure:3541: /usr/bin/gcc -o conftest conftest.c >&5
 configure:3545: $? = 0
 configure:3567: result:
 configure:3589: checking whether we are cross compiling
 configure:3597: /usr/bin/gcc -o conftest conftest.c >&5
 configure:3601: $? = 0
 configure:3608: ./conftest
 configure:3612: $? = 0
 configure:3627: result: no
 configure:3632: checking for suffix of object files
 configure:3654: /usr/bin/gcc -c conftest.c >&5
 configure:3658: $? = 0
 configure:3679: result: o
 configure:3683: checking whether we are using the GNU C compiler
 configure:3702: /usr/bin/gcc -c conftest.c >&5
 configure:3702: $? = 0
 configure:3711: result: yes
 configure:3720: checking whether /usr/bin/gcc accepts -g
 configure:3740: /usr/bin/gcc -c -g conftest.c >&5
 configure:3740: $? = 0
 configure:3781: result: yes
 configure:3798: checking for /usr/bin/gcc option to accept ISO C89
 configure:3861: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:3861: $? = 0
 configure:3874: result: none needed
 configure:3896: checking dependency style of /usr/bin/gcc
 configure:4007: result: gcc3
 configure:4028: checking how to run the C preprocessor
 configure:4059: /usr/bin/gcc -E conftest.c
 configure:4059: $? = 0
 configure:4073: /usr/bin/gcc -E conftest.c
 conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
 configure:4073: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "libssh2"
 | #define PACKAGE_TARNAME "libssh2"
 | #define PACKAGE_VERSION "-"
 | #define PACKAGE_STRING "libssh2 -"
 | #define PACKAGE_BUGREPORT "libssh2-devel_at_cool.haxx.se"
 | #define PACKAGE_URL ""
 | #define PACKAGE "libssh2"
 | #define VERSION "-"
 | /* end confdefs.h. */
 | #include <ac_nonexistent.h>
 configure:4098: result: /usr/bin/gcc -E
 configure:4118: /usr/bin/gcc -E conftest.c
 configure:4118: $? = 0
 configure:4132: /usr/bin/gcc -E conftest.c
 conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
 configure:4132: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "libssh2"
 | #define PACKAGE_TARNAME "libssh2"
 | #define PACKAGE_VERSION "-"
 | #define PACKAGE_STRING "libssh2 -"
 | #define PACKAGE_BUGREPORT "libssh2-devel_at_cool.haxx.se"
 | #define PACKAGE_URL ""
 | #define PACKAGE "libssh2"
 | #define VERSION "-"
 | /* end confdefs.h. */
 | #include <ac_nonexistent.h>
 configure:4161: checking for grep that handles long lines and -e
 configure:4219: result: /usr/bin/grep
 configure:4224: checking for egrep
 configure:4286: result: /usr/bin/grep -E
 configure:4291: checking for ANSI C header files
 configure:4311: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:4311: $? = 0
 configure:4384: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5
 configure:4384: $? = 0
 configure:4384: ./conftest
 configure:4384: $? = 0
 configure:4395: result: yes
 configure:4408: checking for sys/types.h
 configure:4408: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:4408: $? = 0
 configure:4408: result: yes
 configure:4408: checking for sys/stat.h
 configure:4408: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:4408: $? = 0
 configure:4408: result: yes
 configure:4408: checking for stdlib.h
 configure:4408: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:4408: $? = 0
 configure:4408: result: yes
 configure:4408: checking for string.h
 configure:4408: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:4408: $? = 0
 configure:4408: result: yes
 configure:4408: checking for memory.h
 configure:4408: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:4408: $? = 0
 configure:4408: result: yes
 configure:4408: checking for strings.h
 configure:4408: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:4408: $? = 0
 configure:4408: result: yes
 configure:4408: checking for inttypes.h
 configure:4408: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:4408: $? = 0
 configure:4408: result: yes
 configure:4408: checking for stdint.h
 configure:4408: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:4408: $? = 0
 configure:4408: result: yes
 configure:4408: checking for unistd.h
 configure:4408: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:4408: $? = 0
 configure:4408: result: yes
 configure:4420: checking for long long
 configure:4420: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:4420: $? = 0
 configure:4420: /usr/bin/gcc -c -g -O2 conftest.c >&5
 conftest.c: In function 'main':
 conftest.c:57: error: expected expression before ')' token
 configure:4420: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "libssh2"
 | #define PACKAGE_TARNAME "libssh2"
 | #define PACKAGE_VERSION "-"
 | #define PACKAGE_STRING "libssh2 -"
 | #define PACKAGE_BUGREPORT "libssh2-devel_at_cool.haxx.se"
 | #define PACKAGE_URL ""
 | #define PACKAGE "libssh2"
 | #define VERSION "-"
 | #define STDC_HEADERS 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_SYS_STAT_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_MEMORY_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_STDINT_H 1
 | #define HAVE_UNISTD_H 1
 | /* end confdefs.h. */
 | #include <stdio.h>
 | #ifdef HAVE_SYS_TYPES_H
 | # include <sys/types.h>
 | #endif
 | #ifdef HAVE_SYS_STAT_H
 | # include <sys/stat.h>
 | #endif
 | #ifdef STDC_HEADERS
 | # include <stdlib.h>
 | # include <stddef.h>
 | #else
 | # ifdef HAVE_STDLIB_H
 | # include <stdlib.h>
 | # endif
 | #endif
 | #ifdef HAVE_STRING_H
 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 | # include <memory.h>
 | # endif
 | # include <string.h>
 | #endif
 | #ifdef HAVE_STRINGS_H
 | # include <strings.h>
 | #endif
 | #ifdef HAVE_INTTYPES_H
 | # include <inttypes.h>
 | #endif
 | #ifdef HAVE_STDINT_H
 | # include <stdint.h>
 | #endif
 | #ifdef HAVE_UNISTD_H
 | # include <unistd.h>
 | #endif
 | int
 | main ()
 | {
 | if (sizeof ((long long)))
 | return 0;
 | ;
 | return 0;
 | }
 configure:4420: result: yes
 configure:4432: checking if _REENTRANT is already defined
 configure:4454: /usr/bin/gcc -c -g -O2 conftest.c >&5
 conftest.c: In function 'main':
 conftest.c:32: error: 'force' undeclared (first use in this function)
 conftest.c:32: error: (Each undeclared identifier is reported only once
 conftest.c:32: error: for each function it appears in.)
 conftest.c:32: error: expected ';' before 'compilation'
 configure:4454: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "libssh2"
 | #define PACKAGE_TARNAME "libssh2"
 | #define PACKAGE_VERSION "-"
 | #define PACKAGE_STRING "libssh2 -"
 | #define PACKAGE_BUGREPORT "libssh2-devel_at_cool.haxx.se"
 | #define PACKAGE_URL ""
 | #define PACKAGE "libssh2"
 | #define VERSION "-"
 | #define STDC_HEADERS 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_SYS_STAT_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_MEMORY_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_STDINT_H 1
 | #define HAVE_UNISTD_H 1
 | #define HAVE_LONGLONG 1
 | /* end confdefs.h. */
 |
 |
 |
 | int
 | main ()
 | {
 |
 | #ifdef _REENTRANT
 | int dummy=1;
 | #else
 | force compilation error
 | #endif
 |
 | ;
 | return 0;
 | }
 |
 configure:4462: result: no
 configure:4470: checking if _REENTRANT is actually needed
 configure:4487: result: no
 configure:4492: checking if _REENTRANT is onwards defined
 configure:4509: result: no
 configure:4516: checking for library containing socket
 configure:4547: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5
 configure:4547: $? = 0
 configure:4564: result: none required
 configure:4574: checking for library containing inet_addr
 configure:4605: /usr/bin/gcc -o conftest -g -O2 conftest.c >&5
 configure:4605: $? = 0
 configure:4622: result: none required
 configure:4681: checking for gcc
 configure:4708: result: /usr/bin/gcc
 configure:4937: checking for C compiler version
 configure:4946: /usr/bin/gcc --version >&5
 gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]
 Copyright (C) 2008 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions. There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

 configure:4957: $? = 0
 configure:4946: /usr/bin/gcc -v >&5
 Using built-in specs.
 Target: x86_64-suse-linux
 Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
 --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-
 checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp
 --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-
 pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-
 slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-
 libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-
 runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-
 libunwind --with-cpu=generic --build=x86_64-suse-linux
 Thread model: posix
 gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
 configure:4957: $? = 0
 configure:4946: /usr/bin/gcc -V >&5
 gcc: '-V' option must have argument
 configure:4957: $? = 1
 configure:4946: /usr/bin/gcc -qversion >&5
 gcc: unrecognized option '-qversion'
 gcc: no input files
 configure:4957: $? = 1
 configure:4961: checking whether we are using the GNU C compiler
 configure:4989: result: yes
 configure:4998: checking whether /usr/bin/gcc accepts -g
 configure:5059: result: yes
 configure:5076: checking for /usr/bin/gcc option to accept ISO C89
 configure:5152: result: none needed
 configure:5174: checking dependency style of /usr/bin/gcc
 configure:5285: result: gcc3
 configure:5301: checking whether ln -s works
 configure:5305: result: yes
 configure:5312: checking whether make sets $(MAKE)
 configure:5334: result: yes
 configure:5347: checking for sshd
 configure:5365: found /usr/sbin/sshd
 configure:5377: result: /usr/sbin/sshd
 configure:5745: checking how to print strings
 configure:5772: result: printf
 configure:5793: checking for a sed that does not truncate output
 configure:5857: result: /usr/bin/sed
 configure:5875: checking for fgrep
 configure:5937: result: /usr/bin/grep -F
 configure:5972: checking for ld used by /usr/bin/gcc
 configure:6039: result: /usr/x86_64-suse-linux/bin/ld
 configure:6046: checking if the linker (/usr/x86_64-suse-linux/bin/ld) is
 GNU ld
 configure:6061: result: yes
 configure:6073: checking for BSD- or MS-compatible name lister (nm)
 configure:6122: result: /usr/bin/nm -B
 configure:6252: checking the name lister (/usr/bin/nm -B) interface
 configure:6259: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:6262: /usr/bin/nm -B "conftest.o"
 configure:6265: output
 0000000000000000 B some_variable
 configure:6272: result: BSD nm
 configure:6276: checking the maximum length of command line arguments
 configure:6406: result: 1572864
 configure:6423: checking whether the shell understands some XSI constructs
 configure:6433: result: yes
 configure:6437: checking whether the shell understands "+="
 configure:6443: result: yes
 configure:6478: checking how to convert x86_64-unknown-linux-gnu file
 names to x86_64-unknown-linux-gnu format
 configure:6518: result: func_convert_file_noop
 configure:6525: checking how to convert x86_64-unknown-linux-gnu file
 names to toolchain format
 configure:6545: result: func_convert_file_noop
 configure:6552: checking for /usr/x86_64-suse-linux/bin/ld option to
 reload object files
 configure:6559: result: -r
 configure:6633: checking for objdump
 configure:6660: result: objdump
 configure:6689: checking how to recognize dependent libraries
 configure:6887: result: pass_all
 configure:6972: checking for dlltool
 configure:6999: result: dlltool
 configure:7029: checking how to associate runtime and link libraries
 configure:7056: result: printf %s\n
 configure:7116: checking for ar
 configure:7132: found /usr/bin/ar
 configure:7143: result: ar
 configure:7180: checking for archiver @FILE support
 configure:7197: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:7197: $? = 0
 configure:7200: ar cru libconftest.a @conftest.lst >&5
 configure:7203: $? = 0
 configure:7208: ar cru libconftest.a @conftest.lst >&5
 ar: conftest.o: No such file or directory
 configure:7211: $? = 1
 configure:7223: result: @
 configure:7281: checking for strip
 configure:7297: found /usr/bin/strip
 configure:7308: result: strip
 configure:7380: checking for ranlib
 configure:7396: found /usr/bin/ranlib
 configure:7407: result: ranlib
 configure:7509: checking command to parse /usr/bin/nm -B output from
 /usr/bin/gcc object
 configure:7629: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:7632: $? = 0
 configure:7636: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[
 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2
 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
 configure:7639: $? = 0
 configure:7705: /usr/bin/gcc -o conftest -g -O2 conftest.c conftstm.o
>&5
 configure:7708: $? = 0
 configure:7746: result: ok
 configure:7783: checking for sysroot
 configure:7813: result: no
 configure:7890: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:7893: $? = 0
 configure:8069: checking for mt
 configure:8085: found /usr/bin/mt
 configure:8096: result: mt
 configure:8119: checking if mt is a manifest tool
 configure:8125: mt '-?'
 mt: invalid option -- ?
 configure:8133: result: no
 configure:8772: checking for dlfcn.h
 configure:8772: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:8772: $? = 0
 configure:8772: result: yes
 configure:8976: checking for objdir
 configure:8991: result: .libs
 configure:9262: checking if /usr/bin/gcc supports -fno-rtti -fno-
 exceptions
 configure:9280: /usr/bin/gcc -c -g -O2 -fno-rtti -fno-exceptions
 conftest.c >&5
 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but
 not for C
 configure:9284: $? = 0
 configure:9297: result: no
 configure:9624: checking for /usr/bin/gcc option to produce PIC
 configure:9631: result: -fPIC -DPIC
 configure:9639: checking if /usr/bin/gcc PIC flag -fPIC -DPIC works
 configure:9657: /usr/bin/gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
 configure:9661: $? = 0
 configure:9674: result: yes
 configure:9703: checking if /usr/bin/gcc static flag -static works
 configure:9731: result: yes
 configure:9746: checking if /usr/bin/gcc supports -c -o file.o
 configure:9767: /usr/bin/gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
 configure:9771: $? = 0
 configure:9793: result: yes
 configure:9801: checking if /usr/bin/gcc supports -c -o file.o
 configure:9848: result: yes
 configure:9881: checking whether the /usr/bin/gcc linker (/usr/x86_64
 -suse-linux/bin/ld -m elf_x86_64) supports shared libraries
 configure:11038: result: yes
 configure:11075: checking whether -lc should be explicitly linked in
 configure:11083: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:11086: $? = 0
 configure:11101: /usr/bin/gcc -shared -fPIC -DPIC conftest.o -v
 -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc
 \>/dev/null 2\>\&1
 configure:11104: $? = 0
 configure:11118: result: no
 configure:11278: checking dynamic linker characteristics
 configure:11778: /usr/bin/gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo
 conftest.c >&5
 configure:11778: $? = 0
 configure:12012: result: GNU/Linux ld.so
 configure:12119: checking how to hardcode library paths into programs
 configure:12144: result: immediate
 configure:12684: checking whether stripping libraries is possible
 configure:12689: result: yes
 configure:12724: checking if libtool supports shared libraries
 configure:12726: result: yes
 configure:12729: checking whether to build shared libraries
 configure:12750: result: yes
 configure:12753: checking whether to build static libraries
 configure:12757: result: yes
 configure:12794: checking whether byte ordering is bigendian
 configure:12809: /usr/bin/gcc -c -g -O2 conftest.c >&5
 conftest.c:25: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before 'a'
 configure:12809: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "libssh2"
 | #define PACKAGE_TARNAME "libssh2"
 | #define PACKAGE_VERSION "-"
 | #define PACKAGE_STRING "libssh2 -"
 | #define PACKAGE_BUGREPORT "libssh2-devel_at_cool.haxx.se"
 | #define PACKAGE_URL ""
 | #define PACKAGE "libssh2"
 | #define VERSION "-"
 | #define STDC_HEADERS 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_SYS_STAT_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_MEMORY_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_STDINT_H 1
 | #define HAVE_UNISTD_H 1
 | #define HAVE_LONGLONG 1
 | #define HAVE_DLFCN_H 1
 | #define LT_OBJDIR ".libs/"
 | /* end confdefs.h. */
 | #ifndef __APPLE_CC__
 | not a universal capable compiler
 | #endif
 | typedef int dummy;
 |
 configure:12854: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:12854: $? = 0
 configure:12872: /usr/bin/gcc -c -g -O2 conftest.c >&5
 conftest.c: In function 'main':
 conftest.c:31: error: 'not' undeclared (first use in this function)
 conftest.c:31: error: (Each undeclared identifier is reported only once
 conftest.c:31: error: for each function it appears in.)
 conftest.c:31: error: expected ';' before 'big'
 configure:12872: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "libssh2"
 | #define PACKAGE_TARNAME "libssh2"
 | #define PACKAGE_VERSION "-"
 | #define PACKAGE_STRING "libssh2 -"
 | #define PACKAGE_BUGREPORT "libssh2-devel_at_cool.haxx.se"
 | #define PACKAGE_URL ""
 | #define PACKAGE "libssh2"
 | #define VERSION "-"
 | #define STDC_HEADERS 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_SYS_STAT_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_MEMORY_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_STDINT_H 1
 | #define HAVE_UNISTD_H 1
 | #define HAVE_LONGLONG 1
 | #define HAVE_DLFCN_H 1
 | #define LT_OBJDIR ".libs/"
 | /* end confdefs.h. */
 | #include <sys/types.h>
 | #include <sys/param.h>
 |
 | int
 | main ()
 | {
 | #if BYTE_ORDER != BIG_ENDIAN
 | not big endian
 | #endif
 |
 | ;
 | return 0;
 | }
 configure:13000: result: no
 configure:13026: checking for special C compiler options needed for large
 files
 configure:13071: result: no
 configure:13077: checking for _FILE_OFFSET_BITS value needed for large
 files
 configure:13102: /usr/bin/gcc -c -g -O2 conftest.c >&5
 configure:13102: $? = 0
 configure:13134: result: no
 configure:14483: error: cannot find OpenSSL or Libgcrypt,
 try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH

 ## ---------------- ##
 ## Cache variables. ##
 ## ---------------- ##

 ac_cv_build=x86_64-unknown-linux-gnu
 ac_cv_c_bigendian=no
 ac_cv_c_compiler_gnu=yes
 ac_cv_env_CC_set=set
 ac_cv_env_CC_value=/usr/bin/gcc
 ac_cv_env_CFLAGS_set=
 ac_cv_env_CFLAGS_value=
 ac_cv_env_CPPFLAGS_set=
 ac_cv_env_CPPFLAGS_value=
 ac_cv_env_CPP_set=
 ac_cv_env_CPP_value=
 ac_cv_env_LDFLAGS_set=
 ac_cv_env_LDFLAGS_value=
 ac_cv_env_LIBS_set=
 ac_cv_env_LIBS_value=
 ac_cv_env_build_alias_set=
 ac_cv_env_build_alias_value=
 ac_cv_env_host_alias_set=
 ac_cv_env_host_alias_value=
 ac_cv_env_target_alias_set=
 ac_cv_env_target_alias_value=
 ac_cv_header_dlfcn_h=yes
 ac_cv_header_inttypes_h=yes
 ac_cv_header_memory_h=yes
 ac_cv_header_stdc=yes
 ac_cv_header_stdint_h=yes
 ac_cv_header_stdlib_h=yes
 ac_cv_header_string_h=yes
 ac_cv_header_strings_h=yes
 ac_cv_header_sys_stat_h=yes
 ac_cv_header_sys_types_h=yes
 ac_cv_header_unistd_h=yes
 ac_cv_host=x86_64-unknown-linux-gnu
 ac_cv_objext=o
 ac_cv_path_EGREP='/usr/bin/grep -E'
 ac_cv_path_FGREP='/usr/bin/grep -F'
 ac_cv_path_GREP=/usr/bin/grep
 ac_cv_path_SED=/usr/bin/sed
 ac_cv_path_SSHD=/usr/sbin/sshd
 ac_cv_path_install='/usr/bin/install -c'
 ac_cv_path_mkdir=/bin/mkdir
 ac_cv_prog_AWK=gawk
 ac_cv_prog_CPP='/usr/bin/gcc -E'
 ac_cv_prog_ac_ct_AR=ar
 ac_cv_prog_ac_ct_CC=/usr/bin/gcc
 ac_cv_prog_ac_ct_DLLTOOL=dlltool
 ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
 ac_cv_prog_ac_ct_OBJDUMP=objdump
 ac_cv_prog_ac_ct_RANLIB=ranlib
 ac_cv_prog_ac_ct_STRIP=strip
 ac_cv_prog_cc_c89=
 ac_cv_prog_cc_g=yes
 ac_cv_prog_make_make_set=yes
 ac_cv_search_inet_addr='none required'
 ac_cv_search_socket='none required'
 ac_cv_sys_file_offset_bits=no
 ac_cv_sys_largefile_CC=no
 ac_cv_type_long_long=yes
 am_cv_CC_dependencies_compiler_type=gcc3
 lt_cv_ar_at_file=@
 lt_cv_archive_cmds_need_lc=no
 lt_cv_deplibs_check_method=pass_all
 lt_cv_file_magic_cmd='$MAGIC_CMD'
 lt_cv_file_magic_test_file=
 lt_cv_ld_reload_flag=-r
 lt_cv_nm_interface='BSD nm'
 lt_cv_objdir=.libs
 lt_cv_path_LD=/usr/x86_64-suse-linux/bin/ld
 lt_cv_path_NM='/usr/bin/nm -B'
 lt_cv_path_mainfest_tool=no
 lt_cv_prog_compiler_c_o=yes
 lt_cv_prog_compiler_pic='-fPIC -DPIC'
 lt_cv_prog_compiler_pic_works=yes
 lt_cv_prog_compiler_rtti_exceptions=no
 lt_cv_prog_compiler_static_works=yes
 lt_cv_prog_gnu_ld=yes
 lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
 lt_cv_shlibpath_overrides_runpath=yes
 lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[
 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-
 Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
 lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[
 ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^
 ]*\)$/ {"\2", (void *) \&\2},/p'\'''
 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^:
 \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^
 ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]*
 \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
 lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int
 \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
 lt_cv_sys_max_cmd_len=1572864
 lt_cv_to_host_file_cmd=func_convert_file_noop
 lt_cv_to_tool_file_cmd=func_convert_file_noop

 ## ----------------- ##
 ## Output variables. ##
 ## ----------------- ##

 ACLOCAL='${SHELL} /home/nkenglen/Downloads/ssh2/libssh2-1.4.3/missing
 --run aclocal-1.11'
 ALLOCA=''
 AMDEPBACKSLASH='\'
 AMDEP_FALSE='#'
 AMDEP_TRUE=''
 AMTAR='$${TAR-tar}'
 AR='ar'
 AS='as'
 AUTOCONF='${SHELL} /home/nkenglen/Downloads/ssh2/libssh2-1.4.3/missing
 --run autoconf'
 AUTOHEADER='${SHELL} /home/nkenglen/Downloads/ssh2/libssh2-1.4.3/missing
 --run autoheader'
 AUTOMAKE='${SHELL} /home/nkenglen/Downloads/ssh2/libssh2-1.4.3/missing
 --run automake-1.11'
 AWK='gawk'
 BUILD_EXAMPLES_FALSE=''
 BUILD_EXAMPLES_TRUE=''
 CC='/usr/bin/gcc'
 CCDEPMODE='depmode=gcc3'
 CFLAGS='-g -O2'
 CPP='/usr/bin/gcc -E'
 CPPFLAGS=''
 CYGPATH_W='echo'
 DEFS=''
 DEPDIR='.deps'
 DLLTOOL='dlltool'
 DSYMUTIL=''
 DUMPBIN=''
 ECHO_C=''
 ECHO_N='-n'
 ECHO_T=''
 EGREP='/usr/bin/grep -E'
 EXEEXT=''
 FGREP='/usr/bin/grep -F'
 GREP='/usr/bin/grep'
 HAVE_LIBGCRYPT=''
 HAVE_LIBSSL=''
 HAVE_LIBZ=''
 HAVE_SYS_UN_H_FALSE=''
 HAVE_SYS_UN_H_TRUE=''
 INSTALL_DATA='${INSTALL} -m 644'
 INSTALL_PROGRAM='${INSTALL}'
 INSTALL_SCRIPT='${INSTALL}'
 INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
 LD='/usr/x86_64-suse-linux/bin/ld -m elf_x86_64'
 LDFLAGS=''
 LIBGCRYPT=''
 LIBGCRYPT_FALSE=''
 LIBGCRYPT_PREFIX=''
 LIBGCRYPT_TRUE=''
 LIBOBJS=''
 LIBS=''
 LIBSREQUIRED=''
 LIBSSH2VER='1.4.3'
 LIBSSL=''
 LIBSSL_PREFIX=''
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 LIBZ=''
 LIBZ_PREFIX=''
 LIPO=''
 LN_S='ln -s'
 LTLIBGCRYPT=''
 LTLIBOBJS=''
 LTLIBSSL=''
 LTLIBZ=''
 MAINT='#'
 MAINTAINER_MODE_FALSE=''
 MAINTAINER_MODE_TRUE='#'
 MAKEINFO='${SHELL} /home/nkenglen/Downloads/ssh2/libssh2-1.4.3/missing
 --run makeinfo'
 MANIFEST_TOOL=':'
 MKDIR_P='/bin/mkdir -p'
 NM='/usr/bin/nm -B'
 NMEDIT=''
 OBJDUMP='objdump'
 OBJEXT='o'
 OTOOL64=''
 OTOOL=''
 PACKAGE='libssh2'
 PACKAGE_BUGREPORT='libssh2-devel_at_cool.haxx.se'
 PACKAGE_NAME='libssh2'
 PACKAGE_STRING='libssh2 -'
 PACKAGE_TARNAME='libssh2'
 PACKAGE_URL=''
 PACKAGE_VERSION='-'
 PATH_SEPARATOR=':'
 RANLIB='ranlib'
 SED='/usr/bin/sed'
 SET_MAKE=''
 SHELL='/bin/sh'
 SSHD='/usr/sbin/sshd'
 SSHD_FALSE='#'
 SSHD_TRUE=''
 STRIP='strip'
 VERSION='-'
 ac_ct_AR='ar'
 ac_ct_CC='/usr/bin/gcc'
 ac_ct_DUMPBIN=''
 am__EXEEXT_FALSE=''
 am__EXEEXT_TRUE=''
 am__fastdepCC_FALSE='#'
 am__fastdepCC_TRUE=''
 am__include='include'
 am__isrc=''
 am__leading_dot='.'
 am__nodep='_no'
 am__quote=''
 am__tar='$${TAR-tar} chof - "$$tardir"'
 am__untar='$${TAR-tar} xf -'
 bindir='${exec_prefix}/bin'
 build='x86_64-unknown-linux-gnu'
 build_alias=''
 build_cpu='x86_64'
 build_os='linux-gnu'
 build_vendor='unknown'
 datadir='${datarootdir}'
 datarootdir='${prefix}/share'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 dvidir='${docdir}'
 exec_prefix='NONE'
 host='x86_64-unknown-linux-gnu'
 host_alias=''
 host_cpu='x86_64'
 host_os='linux-gnu'
 host_vendor='unknown'
 htmldir='${docdir}'
 includedir='${prefix}/include'
 infodir='${datarootdir}/info'
 install_sh='${SHELL} /home/nkenglen/Downloads/ssh2/libssh2-1.4.3/install-
 sh'
 libdir='${exec_prefix}/lib'
 libexecdir='${exec_prefix}/libexec'
 localedir='${datarootdir}/locale'
 localstatedir='${prefix}/var'
 mandir='${datarootdir}/man'
 mkdir_p='/bin/mkdir -p'
 oldincludedir='/usr/include'
 pdfdir='${docdir}'
 prefix='NONE'
 program_transform_name='s,x,x,'
 psdir='${docdir}'
 sbindir='${exec_prefix}/sbin'
 sharedstatedir='${prefix}/com'
 sysconfdir='${prefix}/etc'
 target_alias=''

 ## ----------- ##
 ## confdefs.h. ##
 ## ----------- ##

 /* confdefs.h */
 #define PACKAGE_NAME "libssh2"
 #define PACKAGE_TARNAME "libssh2"
 #define PACKAGE_VERSION "-"
 #define PACKAGE_STRING "libssh2 -"
 #define PACKAGE_BUGREPORT "libssh2-devel_at_cool.haxx.se"
 #define PACKAGE_URL ""
 #define PACKAGE "libssh2"
 #define VERSION "-"
 #define STDC_HEADERS 1
 #define HAVE_SYS_TYPES_H 1
 #define HAVE_SYS_STAT_H 1
 #define HAVE_STDLIB_H 1
 #define HAVE_STRING_H 1
 #define HAVE_MEMORY_H 1
 #define HAVE_STRINGS_H 1
 #define HAVE_INTTYPES_H 1
 #define HAVE_STDINT_H 1
 #define HAVE_UNISTD_H 1
 #define HAVE_LONGLONG 1
 #define HAVE_DLFCN_H 1
 #define LT_OBJDIR ".libs/"

 configure: exit 1

-- 
Ticket URL: <https://trac.libssh2.org/ticket/280>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-12-10