1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

RPI: pocketmine don't want start

Discussion in 'Help' started by PLAY GEANT, Mar 8, 2020.

  1. PLAY GEANT

    PLAY GEANT Creeper

    Messages:
    3
    Hello,

    I have an raspberry pi 4 with 4gb of ram.
    I want to install pocketmine on my raspberry pi
    My raspberry pi is on ubuntu arm64 19.10 for 64 bits
    I have install php for linux but start.sh in terminal say:
    upload_2020-3-8_20-16-33.png
    translate:
    ./start.sh: line 60: /home/ubuntu/servermc/bin/php7/bin/php: unable to execute binary file: Format error for exec()
    ./start.sh: line 60: /home/ubuntu/servermc/bin/php7/bin/php: Success

    Thanks in advance for the help
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    EdwardHamHam, Primus and PLAY GEANT like this.
  3. PLAY GEANT

    PLAY GEANT Creeper

    Messages:
    3
    Ok thanks I try this
     
    HimbeersaftLP likes this.
  4. PLAY GEANT

    PLAY GEANT Creeper

    Messages:
    3
    Yes great thank you it works perfectly
     
    HimbeersaftLP likes this.
  5. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Awesome, glad I could help.
     
    Primus likes this.
  6. Skyler0x

    Skyler0x Creeper

    Messages:
    4
    I had the same problem, but when I follow the instructions I got this:
    [ERROR] Selected PHP binary (/usr/bin/php7.2) does not satify some requirements.
    - Unable to find BC Math (bcmath) extension.
    - Unable to find cURL (curl) extension
    - Unable to find Multibyte String (mbstring) extension
    - Unable to find pthreads extension
    - Unable to find the YAML extension
    -Unable to find the Zip extension
    [ERROR] please recompile PHP with the needed configuration, or refer to the installation instructions at http://pmmp.rtfd.io/en/rtfd/installation.html.
     
  7. PieCrazy

    PieCrazy Creeper

    Messages:
    3
    I keep on getting this error when trying to recompile. Will check back later, but if anyone can point me in the right direction that would be great. I'll keep on trying to figure this out.

    [pi@pi4 Pocketmine]$ ./compile.sh
    [PocketMine] PHP compiler for Linux, MacOS and Android
    [INFO] Checking dependencies
    [ERROR] Please install "make"
    [ERROR] Please install "autoconf"
    [ERROR] Please install "automake"
    [ERROR] Please install "m4"
    [ERROR] Please install "bison"
    [ERROR] Please install "g++"
    [ERROR] Please install "cmake"
    [ERROR] Please install "pkg-config"
    [ERROR] Please install "re2c"
    [pi@pi4 Pocketmine]$



    EDIT: I was able to find all of these dependencies, and i'm currently compiling. I'm sorry to have been a newbie
     
    Last edited: Nov 22, 2020
    Primus likes this.
  8. Primus

    Primus Zombie Pigman

    Messages:
    749
    You're a good newbie
     
  9. PieCrazy

    PieCrazy Creeper

    Messages:
    3
    It Was successful. The biggest issue i had was geting all my dependencies in order before recompiling. Thank you @HimbeersaftLP for the terminal code recompile. If anyone needs a tutorial on how to do so as brand new linux install on a PI4 i now know how to do it and have found the relavant info from researching the google and this form lol Also thank you @Primus for your kind Comments.
     
  10. timistwild

    timistwild Spider Jockey

    Messages:
    33
    So i also did the compiler manuel but i still have this problem:
    [PocketMine] PHP compiler for Linux, MacOS and Android
    [INFO] Checking dependencies
    [ERROR] Please install "make"
    [ERROR] Please install "autoconf"
    [ERROR] Please install "automake"
    [ERROR] Please install "m4"
    [ERROR] Please install "bison"
    [ERROR] Please install "g++"
    [ERROR] Please install "cmake"
    [ERROR] Please install "pkg-config"
    [ERROR] Please install "re2c"
    [ERROR] Please install "libtool" or "libtool-bin"

    Any ideas? Would be very thankful for help :)
     
  11. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Well, did you try to install those?
     
  12. timistwild

    timistwild Spider Jockey

    Messages:
    33
    Yea it worked... Sorry for my dumb question. thank you!
     
    HimbeersaftLP likes this.
  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.