cURL / Mailing Lists / curl-users / Single Mail

curl-users

error compiling curl on Solari8

From: Steffen Unger <nospam4me_at_snafu.de>
Date: Tue, 27 Jan 2004 13:40:14 +0100

Hi,

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.
..

in the config.log I found:

...
conftest.c:18: warning: left shift count >= width of type
conftest.c:18: warning: left shift count >= width of type
conftest.c:20: error: size of array `off_t_is_large' is negative
configure:4544: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "curl-bug_at_haxx.se"
| #define PACKAGE "curl"
| #define VERSION "7.11.0"
| #define OS "sparc-sun-solaris2.8"
| /* end confdefs.h. */
| #include <sys/types.h>
| /* Check that off_t can represent 2**63 - 1 correctly.
| We can't simply define LARGE_OFF_T to be 9223372036854775807,
| since some C++ compilers masquerading as C compilers
| incorrectly reject 9223372036854775807. */
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
| && LARGE_OFF_T % 2147483647 == 1)
| ? 1 : -1];

...

I've tested the configure script --with-ssl / --without-ssl with/without
paths where
ssl can be found and with/without LD_LIBRARY_PATH (as suggested in some
mailings
to the list in 2003).

Everytime with the same error message. :-(

Currently I have no idea on how to fix this.

Is there anybody who compiled the current release successfully
on Solaris8 ?

What else I can do to fix this ?

Steffen

-- 
Steffen Unger <nospam4me_at_snafu.de>

-------------------------------------------------------
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