cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: 7.11 build on aix 5.2

From: Jonathan Bourgeois <jbourgeois_at_Yantra.com>
Date: Thu, 5 Feb 2004 11:42:03 -0500

*** This mailing list is moving ***
*** http://curl.haxx.se/mail/ ***
This is a flaw in AIX, not the configure script. AIX contains the proper libraries, but does not contain the associated header files. Therefore, one either has to build zlib and run the configure script with --with-zlib=/path/to/your/zlib or disable zlib.

-----Original Message-----
From: Daniel Stenberg [mailto:daniel-curl_at_haxx.se]
Sent: Wednesday, February 04, 2004 4:41 PM
To: Curl Mailinglist
Subject: Re: 7.11 build on aix 5.2

On Wed, 4 Feb 2004, Jonathan Bourgeois wrote:

> I am having trouble building curl7.11 on my AIX box. I have also tried to
> make the daily build, but to no avail. The configure script runs through
> normally, but when I run "make" here is the result:

> urldata.h:350: error: parse error before "z_stream"

This happens because the configure script detects zlib present and activates
that, but when it later compiles a source that needs it, the proper include
file is not found/read. This is indeed a minor flaw in the configure script.
(If you can figure out more details or even provide a patch, I'm interested.)

You can work around this in two ways:

1. make sure the compiler finds the zlib header file when you compile

or

2. run configure with the proper option to disable the zlib usage

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-02-05