cURL / Mailing Lists / curl-users / Single Mail

curl-users

Install curl in home directory

From: Michael J. Salo <salo_at_prodigy.net>
Date: Fri, 11 Oct 2002 02:31:12 -0700

Hello
Just trying to install Curl in my home directory on a Linux ISP, for use of
some PHP scripts I have that require it.

I unzipped the files and I'm following these steps to install:

./configure --prefix=$HOME
(this appears to go ahead fine)

make
(this dies with errors)

make install
(this dies with more errors)

Here is the output from "make" at the point where it appears to go wrong:

make[2]: Entering directory `/home/salo/temp/curl-7.10/lib'
source='file.c' object='file.lo' libtool=yes \
depfile='.deps/file.Plo' tmpdepfile='.deps/file.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I../include -I../lib -I.
./lib -I/include -g -O2 -c -o file.lo `test -f file.c || echo './'`file.c
gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I/include -g -O2 -c
file.c -
Wp,-MD,.deps/file.TPlo -o file.o
In file included from file.c:81:
urldata.h:260: parse error before `z_stream'
urldata.h:260: warning: no semicolon at end of struct or union
urldata.h:283: parse error before `}'
urldata.h:431: field `keep' has incomplete type
make[2]: *** [file.lo] Error 1
make[2]: Leaving directory `/home/salo/temp/curl-7.10/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/salo/temp/curl-7.10/lib'
make: *** [all-recursive] Error 1

Script stops here.

Why does this look like a syntax error? I haven't altered any files.

Michael J. Salo

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-11