cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: error compiling curl on Solari8

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 27 Jan 2004 14:01:14 +0100 (CET)

On Tue, 27 Jan 2004, Steffen Unger wrote:

> I have some trouble compiling curl for Solaris8 on my sun4u System.
>
> configure script stops with a well known error message:
> (i found some mailings to the list about this)
>
> ...
> checking size of off_t... configure: error: \
> cannot compute sizeof (off_t), 77
> See `config.log' for more details.

Ugh! What compiler are you using for this? This works nicely on my solaris 2.7
using gcc.

I would say this indicates a bug in autoconf that generated the code that
checks for the size of this variable type. But I guess blaming it on autoconf
won't help you very much...

You could try setting CFLAGS to '-Doff_t=long' when you run configure, but I'm
not sure that'll work.

-- 
    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
Received on 2004-01-27