Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Non-supported distribution, APISIX is only supported on Linux-based systems #11985

Closed
cnz101 opened this issue Feb 21, 2025 · 2 comments
Closed
Labels
wait for update wait for the author's response in this issue/PR

Comments

@cnz101
Copy link

cnz101 commented Feb 21, 2025

Current Behavior

cd apisix-3.9.1
make deps
/bin/bash: -V: invalid option
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--pretty-print
--rcfile
--restricted
--verbose
--version
Shell options:
-ilrsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
/bin/bash: -V: invalid option
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--pretty-print
--rcfile
--restricted
--verbose
--version
Shell options:
-ilrsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
./utils/install-dependencies.sh
/bin/bash: -V: invalid option
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--pretty-print
--rcfile
--restricted
--verbose
--version
Shell options:
-ilrsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option

  • main
    ++ uname -s
    ++ tr '[:upper:]' '[:lower:]'
  • OS_NAME=linux
  • [[ 0 == 0 ]]
  • [[ linux == \l\i\n\u\x ]]
  • multi_distro_installation
  • grep -Eqi CentOS /etc/issue
  • grep -Eq CentOS /etc/euleros-release /etc/openEuler-release /etc/os-release /etc/system-release
  • grep -Eqi -e 'Red Hat' -e rhel /etc/euleros-release /etc/openEuler-release /etc/os-release /etc/system-release
  • grep -Eqi Fedora /etc/issue
  • grep -Eq Fedora /etc/euleros-release /etc/openEuler-release /etc/os-release /etc/system-release
  • grep -Eqi Debian /etc/issue
  • grep -Eq Debian /etc/euleros-release /etc/openEuler-release /etc/os-release /etc/system-release
  • grep -Eqi Ubuntu /etc/issue
  • grep -Eq Ubuntu /etc/euleros-release /etc/openEuler-release /etc/os-release /etc/system-release
  • grep -Eqi Arch /etc/issue
  • grep -Eqi EndeavourOS /etc/issue
  • grep -Eq Arch /etc/euleros-release /etc/openEuler-release /etc/os-release /etc/system-release
  • echo 'Non-supported distribution, APISIX is only supported on Linux-based systems'
    Non-supported distribution, APISIX is only supported on Linux-based systems
  • exit 1
    make: *** [Makefile:230: install-runtime] Error 1
    [root@074cda0239f4 apisix-3.9.1]# uname -a
    Linux 074cda0239f4 5.10.0-60.18.0.50.h509.eulerosv2r11.x86_64 change: added doc of how to load plugin. #1 SMP Wed Sep 21 16:12:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Expected Behavior

No response

Error Logs

No response

Steps to Reproduce

Followed as https://apisix.apache.org/zh/docs/apisix/3.9/building-apisix/

Environment

  • APISIX version (run apisix version): 3.9.1
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):
@dosubot dosubot bot added the bug Something isn't working label Feb 21, 2025
@juzhiyuan
Copy link
Member

Hi @cnz101, I didn't get your point on this issue.

  1. Are you going to build APISIX from source codes? Why not start with docker image directly?
  2. Can you update your issue description with clear information? This helps us to understand better what you want to achieve.

@juzhiyuan juzhiyuan added wait for update wait for the author's response in this issue/PR and removed bug Something isn't working labels Feb 21, 2025
@bzp2010
Copy link
Contributor

bzp2010 commented Feb 23, 2025

There is no official support for EulerOS, the system's software sources are different from any other distribution and require special adaptations. If this is what you need, you should either invest in improving the script to make it work on your system or call on the openEuler community to support it.

Beyond that, you'll definitely need a strong reason to build it yourself instead of deploying it using containers. This doesn't seem to make much sense to most users.

@juzhiyuan juzhiyuan closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2025
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Apache APISIX backlog Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wait for update wait for the author's response in this issue/PR
Projects
Status: Done
Development

No branches or pull requests

3 participants