Installing Pocket Mine on CentOS 7

Discussion in 'Help' started by Ange, Jul 13, 2019.

  1. Ange

    Ange Spider

    Messages:
    6
    GitHub:
    ange
    Hi

    I'm trying to install Pocket Mine on CentOS 7 and coming up with the following error when I run the application.

    ./start.sh
    ./bin/php7/bin/php: error while loading shared libraries: libmvec.so.1: cannot open shared object file: No such file or directory

    I have downloaded and un tar'ed the latest version of php PHP_Linux-x86_64.tar.gz fromhttps://pmmp.readthedocs.io/en/rtfd/links.html#downloads and still no luck...

    Any help would be great
     
  2. Destroyer57

    Destroyer57 Zombie

    Messages:
    269
    https://github.com/pmmp/php-build-scripts/blob/master/compile.sh
     
  3. Ange

    Ange Spider

    Messages:
    6
    GitHub:
    ange
    Thanks for your suggestion but still no luck... now getting another error.... after running the

    https://github.com/pmmp/php-build-scripts/blob/master/compile.sh

    Maybe LibZip did't install ??? or is this something else ?

    [PocketMine] PHP compiler for Linux, MacOS and Android
    [INFO] Checking dependencies
    [INFO] Compiling for current machine using 64-bit
    PHP:
     downloading 7.3.7... done!
    [
    zlibdownloading 1.2.11... checking... compiling... installing... done!
    [
    GMPdownloading 6.1.2... checking... compiling... installing... done!
    [
    OpenSSLdownloading 1.1.0k... checking... compiling... installing... done!
    [
    cURLdownloading curl-7_65_1... checking... compiling... installing... done!
    [
    YAMLdownloading 0.2.2... checking... compiling... installing... done!
    [
    libzipdownloading 1.5.2... checking...[mcpe@mc minecraft]$ 

    [
    mcpe@mc minecraft]$ 

    [
    mcpe@mc minecraft]$ ./start.sh 

    PHP Warning
    :  Unsupported declare 'strict_types' in phar:///home/mcpe/minecraft/PocketMine-MP.phar/src/pocketmine/PocketMine.php on line 22

    PHP Parse error:  syntax errorunexpected '='expecting ')' in phar:///home/mcpe/minecraft/PocketMine-MP.phar/src/pocketmine/PocketMine.php on line 124

    [mcpe@mc minecraft]$
     
  4. Ange

    Ange Spider

    Messages:
    6
    GitHub:
    ange
    [[email protected] minecraft]$ ./start.sh

    PHP Warning: Unsupported declare 'strict_types' in phar:///home/mcpe/minecraft/PocketMine-MP.phar/src/pocketmine/PocketMine.php on line 22

    PHP Parse error: syntax error, unexpected '=', expecting ')' in phar:///home/mcpe/minecraft/PocketMine-MP.phar/src/pocketmine/PocketMine.php on line 124

    [[email protected] minecraft]$
     
  5. Ange

    Ange Spider

    Messages:
    6
    GitHub:
    ange
    Any advice would be great...... this is using. PocketMine-MP 3.9.0 For Minecraft: Bedrock Edition 1.12.x
     
  6. Ange

    Ange Spider

    Messages:
    6
    GitHub:
    ange
    Looks like the script never runs....100%

    Cmake version is wrong...
    [[email protected] minecraft]$ tail install.log

    make[2]: Entering directory `/home/mcpe/minecraft/install_data/yaml/tests'

    make[2]: Nothing to be done for `install-exec-am'.

    make[2]: Nothing to be done for `install-data-am'.

    make[2]: Leaving directory `/home/mcpe/minecraft/install_data/yaml/tests'

    make[1]: Leaving directory `/home/mcpe/minecraft/install_data/yaml/tests'

    CMake Error at CMakeLists.txt:4 (CMAKE_MINIMUM_REQUIRED):

    CMake 3.0.2 or higher is required. You are running version 2.8.12.2

    I have installed cmake3 but the installer is trying to run cmake which is versions 2.8.12.2
     
  7. Ange

    Ange Spider

    Messages:
    6
    GitHub:
    ange

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.