Subject: [libssh2] [ libssh2-Bugs-1237268 ] Problem building in HP-UX

[libssh2] [ libssh2-Bugs-1237268 ] Problem building in HP-UX

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 07 Aug 2007 02:05:29 -0700

Bugs item #1237268, was opened at 2005-07-13 09:41
Message generated for change (Settings changed) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1237268&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: hannito (hannito)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem building in HP-UX

Initial Comment:
Hi,

I am trying to build libssh2 on HP-UX, but am running
into some difficulties:

[somehost]build/libssh2-0.11 $ ./configure
--with-openssl=/opt/openssl --with-libz=/opt/zlib
--prefix=/opt/libssh2
checking build system type... cpp: "", line 0: error
4021: Unable to stat .
hppa2.0w-hp-hpux11.00
checking host system type... hppa2.0w-hp-hpux11.00
checking for gcc... gcc
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... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for socket in -lsocket... no
checking for ceil in -lm... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler...
(cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached)
none needed
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking whether byte ordering is bigendian... yes
checking for pkg-config... no
checking for OpenSSL... Using explicit path /opt/openssl
checking for libz... Found in /opt/zlib/include
/opt/zlib/lib
checking how to run the C preprocessor... gcc -E
checking for egrep... 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... no
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/select.h usability... no
checking sys/select.h presence... no
checking for sys/select.h... no
checking for poll... yes
checking for gettimeofday... yes
checking for select... yes
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/libssh2_config.h
config.status: include/libssh2_config.h is unchanged
[isoit652]build/libssh2-0.11 $ make all
make[1]: Entering directory
`/home/hanno/build/libssh2-0.11/src'
gcc -o channel.o channel.c -c -g -O2
-I/opt/openssl/include -I/opt/zlib/include -Wall -g
-I../include/ -fPIC
In file included from channel.c:38:
../include/libssh2_priv.h:206: error:
`MD5_DIGEST_LENGTH' undeclared here (not in a function)
../include/libssh2_priv.h:209: error:
`SHA_DIGEST_LENGTH' undeclared here (not in a function)
make[1]: *** [channel.o] Error 1
make[1]: Leaving directory
`/home/hanno/build/libssh2-0.11/src'
make: *** [all] Error 1
[somehost]build/libssh2-0.11 $

All paths appear to be correct.

Version information:

 - OpenSSL 0.9.8
 - zlib 1.2.2

Compiler is gcc (GCC) 3.3.1

Any help would be well appreciated.

Thanks a lot and regards, hannito

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2007-08-07 11:05

Message:
Logged In: YES
user_id=1110
Originator: NO

this is a bug, but it no longer applies

----------------------------------------------------------------------

Comment By: loquack (loquack)
Date: 2005-10-20 22:24

Message:
Logged In: YES
user_id=1365296

I am ahving the same issue on OpenBsd 3.6
checking build system type... i386-unknown-openbsd3.6
checking host system type... i386-unknown-openbsd3.6
checking for gcc... gcc
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... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for socket in -lsocket... no
checking for ceil in -lm... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler...
(cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none
needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking whether byte ordering is bigendian... no
checking for pkg-config... /usr/local/bin/pkg-config
checking for OpenSSL... /usr/local/ssl/include /usr/local/ssl/lib
checking for libz... Found in /usr/include /usr/lib
checking how to run the C preprocessor... gcc -E
checking for egrep... 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... no
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for poll... yes
checking for gettimeofday... yes
checking for select... yes
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/libssh2_config.h
config.status: include/libssh2_config.h is unchanged
gcc -o channel.o channel.c -c -g -O2 -I/usr/local/ssl/include -
I/usr/include -Wall -g -I../include/ -fPIC
In file included from channel.c:38:
../include/libssh2_priv.h:206: `MD5_DIGEST_LENGTH'
undeclared here (not in a function)
../include/libssh2_priv.h:209: `SHA_DIGEST_LENGTH'
undeclared here (not in a function)
*** Error code 1

Stop in /home/jrandall/libssh2-0.11/src (line 16 of Makefile).
*** Error code 1

Stop in /home/jrandall/libssh2-0.11 (line 20 of Makefile).

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1237268&group_id=125852

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-08-07