cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl 7.7 and RedHat

From: Andrés García <fandom_at_retemail.es>
Date: Wed, 21 Mar 2001 15:04:14 +0100

I have tried compiling the curl 7.7 beta 5 under RedHat 7 and
even though it compiles it doesn't work, for example:

[Andres_at_Shire src]$ ./curl -I Shire.Asturias.es
curl: (6) Couldn't resolve host 'Shire.Asturias.es'

where Shire.Asturias.es is my own computer, yet if
I do:

[Andres_at_Shire src]$ ./curl -I 127.0.0.1
HTTP/1.1 200 OK
Date: Wed, 21 Mar 2001 13:58:16 GMT
Server: Apache/1.3.12 (Unix) (Red Hat/Linux) mod_ssl/2.6.6 OpenSSL/0.9.5a
DAV/1.0.1 PHP/4.0.1pl2 mod_perl/1.24
Last-Modified: Sun, 31 Dec 2000 19:53:59 GMT
ETag: "3b368-9d0-3a4f8ed7"
Accept-Ranges: bytes
Content-Length: 2512
Connection: close
Content-Type: text/html

I have installed version 7.6.1 from the rpm package and it works
in both cases, but then I tried to compile it myself and again it
can't resolve hosts.

I also compiled the beta in debian and there it worked fine.

Anyone knows what is going on?

Andres
Received on 2001-03-21