Welcome! Log In Create A New Profile

Advanced

compiling nginx on solaris 10 using pre-built openssl, pcre packages

muhammad akl
January 08, 2010 02:36PM
I'm trying to build nginx from source on solaris 10 with openssl and pcre
support, the problem now when executing the configure script it shows that
it can not found either openssl or pcre on the the system although they are
already there. I've tried several options like
--with-cc-opt="-I/usr/local/ssl/include/openssl"
--with-ld-option="-L/usr/local/ssl/lib" and the same also with pcre with no
luck.

also when tried to compile nginx in 64 bit mode, it compiles fine but when
starting it, the following error was shown in terminal :

ld.so.1: nginx: fatal: hardware capability unsupported: 0x2000


after surfing google i got this link

http://gitorious.org/~antono/nginx/antono-bash-completion/commit/470dd691ce72ebc43e902956e23a1ea575338a98

the last lines were interesting enough:

the "rep; nop" is used instead of "pause" to avoid the "[ PAUSE ]" hardware
> capability added by linker because Solaris/i386 does not know about it, so i
> edited the corresponding file src/os/unix/ngx_sunpro_amd64.il file and
> changed this line at the end of the file :
>
pause to rep; nop and and the problem solved

Now is there any particular way to force nginx to work with the pre-bult
packages ? i've done almost anything compiled openssl & pcre in different
paths , made symlinks but with no success.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

compiling nginx on solaris 10 using pre-built openssl, pcre packages

muhammad akl January 08, 2010 02:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 212
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