You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2022/10/17 03:51:36 UTC
[GitHub] [openwhisk-apigateway] thunderZH963 opened a new issue, #396: openwhisk-apigateway failed to build on aarch64 ——"module 'ngx.process' not found:"
thunderZH963 opened a new issue, #396:
URL: https://github.com/apache/openwhisk-apigateway/issues/396
I can build openwhisk-apigateway('make docker') successfully on x86_64.
But when I move to ARM64, some errors occur(when Step 9/21 : RUN echo " ... installing opm packages ... " ),
'''
ERROR: module 'ngx.process' not found:
no field package.preload['ngx.process']
no file './ngx/process.lua'
no file '/usr/local/api-gateway/luajit/share/luajit-2.1.0-beta3/ngx/process.lua'
no file '/usr/local/share/lua/5.1/ngx/process.lua'
no file '/usr/local/share/lua/5.1/ngx/process/init.lua'
no file '/usr/local/api-gateway/luajit/share/lua/5.1/ngx/process.lua'
no file '/usr/local/api-gateway/luajit/share/lua/5.1/ngx/process/init.lua'
no file './ngx/process.so'
no file '/usr/local/lib/lua/5.1/ngx/process.so'
no file '/usr/local/api-gateway/luajit/lib/lua/5.1/ngx/process.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './ngx.so'
no file '/usr/local/lib/lua/5.1/ngx.so'
no file '/usr/local/api-gateway/luajit/lib/lua/5.1/ngx.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
ERROR: luajit is required but is not available according to resty:
'''
I know that [00c4c7cb5125cf72799c184e0ff538abd9830ea2](https://github.com/apache/openwhisk-apigateway/commit/00c4c7cb5125cf72799c184e0ff538abd9830ea2) supported aarch64, but maybe it not works?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk-apigateway] marcelfonteles commented on issue #396: openwhisk-apigateway failed to build on aarch64 ——"module 'ngx.process' not found:"
Posted by "marcelfonteles (via GitHub)" <gi...@apache.org>.
marcelfonteles commented on issue #396:
URL: https://github.com/apache/openwhisk-apigateway/issues/396#issuecomment-1529030047
I have tried your implementation and I only needed to change the URL source of PCR on line 86 for that: https://sourceforge.net/projects/pcre/files/pcre/8.37/pcre-8.37.tar.gz/download
After doing that, everything worked fine. Thanks a lot!
And you can see all versions on this site if you need another version: https://sourceforge.net/projects/pcre/files/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk-apigateway] thunderZH963 commented on issue #396: openwhisk-apigateway failed to build on aarch64 ——"module 'ngx.process' not found:"
Posted by GitBox <gi...@apache.org>.
thunderZH963 commented on issue #396:
URL: https://github.com/apache/openwhisk-apigateway/issues/396#issuecomment-1280439487
modify Dockerfile like "https://github.com/G410-SmartNICGroup/openwhisk-apigateway-arm64/blob/master/Dockerfile" is helpful, now solved
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk-apigateway] thunderZH963 commented on issue #396: openwhisk-apigateway failed to build on aarch64 ——"module 'ngx.process' not found:"
Posted by GitBox <gi...@apache.org>.
thunderZH963 commented on issue #396:
URL: https://github.com/apache/openwhisk-apigateway/issues/396#issuecomment-1280439939
modify Dockerfile like "https://github.com/G410-SmartNICGroup/openwhisk-apigateway-arm64/blob/master/Dockerfile" is helpful, now solved
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk-apigateway] thunderZH963 closed issue #396: openwhisk-apigateway failed to build on aarch64 ——"module 'ngx.process' not found:"
Posted by GitBox <gi...@apache.org>.
thunderZH963 closed issue #396: openwhisk-apigateway failed to build on aarch64 ——"module 'ngx.process' not found:"
URL: https://github.com/apache/openwhisk-apigateway/issues/396
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org