Ticket #4 (closed defect)

Opened 12 years ago

Last modified 10 years ago

Problem building in HP-UX

Reported by: hannito Owned by:
Priority: normal Milestone:
Component: Version:
Keywords: Cc: hannito, loquack, bagder
Blocked By: Blocks:

Description

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

Change History

comment:1 Changed 12 years ago by loquack

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).

comment:2 Changed 10 years ago by bagder

this is a bug, but it no longer applies

Note: See TracTickets for help on using tickets.