Welcome! Log In Create A New Profile

Advanced

Re: Compilation of Nginx on Solris 10 as 64bit

March 20, 2010 07:49AM
wega3k Wrote:
-------------------------------------------------------
> I have also had this problem on Solaris 10 and
> SunCC.
>
> The problem is that nginx's configure creates a
> broken objbs/Makefile when your own CFLAGS defined
> in your environment.
>
> If you look at objs/Makefile after you've run
> configure without CFLAGS set, you will see in
> there
> CFLAGS = -fast -xipo -errwarn=%all -g. Until the
> configure is fixed, I guess you could just edit
> that CFLAGS to what you want in the Makefile after
> running configure and before running your gmake.
>

I've just run across this myself. The reason for the problem is that the auto/cc/conf script skips the logic in auto/cc/sunc if CFLAGS is set. This means if you set CFLAGS from the environment you should also set everything else that is set in auto/cc/sunc from the environment. In this case the NGX_AUX variable needs to be set to " src/os/unix/ngx_sunpro_x86.il" (or another ngx_sunpro_*.il file, depending on architecture).
Subject Author Posted

Compilation of Nginx on Solris 10 as 64bit

arin October 06, 2009 03:40PM

Re: Compilation of Nginx on Solris 10 as 64bit

edogawaconan October 06, 2009 10:32PM

Re: Compilation of Nginx on Solris 10 as 64bit

arin October 07, 2009 03:38PM

Re: Compilation of Nginx on Solris 10 as 64bit

Dustin Marquess October 07, 2009 06:00PM

Re: Compilation of Nginx on Solris 10 as 64bit

W-Mark Kubacki October 08, 2009 10:52AM

Re: Compilation of Nginx on Solris 10 as 64bit

Igor Sysoev October 08, 2009 11:42AM

Re: Compilation of Nginx on Solris 10 as 64bit

wega3k October 15, 2009 06:42AM

Re: Compilation of Nginx on Solris 10 as 64bit

william March 20, 2010 07:49AM

Re: Compilation of Nginx on Solris 10 as 64bit

Stefan Parvu March 20, 2010 08:46AM

Re: Compilation of Nginx on Solris 10 as 64bit

william March 20, 2010 08:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 326
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready