Subject: [libssh2] #210: make check and install fail on Solaris (OpenIndiana x86)

[libssh2] #210: make check and install fail on Solaris (OpenIndiana x86)

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Mon, 14 Feb 2011 20:31:25 -0000

#210: make check and install fail on Solaris (OpenIndiana x86)
--------------------------+-------------------------------------------------
  Reporter: dzejk | Owner:
      Type: build error | Status: new
  Priority: normal | Milestone: 1.2.7
 Component: tests | Version: 1.2.7
  Keywords: | Blocks:
Blocked By: |
--------------------------+-------------------------------------------------
 ''System:''
 uname -a
 SunOS hostname 5.11 oi_148 i86pc i386 i86pc

 ''Compiler:''
 gcc -v
 Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
 Configured with: /export/sfw-b148/sfw-
 gate/usr/src/cmd/gcc/gcc-3.4.3/configure -
 -prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-
 ld=/usr/ccs/bin
 /ld --without-gnu-ld --enable-languages=c,c++,f77,objc --enable-shared
 Thread model: posix
 gcc version 3.4.3 (csl-sol210-3_4-20050802)

 ''First I installed OpenSSL 1.0.0d:''
 ./config --prefix=INST_DIR --openssldir=INST_DIR shared
 make
 make test
 make install

 ''Build and install complete successfully. Let's take a look:''
 ls INST_DIR/lib
 engines libcrypto.so libssl.a libssl.so.1.0.0
 libcrypto.a libcrypto.so.1.0.0 libssl.so pkgconfig

 ''Then I try to build LibSSH2 1.2.7:''

 ./configure --prefix=SOMEWHERE --with-libssl-prefix=INST_DIR
 ''(I give the same directory where OpenSSL installs to. lib with static
 and shared libraries is relative to it and configure detects it
 correctly)''
 make
 ''(it succeeds)''
 make check
 ''It fails. First some test cases are built, then it outputs:''
 make check-TESTS
 make[2]: Entering directory `/home/my_uname/libssh2-1.2.7/tests'
 ld.so.1: simple: fatal: libssl.so.1.0.0: open failed: No such file or
 directory
 /bin/sh: line 9: 2397: Killed
 FAIL: simple
 ===========================================
 1 of 1 tests failed
 Please report to libssh2-devel_at_cool.haxx.se
 ===========================================
 make[2]: *** [check-TESTS] Error 1
 make[2]: Leaving directory `/home/my_uname/libssh2-1.2.7/tests'
 make[1]: *** [check-am] Error 2
 make[1]: Leaving directory `/home/my_uname/libssh2-1.2.7/tests'
 make: *** [check-recursive] Error 1

 ''Anyway I attempt to install it:''
 my_uname_at_hostname:~/libssh2-1.2.7$ su
 Password:
 my_unamec_at_hostname:~/libssh2-1.2.7# make install
 make: Fatal error in reader: Makefile, line 751: Badly formed macro
 assignment

-- 
Ticket URL: <http://trac.libssh2.org/ticket/210>
libssh2 <http://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-02-14