I have a machine on arm processor.
I've followed the build.sh instruction to install ols: https://openlitespeed.org/kb/install-openlitespeed-from-source-with-build-script/
After build, I do not see bin openlitespeed getting generated.
So obviously openlitespeed will also be missing in serverroot/bin after running install.sh
This is the error I see after executing build.sh
Can we fix this compile issue in build.sh?
Also what is the alternative method to install ols in arm processor?
Thanks.
Code:
root@awp-1:~/prebuild/openlitespeed# uname -s
Linux
root@awp-1:~/prebuild/openlitespeed# uname -m
aarch64
root@awp-1:~/prebuild/openlitespeed# cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
root@awp-1:~/prebuild/openlitespeed#
After build, I do not see bin openlitespeed getting generated.
Code:
root@awp-1:~/openlitespeed-1.7.14/dist/bin# ls
lswsctrl
Code:
root@awp-1:~# cd /usr/local/lsws/bin/
root@awp-1:/usr/local/lsws/bin# ls
litespeed lshttpd lsws_env lswsctrl lswsctrl.open
Code:
[ 59%] Built target lsquic
In file included from /root/openlitespeed-1.7.14/src/http/clientinfo.cpp:21:
/root/openlitespeed-1.7.14/src/http/iptoloc.h:28:10: fatal error: IP2Location.h: No such file or directory
28 | #include "IP2Location.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/http/CMakeFiles/http.dir/build.make:401: src/http/CMakeFiles/http.dir/clientinfo.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1080: src/http/CMakeFiles/http.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 61%] Built target lsiapi
make: *** [Makefile:130: all] Error 2
cp: cannot stat 'build/src/openlitespeed': No such file or directory
cp: cannot stat 'build/src/modules/modreqparser/*.so': No such file or directory
cp: cannot stat 'build/src/modules/modinspector/*.so': No such file or directory
cp: cannot stat 'build/src/modules/uploadprogress/*.so': No such file or directory
Start to pack files.
mv: cannot stat 'dist/install.sh': No such file or directory
Building finished, please run ./install.sh for installation.
You may want to update the ols.conf to change the settings before installation.
Enjoy.
Also what is the alternative method to install ols in arm processor?
Thanks.
Last edited: