When you install nginx GCC that I can't find it?

I have installed GCC on Solaris
(PORTAL1)$>gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
The above should be that my JCC is already installed.

When I perform the installation of nginx
./configure --prefix=/opt/wlan/nginx/soft/nginx --with-pcre=/opt/wlan/nginx/pcre-8.10 --with-http_stub_status_module

Prompt me
(PORTAL1)$>./configure --prefix=/opt/wlan/nginx/soft/nginx --with-pcre=/opt/wlan/nginx/pcre-8.10 --with-http_stub_status_module
checking for OS
+ SunOS 5.10 sun4v
checking for C compiler ... not found

This is how to return a responsibility. Ask for help!!!!!!!!!!!!!!!!

Started by Sandra at November 25, 2016 - 1:48 PM

You need to install GCC.

Posted by Frederica at December 08, 2016 - 2:44 PM

yum install gcc

Posted by Cosmo at December 12, 2016 - 3:06 PM

Solaris11_64 environment

After GCC and c++ installed when the configuration of the nginx will report to CC not found

Error: "./configure: error: C compiler CC is not found" // it is CC didn't find you have a look the same as you? The above be omitted from the N word!

Solution:

CC=gcc

export CC

Set the environment variable, let GCC instead of CC!

Posted by Nicholas at December 20, 2016 - 3:49 PM

Wonder is it right? Positive solutions of 3L

Posted by Merlin at December 27, 2016 - 4:10 PM

On the third floor should be,
I was so
./configure --prefix=/opt/wlan/nginx/soft/nginx --with-pcre=/opt/wlan/nginx/pcre-8.10 --with-http_stub_status_module --with-cc=/usr/local/bin/gcc
--with-http_ssl_module --with-openssl=/opt/wlan/nginx/openssl-1.0.0a
The principle should be the same

Posted by Sandra at January 04, 2017 - 4:46 PM

The response to 2013-10-16 09:12:35 was removed by the administrator

Posted by Z at January 13, 2017 - 5:22 PM