cURL / Mailing Lists / curl-users / Single Mail

curl-users

building 7.5.1 on Redhat 5.2 as user

From: David West <dhw_at_thedance.net>
Date: Tue, 19 Dec 2000 08:15:51 +0100 (MET)

7.5.1 + patch has no problems on my Slackware box when built and
installed as root. Now I want to build and install it on a remote box
on which I am not root. This box runs Redhat 5.2, and I have limited
and slow dial-in access to it (so I haven't tried to debug the problems
very much). I usually find that compiling "well-known" programs on this
box is painless (i.e. the box isn't obviously broken).

Since there are no explicit instructions about installing as non-root, I run

  ./configure --prefix=~

and then

  make

make bombs as follows:

   make all-recursive
   make[1]: Entering directory `/home/dhw/tmp/tmp1/curl-7.5.1'
   Making all in docs
   make[2]: Entering directory `/home/dhw/tmp/tmp1/curl-7.5.1/docs'
   make[2]: Nothing to be done for `all'.
   make[2]: Leaving directory `/home/dhw/tmp/tmp1/curl-7.5.1/docs'
   Making all in lib
   make[2]: Entering directory `/home/dhw/tmp/tmp1/curl-7.5.1/lib'
   /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../include -g -O2 -
   c file.c
   mkdir .libs
   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'
   In file included from file.c:97:
   urldata.h:174: field `serv_addr' has incomplete type
   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.)

Any ideas?

-David
Received on 2000-12-19