We are trying to install Open Resty on Sun Solaris 11.2 then we are getitng follwoing issues.
Need your help in sorting this out. Would be glad to hear back to you. I am new to Openresty and Nginx due to this i may be missing some thing.
However tried to followed all the steps mentioned in https://openresty.org/en/installation.html
we have set the cc to cc path in bin but still the isuse didnt resolved.
root@tscrmdev1:/export/home/krishnar/openresty-1.9.15.1#
./configure --prefix=/opt/openresty --with-pcre-jit --with-ipv6
--without-http_redis2_module --with-http_iconv_module --with-http_postgres_module
--with-ld-opt='-L/lib' -j2
platform: solaris (solaris)
cp -rp bundle/ build
cd build
cd LuaJIT-2.1-20160517
cc: Warning: Option --version passed to ld, if ld is
invoked, ignored otherwise
usage: cc [ options ] files. Use 'cc -flags' for
details
gmake -j2 TARGET_STRIP=@: CCDEBUG=-g
INSTALL_X='/export/home/krishnar/openresty-1.9.15.1/build/install -m 0755'
INSTALL_F='/export/home/krishnar/openresty-1.9.15.1/build/install -m 0644'
CC=cc PREFIX=/opt/openresty/luajit
==== Building LuaJIT 2.1.0-beta2 ====
gmake -C src
cc: Warning: Option -fomit-frame-pointer passed to ld, if ld
is invoked, ignored otherwise
cc: -W option with unknown program all
cc: Warning: Option -fomit-frame-pointer passed to ld, if ld
is invoked, ignored otherwise
cc: -W option with unknown program all
cc: Warning: Option -fomit-frame-pointer passed to ld, if ld
is invoked, ignored otherwise
cc: -W option with unknown program all
cc: Warning: Option -fomit-frame-pointer passed to ld, if ld
is invoked, ignored otherwise
cc: -W option with unknown program all
cc: Warning: Option -fomit-frame-pointer passed to ld, if ld
is invoked, ignored otherwise
cc: -W option with unknown program all
cc: Warning: Option -fomit-frame-pointer passed to ld, if ld
is invoked, ignored otherwise
cc: -W option with unknown program all
gmake[1]: Entering directory
`/export/home/krishnar/openresty-1.9.15.1/build/LuaJIT-2.1-20160517/src'
Makefile:262: *** Unsupported target architecture.
Stop.
gmake[1]: Leaving directory `/export/home/krishnar/openresty-1.9.15.1/build/LuaJIT-2.1-20160517/src'
gmake: *** [default] Error 2
ERROR: failed to run command: gmake -j2 TARGET_STRIP=@:
CCDEBUG=-g INSTALL_X='/export/home/krishnar/openresty-1.9.15.1/build/install -m
0755' INSTALL_F='/export/home/krishnar/openresty-1.9.15.1/build/install -m
0644' CC=cc PREFIX=/opt/openresty/luajit