Can't compile varnish-cache on SPARC

Werner.Graalmann at t-systems.com Werner.Graalmann at t-systems.com
Thu Feb 18 11:53:43 CET 2016


Hi,

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.

Configure runs into following error:

checking for gcc... (cached) suncc -m64 -xc99=all
checking whether we are using the GNU C compiler... (cached) no
checking whether suncc -m64 -xc99=all accepts -g... (cached) yes
checking for suncc -m64 -xc99=all option to accept ISO C89... (cached) none needed
checking dependency style of suncc -m64 -xc99=all... (cached) none
checking for suncc -m64 -xc99=all option to accept ISO C99... none needed
checking for suncc -m64 -xc99=all option to accept ISO Standard C... (cached) none needed
configure: error: Could not find a C99 compatible compiler

We call:
CC="suncc -m64 -xc99=all"
CXX='CC'
CFLAGS='-m64 -fast -g -mt'
CXXFLAGS='-g0 -m64'
CPPFLAGS=" -I/usr/sfw/include"
./configure --prefix=/pkg/our_path

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?

Many thanks for any help in advance.

Kind regards
Werner Graalmann




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160218/7603f01f/attachment.html>


More information about the varnish-misc mailing list