cURL / Mailing Lists / curl-library / Single Mail


RE: building curl on solaris 2.6

From: Sharma, Amit <>
Date: Fri, 10 Oct 2003 13:20:18 -0400

Hi Dylan,
Even I had faced a similar problem sometime back. Looking forward for some
responses from the list..
Try not to set the CC and CXX flags and let the configure script pick up the
compiler for you. This way you do not get this error anymore.
However, I do get these errors when I set the CC and CXX flags for pointing
to SUN's forte compilers.


-----Original Message-----
From: Dylan Ellicott []
Sent: Friday, October 10, 2003 11:41 AM
Subject: building curl on solaris 2.6


I am having problems building libcurl on solaris 2.6 here is the command I
used for configure ./configure --prefix=/public/SunSoftware?/curl-7.10.7
--with-ssl=/public/SunSoftware?/openssl-0.9.7c --without-zlib

and here is the error message that I received:

checking for off_t... yes
checking size of off_t... configure: error: cannot compute sizeof (off_t),
77 See `config.log' for more details.

config.log was not of much help either as this is what it contained (at the
error point)

#define VERSION "7.10.7"
#define _FILE_OFFSET_BITS 64
configure: exit 1

I also tried setting the C compiler and C++ compiler CXX=CC and CC=cc but
got the same result.

I am including the entire configure output and was hoping someone could
give me a suggestion as to how to work around this problem.

Any help would be appreciated

Dylan Ellicott <>
Stilo Corporation
This email is sponsored by: Giveback Program. hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here:
Received on 2003-10-10