cURL / Mailing Lists / curl-users / Single Mail

curl-users

cURL with SSL on Cobalt RaQ2

From: SteveO _at_ Ventforth Communications Ltd <_at_>
Date: Thu, 16 May 2002 14:43:39 +0100

Hey all!

I've have been trying to sort this problem out for days now... Can any
one help????

I'm trying to install cURL on a RaQ2 with SSL support. The server is SSL
enabled and OpenSSL is installed in /usr/local/ssl. The problem is, cURL
seems to find all the SSL files, but when I run "make test", the SSL
server isn't found. Any ideas anyone??

I do get "bind: Address already in use at ./httpserver.pl line 31."
appear when I run "make test" but all the tests run and appear ok.

Below is the output of ./configure

[root curl-7.9]# ./configure --prefix=/usr/local/curl
--with-ssl=/usr/local/ssl
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build system type... mipsel-unknown-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking dependency style of gcc... (cached) none
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic ELF
[0-9][0-9]*-bit
[LM]SB (shared object|dynamic lib )
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for file... /usr/bin/file
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking whether make sets ${MAKE}... (cached) yes
checking whether to enable debug options... no
checking whether to enable ipv6... no
checking for gethostbyname... yes
checking for strcasecmp... yes
checking for connect... yes
checking for gethostname... yes
checking for dlclose... no
checking for dlopen in -ldl... yes
checking for "/dev/urandom"... yes
checking if Kerberos4 support is requested... no
checking for CRYPTO_lock in -lcrypto... yes
checking for CRYPTO_add_lock in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking for openssl/x509.h... yes
checking for openssl/rsa.h... yes
checking for openssl/crypto.h... yes
checking for openssl/pem.h... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking for RAND_status... yes
checking for RAND_screen... no
checking for RAND_egd... yes
checking if "localhost" resolves... yes
checking for gethostbyname_r... yes
checking if gethostbyname_r takes 3 arguments... no
checking if gethostbyname_r with -D_REENTRANT takes 3 arguments... no
checking if gethostbyname_r takes 5 arguments... no
checking if gethostbyname_r takes 6 arguments... yes
checking for gethostbyaddr_r... yes
checking if gethostbyaddr_r takes 5 arguments... no
checking if gethostbyaddr_r with -D_REENTRANT takes 5 arguments... no
checking if gethostbyaddr_r takes 7 arguments... no
checking if gethostbyaddr_r takes 8 arguments... yes
checking for inet_ntoa_r... no
checking for localtime_r... yes
checking whether localtime_r is declared... yes
checking for ANSI C header files... yes
checking for unistd.h... yes
checking for malloc.h... yes
checking for stdlib.h... yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for netinet/if_ether.h... yes
checking for netdb.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/sockio.h... no
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for sys/time.h... yes
checking for getopt.h... yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for sgtty.h... yes
checking for fcntl.h... yes
checking for dlfcn.h... (cached) yes
checking for alloca.h... yes
checking for winsock.h... no
checking for time.h... yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... (cached) yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... Yes
checking for long double... yes
checking size of long double... 8
checking for long long... yes
checking size of long long... 8
checking for ssize_t... yes
checking for socklen_t... yes
checking return type of signal handlers... void
checking for socket... yes
checking for select... yes
checking for strdup... yes
checking for strstr... yes
checking for strtok_r... yes
checking for strftime... yes
checking for uname... yes
checking for strcasecmp... (cached) yes
checking for stricmp... no
checking for strcmpi... no
checking for gethostname... (cached) yes
checking for gethostbyaddr... yes
checking for getservbyname... yes
checking for gettimeofday... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for tcsetattr... yes
checking for tcgetattr... yes
checking for perror... yes
checking for closesocket... no
checking for setvbuf... yes
checking for sigaction... yes
checking for signal... yes
checking for getpass_r... no
checking for strlcat... no
checking for getpwuid... yes
checking for geteuid... yes
checking for dlopen... yes
checking for utime... yes
checking for perl... /usr/bin/perl
checking for gnroff... /usr/bin/gnroff
checking for bison... bison -y
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/examples/Makefile
config.status: creating include/Makefile
config.status: creating include/curl/Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating tests/Makefile
config.status: creating tests/data/Makefile
config.status: creating packages/Makefile
config.status: creating packages/Win32/Makefile
config.status: creating packages/Linux/Makefile
config.status: creating packages/Linux/RPM/Makefile
config.status: creating packages/Linux/RPM/curl.spec
config.status: creating packages/Linux/RPM/curl-ssl.spec
config.status: creating packages/Solaris/Makefile
config.status: creating curl-config
config.status: creating config.h
config.status: creating src/config.h
config.status: src/config.h is unchanged

[root curl-7.9]# make test
make[1]: Entering directory
`/home/sites/home/users/admin/curl-7.9/tests'
make[2]: Entering directory
`/home/sites/home/users/admin/curl-7.9/tests/data'
[ -f test1 ] || ln -s ./test* .
make[2]: Leaving directory
`/home/sites/home/users/admin/curl-7.9/tests/data'
srcdir=. /usr/bin/perl -I. ./runtests.pl -s -a
********* System characteristics ********
* curl 7.9 (mipsel-unknown-linux-gnu)
*
* Host: charlie.ventforth.net
* System: Linux charlie.ventforth.net 2.0.34C52_SK #1 Tue Nov 30
18:14:40 PST 19
99 mips unknown
* Memory debugging: OFF
* HTTPS server: OFF
* FTPS server: OFF
* libcurl SSL: OFF
*****************************************
bind: Address already in use at ./httpserver.pl line 31.

Kind Regards
Steve O'Neill

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth_at_sourceforge.net
Received on 2002-05-16