cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: configure failure on Solaris9

From: Steven M. Schweda <sms_at_antinode.info>
Date: Wed, 23 Jun 2010 15:34:28 -0500 (CDT)

   By the way (continuing to beat a dead horse), there's nothing special
about an older Solaris or an older compiler. Around here, in a more
current environment [*], "CC=CC ./configure" fails the same way.
Interestingly, the "configure" script emits a moderately useful message,
which was not mentioned in the original complaint:

sol# cd curl-7.21.1-20100623
sol# CC=CC ./configure 2>&1 | tee ../curl-7.21.1-20100623_CC_configure.log
[...]
checking if compiler is SGI MIPS C... no
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking if compiler is Watcom C... no
***
*** Warning: This configure script does not have information about the
*** compiler you are using, relative to the flags required to enable or
*** disable generation of debug info, optimization options or warnings.
***
*** Whatever settings are present in CFLAGS will be used for this run.
***
*** If you wish to help the cURL project to better support your compiler
*** you can report this and the required info on the libcurl development
*** mailing list: http://cool.haxx.se/mailman/listinfo/curl-library/
***
[...]
checking for connect in libraries... cannot find connect
configure: error: cannot find connect function in libraries.
sol#

Just like the older stuff.

> [...]
> Successful box:
>
> $> CC -V
> CC: Sun C++ 5.8 2005/10/13
> [...]

That might be true, but I'd guess that on the successful box, someone
used "CC=cc", not "CC=CC", on the "configure" command line. As usual,
showing actual commands with their actual output (copy+paste) can be
more helpful than vague descriptions and interpretations, and can avoid
much confusion and time-wasting.

[*]
sol# uname -a
SunOS sol 5.10 Generic_141444-09 sun4u sparc sun4u

sol# cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12
usage: cc [ options] files. Use 'cc -flags' for details

sol# CC -V
CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25

------------------------------------------------------------------------

   Steven M. Schweda sms_at_antinode-info
   382 South Warwick Street (+1) 651-699-9818
   Saint Paul MN 55105-2547
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-24