Hello, I am currently having some problems with PMMP installation on Linux ARMv7 32-bit. Here is some output logs. I am using the Armbian distribution based on Debian Jessie. Code: 12458@computer:~/pm$ uname -a Linux computer 3.10.104-s500 #4 SMP PREEMPT Sun Oct 23 16:41:44 CEST 2016 armv7l GNU/Linux Code: 12458@computer:~/pm$ ls 12458@computer:~/pm$ wget -q -O - https://raw.githubusercontent.com/pmmp/php-build-scripts/master/installer.sh | bash -s - date: invalid date ‘@1481025595465’ [*] Found PocketMine-MP 1.6.1dev (build 111) using API 2.1.0 [*] This stable build was released on [-] This channel should have a signature, none found [*] Installing/updating PocketMine-MP on directory ./ [1/3] Cleaning... [2/3] Downloading PocketMine-MP 1.6.1dev phar... done! [3/3] Obtaining PHP: detecting if build is available... [3/3] ARMv7 PHP build available, downloading PHP_7.0.0RC3_ARMv7.tar.gz...chmod: cannot access ‘./bin/php7/bin/*’: No such file or directory checking... invalid build detected [3/3] no build found, compiling PHP automatically [PocketMine] PHP compiler for Linux, MacOS and Android [INFO] Checking dependecies [INFO] Compiling for current machine using 32-bit [PHP] downloading 7.0.6... done! [zlib] downloading 1.2.8... checking...12458@computer:~/pm$ 12458@computer:~/pm$ ./start.sh Couldn't find a working PHP 7 binary, please use the installer. Code: 12458@computer:~/pm$ cat install.log Fri Dec 9 17:09:53 SGT 2016 Linux computer 3.10.104-s500 #4 SMP PREEMPT Sun Oct 23 16:41:44 CEST 2016 armv7l GNU/Linux make is /usr/bin/make autoconf is /usr/bin/autoconf automake is /usr/bin/automake libtool is /usr/bin/libtool m4 is /usr/bin/m4 wget is /usr/bin/wget getconf is /usr/bin/getconf gzip is /bin/gzip bzip2 is /bin/bzip2 bison is /usr/bin/bison g++ is /usr/bin/g++ wget is /usr/bin/wget gcc is /usr/bin/gcc gcc: error: unrecognized command line option ‘-m32’ rm: cannot remove ‘test’: No such file or directory Compiler error reporting is too harsh for ./configure (perhaps remove -Werror). ** ./configure aborting. 12458@computer:~/pm$ Code: 12458@computer:~/pm$ ./compile.sh [PocketMine] PHP compiler for Linux, MacOS and Android [INFO] Checking dependecies [INFO] Compiling for current machine using 32-bit [PHP] downloading 7.0.6... done! [zlib] downloading 1.2.8... checking...12458@computer:~/pm$ ./start.sh Couldn't find a working PHP 7 binary, please use the installer. 12458@computer:~/pm$
Get a php binary fitting for your system here: https://bintray.com/pocketmine/PocketMine/Unix-PHP-Binaries/7.0.6#files and put its "bin" folder into your server folder
Code: 12458@computer:~/pm$ wget https://bintray.com/pocketmine/PocketMine/download_file?file_path=PHP_7.0.6_ARM_Raspbian_hard.tar.gz --2016-12-09 17:21:22-- https://bintray.com/pocketmine/PocketMine/download_file?file_path=PHP_7.0.6_ARM_Raspbian_hard.tar.gz Resolving bintray.com (bintray.com)... 108.168.194.93 Connecting to bintray.com (bintray.com)|108.168.194.93|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://dl.bintray.com/pocketmine/PocketMine/PHP_7.0.6_ARM_Raspbian_hard.tar.gz [following] --2016-12-09 17:21:23-- https://dl.bintray.com/pocketmine/PocketMine/PHP_7.0.6_ARM_Raspbian_hard.tar.gz Resolving dl.bintray.com (dl.bintray.com)... 75.126.118.188 Connecting to dl.bintray.com (dl.bintray.com)|75.126.118.188|:443... connected. HTTP request sent, awaiting response... 302 Location: https://akamai.bintray.com/2d/2d471633f5dbde916687c503a6d3454605ed7828484be919066ce3a2d8cd1e8d?__gda__=exp=1481276004~hmac=9bdefc7a4caa4b1bbdb657946fa3cf9f6d6e9877ee1aa7dd668ca134f4eb5fb5&response-content-disposition=attachment%3Bfilename%3D%22PHP_7.0.6_ARM_Raspbian_hard.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX188xzy1ImvELPetamRDYuQUzLYhx-b7ahYH26FfSx7IrrYGo8oc8cSzwB1BuNR_3Z1Nr2hVACW84lud8ja0qS5H4dXdqlK1wqQOqOkIyvRcHtjkaoLUUavY7-cbuVYu2Ap945VmH2Ke4w [following] --2016-12-09 17:21:24-- https://akamai.bintray.com/2d/2d471633f5dbde916687c503a6d3454605ed7828484be919066ce3a2d8cd1e8d?__gda__=exp=1481276004~hmac=9bdefc7a4caa4b1bbdb657946fa3cf9f6d6e9877ee1aa7dd668ca134f4eb5fb5&response-content-disposition=attachment%3Bfilename%3D%22PHP_7.0.6_ARM_Raspbian_hard.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX188xzy1ImvELPetamRDYuQUzLYhx-b7ahYH26FfSx7IrrYGo8oc8cSzwB1BuNR_3Z1Nr2hVACW84lud8ja0qS5H4dXdqlK1wqQOqOkIyvRcHtjkaoLUUavY7-cbuVYu2Ap945VmH2Ke4w Resolving akamai.bintray.com (akamai.bintray.com)... 104.116.23.226 Connecting to akamai.bintray.com (akamai.bintray.com)|104.116.23.226|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 31498107 (30M) [application/gzip] Saving to: ‘download_file?file_path=PHP_7.0.6_ARM_Raspbian_hard.tar.gz’ download_file?file_path=PHP_7.0.6_ARM_Raspbian_hard.tar.gz 100%[==========================================================================================================================================>] 30.04M 3.12MB/s in 10s 2016-12-09 17:21:38 (2.95 MB/s) - ‘download_file?file_path=PHP_7.0.6_ARM_Raspbian_hard.tar.gz’ saved [31498107/31498107] 12458@computer:~/pm$ ls bin compile.sh CONTRIBUTING.md download_file?file_path=PHP_7.0.6_ARM_Raspbian_hard.tar.gz install_data install.log LICENSE PocketMine-MP.phar README.md start.sh 12458@computer:~/pm$ tar -xf download_file?file_path=PHP_7.0.6_ARM_Raspbian_hard.tar.gz 12458@computer:~/pm$ ./start.sh ./bin/php7/bin/php: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory 12458@computer:~/pm$
We don't currently supply PHP binaries for ARM, but you can get one at https://itxtech.org/a spoon/get/ EDIT: How annoying. Replace "a spoon" with "g e n i s y s" (without the spaces)
Found a solution. Use raspbian PHP binaries but also install libltdl-dev with sudo apt-get install libltdl-dev but I cannot generate world. Code: *** Error in `PocketMine-MP 1.6.1dev-#111': double free or corruption (fasttop): 0x008eb960 *** Aborted
Oh that looks like a segfault. Maybe you should try to use the php libs at https://itxtech.org/Genisys/get/ (https://storage.googleapis.com/itx-...t.com/php_for_genisys/php_linux_arm_7.0.13.xz)