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

Failure installing

Discussion in 'Help' started by Steven Freeman, May 16, 2017.

  1. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    I've never had MacOS myself, but I have heard that you can install wget using brew, like this:
    Code:
    brew install wget
    Provided that you have brew installed, of course. You can read the instructions for that here.
     
  2. Steven Freeman

    Steven Freeman Silverfish

    Messages:
    16
    Sorry but I do not have brew and can't get it. So any ideas on how to install PMMP via the PHAR? Also Jason this is what I got from your code:
    bash: illegal option -- -

    Invalid option: -
     
  3. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    What do you mean?
     
  4. Steven Freeman

    Steven Freeman Silverfish

    Messages:
    16
    How did you install wget? is their a way to do so without brew?
     
  5. Steven Freeman

    Steven Freeman Silverfish

    Messages:
    16
    By using this
    Using .phar
    1. Create a new directory for PocketMine-MP.
    2. Download PocketMine-MP.phar from Jenkins.
    3. Rename the .phar to PocketMine-MP.phar.
    4. Place it in the PocketMine-MP directory you just created.
    but I'm not totally certain how to make a directory and then put the .phar in it.
     
  6. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    The phar file is only part of the PocketMine-MP software. It won't run without the other resources that the installer provides, or that you can download yourself, in case you have to install it manually.
    Maybe try one of the packages at this site? They're supposed to install wget on MacOS.
     
  7. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Run these commands:
    Code:
    mkdir PocketMine-MP
    mv PocketMine-MP.phar PocketMine-MP
     
  8. Steven Freeman

    Steven Freeman Silverfish

    Messages:
    16
    Ok I can't access my computer right now to try it but that looks right
     
  9. Steven Freeman

    Steven Freeman Silverfish

    Messages:
    16
    Ok so the first line of code works and makes a directory but the second one gives me this:
    mv: rename PocketMine-MP.phar to PocketMine-MP/PocketMine-MP.phar: No such file or directory Edit: Ok so it apparently made a folder in finder and so I put PocketMine-MP.phar in that folder I think this should probably work but I'm not 100% sure but I see absolutely no reason why it wouldn't
     
    Last edited: May 16, 2017
  10. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    You have to be in the directory that the phar is already in first.
     
  11. Steven Freeman

    Steven Freeman Silverfish

    Messages:
    16
    Errrmmm explain
     
  12. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    You have to have the original path of the phar file in the command to move it from anywhere. For instance, if your phar file was your downloads folder, you could do:
    Code:
    mkdir ~/PocketMine
    mv ~/Downloads/PocketMine-MP.phar ~/PocketMine
    However, if you're already in the same folder, you can simply do
    Code:
    mv PocketMine-MP.phar ~/PocketMine
    
    # You can also just the following if you're already in ~/ and so is PocketMine:
    
    mv PocketMine-MP.phar PocketMine
    That is at least, if you can use '~' to represent your home directory on MacOS, which I think you can, but please correct me if I'm wrong.
     
    Last edited: May 16, 2017
  13. Steven Freeman

    Steven Freeman Silverfish

    Messages:
    16
    Now it tells me that their is no such file or directory
     
  14. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Did you make sure to create the directory with mkdir first?
     
  15. Steven Freeman

    Steven Freeman Silverfish

    Messages:
    16
    Sorry wasn't here for a bit. But yes I did that, however the good news is that I will hopefully be getting a Linux box running in the future which I could then use
     
  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.