<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>Hi,</div>
<div> </div>
<div>we have to compile varnish-cache 3.0.7 on a Solaris SPARC system. Operating system is SunOS 11.1. Compiler we have to use is SolarisStudio 12.3.</div>
<div> </div>
<div>Configure runs into following error:</div>
<div> </div>
<div>checking for gcc... (cached) suncc -m64 -xc99=all</div>
<div>checking whether we are using the GNU C compiler... (cached) no</div>
<div>checking whether suncc -m64 -xc99=all accepts -g... (cached) yes</div>
<div>checking for suncc -m64 -xc99=all option to accept ISO C89... (cached) none needed</div>
<div>checking dependency style of suncc -m64 -xc99=all... (cached) none</div>
<div>checking for suncc -m64 -xc99=all option to accept ISO C99... none needed</div>
<div>checking for suncc -m64 -xc99=all option to accept ISO Standard C... (cached) none needed</div>
<div>configure: error: Could not find a C99 compatible compiler</div>
<div> </div>
<div>We call:</div>
<div>CC="suncc -m64 -xc99=all" </div>
<div>CXX='CC'</div>
<div>CFLAGS='-m64 -fast -g -mt'</div>
<div>CXXFLAGS='-g0 -m64'</div>
<div>CPPFLAGS=" -I/usr/sfw/include"</div>
<div>./configure --prefix=/pkg/our_path</div>
<div> </div>
<div>I think, it should work with xc99=all as compiler option for using ISO C99, but “configure” always breaks with “Could not find a C99 compatible compiler”. On Oracles “SolarisStudio-Webpage” I can’t find any hints. Is it an issue with configure-Script from
varnish?</div>
<div> </div>
<div>Many thanks for any help in advance.</div>
<div style="margin-top: 5pt; margin-bottom: 5pt; "><font face="Arial, sans-serif" size="2">Kind regards<br>
Werner Graalmann<font face="Times New Roman, serif" size="3" color="#1F497D"> </font></font></div>
<div><font color="#1F497D"><br>
</font></div>
<div> </div>
<div> </div>
</font>
</body>
</html>