Welcome! Log In Create A New Profile

Advanced

Compiling nginx 64-bit on opensolaris

April 27, 2009 12:36PM
I've tried and unless I missed something, it doesn't look trivial.
Is there switch for amd64 somewhere in configure or environment variables?

using

# CC="/opt/SSX0903/bin/cc -m64" ./configure --prefix=/usr/local/nginx

doesn't work immediately because it still uses x86 files
(ngx_sunpro_x86.*) when compiling. I manually 'fixed' by sed-ing
objs/Makefile, replacing all sunpro_x86 with sunpro_amd64 and later
renaming src/os/unix/ngx_sunpro_x86.map to
src/os/unix/ngx_sunpro_amd64.map

It then compiles and runs just fine (or so it looks like)


--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Subject Author Posted

Compiling nginx 64-bit on opensolaris

edogawaconan April 27, 2009 12:36PM

Re: Compiling nginx 64-bit on opensolaris

edogawaconan April 27, 2009 12:37PM

Re: Compiling nginx 64-bit on opensolaris

Igor Sysoev April 28, 2009 02:10AM

Re: Compiling nginx 64-bit on opensolaris

edogawaconan April 28, 2009 08:51AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 65
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready