I have a rpi 4 and installed raspbian with kernel changed to 64 bit: Code: sudo cat /boot/config.txt ... [all] #dtoverlay=vc4-fkms-v3d arm_64bit=1 But when I run ./compile I get this: Code: $ sudo ./compile.sh [PocketMine] PHP compiler for Linux, MacOS and Android [INFO] Checking dependencies [ERROR] PocketMine-MP is no longer supported on 32-bit systems Is there anything I'm missing? Code: $ uname -a Linux raspberrypi 4.19.118-v8+ #1311 SMP PREEMPT Mon Apr 27 14:32:38 BST 2020 aarch64 GNU/Linux Code: $ tree -L 3 . ├── bin │ └── php7 │ ├── bin │ ├── lib │ └── share ├── compile.sh ├── data ├── installer.sh ├── plugins ├── PocketMine-MP.phar └── start.sh
Raspbian, even on the latest version, isn't a 64 bit os, even though the Pi had a 64 bit CPU since the Pi 3. You will need to use an alternative OS that is compiled for ARM64
If you add arm_64bit=1 on config.txt it will download the 64bit kernel, as you can be see from the uname -a no?
Odd, because it's not like it uses a lookup table to recognise your system, it actually checks for the length of an integer: https://github.com/pmmp/php-build-s...945bcc06ac1ab93f30ebad06/installer.sh#L52-L55 Possibly that new Kernel isn't quite ready yet
I am running a server on Raspberry Pi 4 with Ubuntu Server 20.04. It supports arm 64 bit officially, so why don't you try this After you installed Ubuntu Server, you should compile bin files with compiler.sh to aarch64 that same with Android.