cURL / Mailing Lists / curl-users / Single Mail

curl-users

Compile problem

From: Kingsley Tart <kingsley.lists_at_skymarket.co.uk>
Date: Tue, 14 Nov 2000 17:23:39 -0000

I'm using:
 - cURL 7.4.1
 - Slackware Linux 7 with 2.2.16 kernel
 - openssl
 - gcc compiler (cc is symlinked to it anyway)

I did this:
 - ./configure --with-ssl=/usr/local/ssl
 - make
 - make install

When I try to run cURL to an https resource, I get this error:
curl: (1) SSL is disabled, https: not supported!

I have tried the things in the FAQ on the cURL site but nothing I try
makes any difference.

config.log contains (amongst others) these lines:
--8<--
configure:3485: gcc -o
conftest -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/inclu
de conftest.c -ldl -L/usr/local/ssl/lib 1>&5
configure: In function `main':
configure:3476: storage size of `hdata' isn't known
configure:3480: sizeof applied to an incomplete type
configure:3480: sizeof applied to an incomplete type
configure:3480: sizeof applied to an incomplete type
configure:3480: sizeof applied to an incomplete type
configure:3480: sizeof applied to an incomplete type
configure:3480: sizeof applied to an incomplete type
configure:3481: too few arguments to function `gethostbyname_r'
configure: failed program was:
#line 3467 "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); }
--8<--

What can I do to get this working? As far as I can tell, opensll is
working fine as we can browse to pages on that box with https. Please
forgive me, I'm new to all this.

--
Cheers,
Kingsley
Received on 2000-11-14