cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: building 7.5.1 on Redhat 5.2 as user

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 19 Dec 2000 09:19:54 +0100 (MET)

On Tue, 19 Dec 2000, David West wrote:

> Since there are no explicit instructions about installing as non-root, I run
>
> ./configure --prefix=~
>
> and then
>
> make

That is how it is supposed to be done.

> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../include -g -O2 -c file.c -fPIC -DPIC -o .libs/file.l
> o
> In file included from urldata.h:95,
> from file.c:97:
> timeval.h:55: redefinition of `struct timeval'

This seems as if your configure script didn't find the gettimeofday function,
which seems odd. Can you verify that?

> In file included from file.c:97:
> urldata.h:174: field `serv_addr' has incomplete type

This is because there's a lack of some include file.

> file.c: In function `file':
> file.c:141: `O_RDONLY' undeclared (first use this function)
> file.c:141: (Each undeclared identifier is reported only once
> file.c:141: for each function it appears in.)

This is another missing include file.

Odd, I don't remember redhat 5.x being that different from the 6.x series...

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2000-12-19