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

Help! How do i install MCPE 1.0 Server on Freebsd?

Discussion in 'General discussion' started by Ijovil, Dec 20, 2016.

  1. Ijovil

    Ijovil Creeper

    Messages:
    4
    I have a Freebsd 11 , and want to install PM for MCPE 1.0

    I tried the cloning the git and then starting start.sh but it says :
    start.sh: ${BASH_SOURCE[...}: Bad substitution
    start.sh: [[: not found
    Couldn't find a working PHP 7 binary, please use the installer.

    So what can I do? I have PHP 7 installed on my server so that should NOT be the problem..

    And also there is a src folder but the bin folder is not there how do I compile this? Do I have to even compile?

    And where the hell is that installer???
     
    Last edited: Dec 20, 2016
  2. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
  3. Ijovil

    Ijovil Creeper

    Messages:
    4
    Nono I cloned the git but I get the error message when I run sh start.sh

    The experimental 1.0 version cloned on my server :
    Code:
    
    start.sh: ${BASH_SOURCE[...}: Bad substitution
    start.sh: [[: not found
    Couldn't find a working PHP 7 binary, please use the installer.
    
    
    I even tried a 0.16 version just for testing but it didn't work either ( I don't want 0.16 anyway but still ..)


    Here the "stable" version
    Code:
    
    curl -sL https://get.pmmp.io | bash -s -
    date: illegal option -- -
    usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
                [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
    [*] Found PocketMine-MP 1.6.1dev (build 128) 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] no build found, compiling PHP automatically
    bash: /home/mcpeserver/PM10/compile.sh: /bin/bash: bad interpreter: No such file or directory
    bash: line 468: /home/mcpeserver/PM10/compile.sh: No error: 0
    
    
    
     
  4. Magicode

    Magicode Baby Zombie

    Messages:
    183
    GitHub:
    magicode1
    HimbeersaftLP and Ijovil like this.
  5. Ijovil

    Ijovil Creeper

    Messages:
    4
    I know this is experimental and such but it won't start on Freebsd as of now, what am I missing? What do I have to do now?

    Oh and for your information I downloaded all neccessary things like RakLib etc like it says here :
    https://pmmp.io/get.html

    Sadly it does not work with the PHP binary for Linux 7.0.13 :

    Code:
    
    ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2
    Abort trap
    
    
    I have kldload linux and kldload linux64 and have installed the port emulators/linux_base-c6 so.. I really do not know why it will not work..
    I think it is not possible for Freebsd to run this..
     
    Last edited: Dec 20, 2016
    Magicode likes this.
  6. Magicode

    Magicode Baby Zombie

    Messages:
    183
    GitHub:
    magicode1
    You're probably right. You may just have to switch to a different OS/Host. I find that Linux is the easiest to get it working on (It's just the easiest for servers in general), plus, Linux is nice and lightweight and will give you the best performance.
     
    Ijovil likes this.
  7. Ijovil

    Ijovil Creeper

    Messages:
    4
    I hope the devs can compile it for Freebsd though.
     
    Last edited: Dec 20, 2016
    Magicode 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.