cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: compiling error on aix 5.1

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 17 Nov 2003 18:36:36 +0100 (CET)

On Mon, 17 Nov 2003, Roberto Basso wrote:

> I am compiling curl 7.10.7 on aix version 5.1.0.

There's a 7.10.8 out now! ;-)

> I started with configure step with ssl support (./configure --with-ssl) and
> it's ok,but in the make step I got this error:

> In file included from file.c:80:
> urldata.h:343: parse er! ror before `z_stream'

This happens because the configure script detected a zlib in your system, but
somehow it failed to set the proper include path to have the compiler find the
zlib headers at compile-time!

You can work-around this in two ways:

1. Use --without-zlib to configure to disable zlib completely.

2. Set LDFLAGS before you invoke configure, you help it find and set the
   proper link flags in the generated makefile.

If you feel like helping us fix this problem for a future curl, then please
show us some details on things like where/how configure found your zlib (using
config.log and possibly the configure output).

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
 [[ Do not post private mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
Received on 2003-11-17