cURL / Mailing Lists / curl-users / Single Mail

curl-users

Installation problems - please help

From: Ben Ward <bward_at_japanregistry.com>
Date: Mon, 16 Apr 2001 13:04:49 +0900

My support guy over at my ISP and I are having the
hardest time installing curl with ssl. Everytime we try to
install it like so

LDFLAGS=-L/usr/local/ssl/lib ./configure --with-ssl

it installs, but I get an

"curl: (1) SSL is disabled, https: not supported" message.

If someone could look at the config log and locations below, I would really
appreciate suggestions.

Ben

-----Original Message-----
From: Cedant Web Hosting [mailto:support_at_cedant.com]
Sent: Monday, April 16, 2001 11:17 AM
To: Ben Ward
Subject: RE: cURL with SSL support (OpenSSL)

Hello Ben,

I attempted to do some of things outlined in the FAQ apparently without
luck. I have attached the config.log file which displays the output of the
configuration. Maybe you or someone that is familiar with this software
can take a look at that to determine why this is not working.

The command I ran was as suggested by the FAQ:

LDFLAGS=-L/usr/local/ssl/lib ./configure --with-ssl

Here are the contents of the /usr/local/ssl directory:

$ ls
bin certs include lib man misc openssl.cnf private rand.dat

Here are the contents of /usr/local/ssl/lib/

$ ls
libcrypto.a libssl.a

Here are the contents of /usr/local/ssl/bin/

$ ls
c_rehash openssl ssleay

You might have someone who is familiar with OpenSSL take a look to see if
this looks correct to work with CURL.

Hope this helps.

Thank you.

--
Kurt Stauffacher
Cedant Web Hosting
At 06:52 PM 4/15/01, you wrote:
>Kurt,
>
>Thank you for reinstalling. However,
>I'm still getting the message below.
>"curl: (1) SSL is disabled, https: not supported"
>Curl isn't very smart about configuring itself without
>everything in the right place. I've included some the
>following from the faqs at http://curl.haxx.se/docs/faq.shtml.
>
>If you could check the information below and see where
>curl maybe looking for OpenSSL libs or files in the wrong
>place, I would greatly appreciate it.
>
>You can check to see if any change has corrected the problem
>at http://www.japanregistry.com/ssltest.php. There will still be a
>"curl: (1) SSL is disabled, https: not supported" message if there
>is a problem.
>
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:594: checking for a BSD compatible install
configure:647: checking whether build environment is sane
configure:704: checking whether make sets ${MAKE}
configure:750: checking for working aclocal
configure:763: checking for working autoconf
configure:776: checking for working automake
configure:789: checking for working autoheader
configure:802: checking for working makeinfo
configure:891: checking host system type
configure:912: checking build system type
configure:932: checking for ranlib
configure:962: checking for gcc
configure:1075: checking whether the C compiler (gcc  -L/usr/local/ssl/lib)
works
configure:1091: gcc -o conftest   -L/usr/local/ssl/lib conftest.c  1>&5
configure:1117: checking whether the C compiler (gcc  -L/usr/local/ssl/lib)
is a cross-compiler
configure:1122: checking whether we are using GNU C
configure:1150: checking whether gcc accepts -g
configure:1193: checking for ld used by GCC
configure:1255: checking if the linker (/usr/bin/ld) is GNU ld
configure:1271: checking for BSD-compatible nm
configure:1307: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2  conftest.c 1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2 -o out/conftest2.o  conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c
conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2  -L/usr/local/ssl/lib -static
conftest.c  1>&5
GNU ld version 2.9.1 (with BFD 2.9.1.0.24)
ltconfig:1653: checking if global_symbol_pipe works
ltconfig:1654: gcc -c -g -O2  conftest.c 1>&5
ltconfig:1657: eval "/usr/bin/nm -B conftest.o | sed -n -e
/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3
\3/p' > conftest.nm"
ltconfig:1709: gcc -o
onftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions  -L/usr/local/ssl/lib
conftest.c conftstm.o 1>&5
configure:1499: checking host system type
configure:1520: checking target system type
configure:1541: checking for gcc
configure:1654: checking whether the C compiler
(gcc -g -O2 -L/usr/local/ssl/lib) works
configure:1670: gcc -o conftest -g -O2  -L/usr/local/ssl/lib conftest.c
1>&5
configure:1696: checking whether the C compiler
(gcc -g -O2 -L/usr/local/ssl/lib) is a cross-compiler
configure:1701: checking whether we are using GNU C
configure:1729: checking whether gcc accepts -g
configure:1762: checking how to run the C preprocessor
configure:1842: checking for AIX
configure:1875: checking for special C compiler options needed for large
files
configure:1931: checking for _FILE_OFFSET_BITS value needed for large files
configure:1987: checking for _LARGEFILE_SOURCE value needed for large files
configure:2043: checking for _LARGE_FILES value needed for large files
configure:2102: checking whether make sets ${MAKE}
configure:2130: checking whether to enable debug options
configure:2164: checking whether to enable ipv6
configure:2198: gcc -o conftest -g -O2  -L/usr/local/ssl/lib conftest.c
1>&5
configure: failed program was:
#line 2184 "configure"
#include "confdefs.h"
 /* is AF_INET6 available? */
#include <sys/types.h>
#include <sys/socket.h>
main()
{
 if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
   exit(1);
 else
   exit(0);
}
configure:2288: checking for gethostbyname
configure:2515: checking for strcasecmp
configure:2654: checking for connect
configure:2750: checking for gethostname
configure:2846: checking for dlopen
configure:2892: checking for dlopen in -ldl
configure:2965: checking for /dev/urandom
configure:3045: checking if Kerberos4 support is requested
configure:3465: checking where to look for SSL
configure:3477: checking for CRYPTO_lock in -lcrypto
configure:3727: checking for RAND_status
configure:3727: checking for RAND_screen
configure:3727: checking for RAND_egd
configure:3810: checking for gethostbyname_r
configure:3858: checking if gethostbyname_r takes 3 arguments
configure:3881: gcc -o conftest -g -O2  -L/usr/local/ssl/lib conftest.c -ldl
1>&5
configure: In function `main':
configure:3872: storage size of `hdata' isn't known
configure:3876: sizeof applied to an incomplete type
configure:3876: sizeof applied to an incomplete type
configure:3876: sizeof applied to an incomplete type
configure:3876: sizeof applied to an incomplete type
configure:3876: sizeof applied to an incomplete type
configure:3876: sizeof applied to an incomplete type
configure:3877: too few arguments to function `gethostbyname_r'
configure: failed program was:
#line 3863 "configure"
#include "confdefs.h"
#include <string.h>
#include <sys/types.h>
#include <netdb.h>
int
main () {
struct hostent h;
struct hostent_data hdata;
char *name = "localhost";
int rc;
memset(&h, 0, sizeof(struct hostent));
memset(&hdata, 0, sizeof(struct hostent_data));
rc = gethostbyname_r(name, &h, &hdata);
exit (rc != 0 ? 1 : 0); }
configure:3897: checking if gethostbyname_r with -D_REENTRANT takes 3
arguments
configure:3922: gcc -o conftest -g -O2  -L/usr/local/ssl/lib conftest.c -ldl
1>&5
configure: In function `main':
configure:3913: storage size of `hdata' isn't known
configure:3917: sizeof applied to an incomplete type
configure:3917: sizeof applied to an incomplete type
configure:3917: sizeof applied to an incomplete type
configure:3917: sizeof applied to an incomplete type
configure:3917: sizeof applied to an incomplete type
configure:3917: sizeof applied to an incomplete type
configure:3918: too few arguments to function `gethostbyname_r'
configure: failed program was:
#line 3902 "configure"
#include "confdefs.h"
#define _REENTRANT
#include <string.h>
#include <sys/types.h>
#include <netdb.h>
int
main () {
struct hostent h;
struct hostent_data hdata;
char *name = "localhost";
int rc;
memset(&h, 0, sizeof(struct hostent));
memset(&hdata, 0, sizeof(struct hostent_data));
rc = gethostbyname_r(name, &h, &hdata);
exit (rc != 0 ? 1 : 0); }
configure:3942: checking if gethostbyname_r takes 5 arguments
configure:3963: gcc -o conftest -g -O2  -L/usr/local/ssl/lib conftest.c -ldl
1>&5
configure: In function `main':
configure:3959: warning: passing arg 5 of `gethostbyname_r' from
incompatible pointer type
configure:3959: too few arguments to function `gethostbyname_r'
configure:3959: warning: assignment makes pointer from integer without a
cast
configure: failed program was:
#line 3947 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <netdb.h>
int
main () {
struct hostent *hp;
struct hostent h;
char *name = "localhost";
char buffer[8192];
int h_errno;
hp = gethostbyname_r(name, &h, buffer, 8192, &h_errno);
exit (hp == NULL ? 1 : 0); }
configure:3979: checking if gethostbyname_r takes 6 arguments
configure:4001: gcc -o conftest -g -O2  -L/usr/local/ssl/lib conftest.c -ldl
1>&5
configure:4051: checking for gethostbyaddr_r
configure:4099: checking if gethostbyaddr_r takes 5 arguments
configure:4117: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:4111: storage size of `hdata' isn't known
configure:4113: too few arguments to function `gethostbyaddr_r'
configure: failed program was:
#line 4101 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <netdb.h>
int main() {
char * address;
int length;
int type;
struct hostent h;
struct hostent_data hdata;
int rc;
rc = gethostbyaddr_r(address, length, type, &h, &hdata);
; return 0; }
configure:4133: checking if gethostbyaddr_r with -D_REENTRANT takes 5
arguments
configure:4152: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:4146: storage size of `hdata' isn't known
configure:4148: too few arguments to function `gethostbyaddr_r'
configure: failed program was:
#line 4135 "configure"
#include "confdefs.h"
#define _REENTRANT
#include <sys/types.h>
#include <netdb.h>
int main() {
char * address;
int length;
int type;
struct hostent h;
struct hostent_data hdata;
int rc;
rc = gethostbyaddr_r(address, length, type, &h, &hdata);
; return 0; }
configure:4172: checking if gethostbyaddr_r takes 7 arguments
configure:4193: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:4189: warning: passing arg 7 of `gethostbyaddr_r' from
incompatible pointer type
configure:4189: too few arguments to function `gethostbyaddr_r'
configure:4189: warning: assignment makes pointer from integer without a
cast
configure: failed program was:
#line 4174 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <netdb.h>
int main() {
char * address;
int length;
int type;
struct hostent h;
char buffer[8192];
int h_errnop;
struct hostent * hp;
hp = gethostbyaddr_r(address, length, type, &h,
                     buffer, 8192, &h_errnop);
; return 0; }
configure:4209: checking if gethostbyaddr_r takes 8 arguments
configure:4231: gcc -c -g -O2  conftest.c 1>&5
configure:4268: checking for inet_ntoa_r
configure:4379: checking for localtime_r
configure:4427: checking whether localtime_r is declared
configure:4481: checking for ANSI C header files
configure:4615: checking for unistd.h
configure:4615: checking for malloc.h
configure:4615: checking for stdlib.h
configure:4615: checking for arpa/inet.h
configure:4615: checking for net/if.h
configure:4615: checking for netinet/in.h
configure:4615: checking for netinet/if_ether.h
configure:4615: checking for netdb.h
configure:4615: checking for sys/select.h
configure:4615: checking for sys/socket.h
configure:4615: checking for sys/sockio.h
configure:4615: checking for sys/stat.h
configure:4615: checking for sys/types.h
configure:4615: checking for sys/time.h
configure:4615: checking for getopt.h
configure:4615: checking for sys/param.h
configure:4615: checking for termios.h
configure:4615: checking for termio.h
configure:4615: checking for sgtty.h
configure:4615: checking for fcntl.h
configure:4615: checking for dlfcn.h
configure:4615: checking for alloca.h
configure:4615: checking for winsock.h
configure:4615: checking for time.h
configure:4615: checking for io.h
configure:4615: checking for pwd.h
configure:4654: checking for working const
configure:4729: checking for size_t
configure:4762: checking whether time.h and sys/time.h may both be included
configure:4801: checking size of long double
configure:4841: checking size of long long
configure:4882: checking for ssize_t
configure:4918: checking for socklen_t in sys/socket.h
configure:4982: checking host system type
configure:5008: checking return type of signal handlers
configure:5077: checking for socket
configure:5077: checking for select
configure:5077: checking for strdup
configure:5077: checking for strstr
configure:5077: checking for strftime
configure:5077: checking for uname
configure:5077: checking for strcasecmp
configure:5077: checking for stricmp
configure:5077: checking for strcmpi
configure:5077: checking for gethostname
configure:5077: checking for gethostbyaddr
configure:5077: checking for getservbyname
configure:5077: checking for gettimeofday
configure:5077: checking for inet_addr
configure:5077: checking for inet_ntoa
configure:5077: checking for tcsetattr
configure:5077: checking for tcgetattr
configure:5077: checking for perror
configure:5077: checking for closesocket
configure:5077: checking for setvbuf
configure:5077: checking for sigaction
configure:5077: checking for signal
configure:5077: checking for getpass_r
configure:5077: checking for strlcat
configure:5077: checking for getpwuid
configure:5077: checking for geteuid
configure:5141: checking for perl
configure:5180: checking for gnroff
configure:5222: checking for bison
Received on 2001-04-16