$ cd libssh2-1.4.1 $ ./configure CC=cc CFLAGS=-xarch=v9 \ > --prefix=/ctxtools/cortex/local/64bit \ > --disable-shared --enable-static \ > --with-openssl --without-libgcrypt \ > --with-libssl-prefix=/ctxtools/cortex/local/64bit/ \ > --with-libz-prefix=/ctxtools/cortex/local/64bit checking whether to enable maintainer-specific portions of Makefiles... no checking for sed... /usr/bin/sed checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking libssh2 version... 1.4.1 checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 configure: autobuild project... libssh2 configure: autobuild revision... 1.4.1 configure: autobuild hostname... chnsun01 configure: autobuild timestamp... 20120416-132538 checking for style of include used by make... GNU checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... none checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... /usr/xpg4/bin/grep checking for egrep... /usr/xpg4/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for long long... yes checking if _REENTRANT is already defined... no checking if _REENTRANT is actually needed... yes checking if _REENTRANT is onwards defined... yes checking for library containing socket... -lsocket checking for library containing inet_addr... -lnsl checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) no checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking dependency style of cc... (cached) none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for sshd... no checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/xpg4/bin/grep -F checking for non-GNU ld... /usr/ccs/bin//ld checking if the linker (/usr/ccs/bin//ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin//nm -p checking the name lister (/usr/ccs/bin//nm -p) interface... BSD nm checking the maximum length of command line arguments... 786240 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /usr/ccs/bin//ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/ccs/bin//nm -p output from cc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking for cc option to produce PIC... -KPIC -DPIC checking if cc PIC flag -KPIC -DPIC works... yes checking if cc static flag -Bstatic works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/ccs/bin//ld -64) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking whether byte ordering is bigendian... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for non-GNU ld... /usr/ccs/bin//ld -64 checking if the linker (/usr/ccs/bin//ld -64) is GNU ld... no checking for shared library run path origin... done checking for libssl... no configure: error: cannot find OpenSSL or Libgcrypt, try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH $