File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 1212
1313set -e
1414
15+ if [[ -z " $OSTYPE " ]]; then
16+ echo " W: The 'OSTYPE' environment variable is not set."
17+ echo " Failure to confirm Linux as the operating system cannot be determined."
18+ elif [[ " $OSTYPE " == " linux-gnu" * ]]; then
19+ echo " I: Found operating system '$OSTYPE '."
20+ else
21+ echo " W: LinuxCNC is not (yet) prepared for the operating system '$OSTYPE '."
22+ echo " Instead of this Debian+derivative-tailored configuration please invoke the compilation directly."
23+ if [[ " $OSTYPE " == " darwin" * ]]; then
24+ echo
25+ echo " LinuxCNC is yet unlikely to be successfully built on MacOS because of missing dependencies."
26+ if command -v brew & > /dev/null; then
27+ echo " With brew, we are aware of packages"
28+ echo " autoconf automake libusb libmodbus libtircp pkgconf"
29+ echo " but missing is, e.g., a package for libgpiod."
30+ fi
31+ fi
32+ exit 1;
33+ fi
34+
1535usage () {
1636 P=${0##*/ }
1737 cat 1>&2 << EOF
You can’t perform that action at this time.
0 commit comments