Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Install errors #968

Closed
mrcbax opened this issue Dec 1, 2013 · 12 comments
Closed

Install errors #968

mrcbax opened this issue Dec 1, 2013 · 12 comments

Comments

@mrcbax
Copy link

mrcbax commented Dec 1, 2013

PocketMine-MP alpha 1.3.10 on Kali Linux(Debian Based) amd64

Install of PocketMine goes smoothly but when run it encounters many errors and quits. Used installer.sh from the website. This is output into console:

2013-12-01 21:58:05 [ERROR] Unable to find the pthreads extension.
2013-12-01 21:58:05 [ERROR] Unable to find the cURL extension.
2013-12-01 21:58:05 [ERROR] Unable to find the SQLite3 extension.
2013-12-01 21:58:05 [ERROR] Please use the installer provided on the homepage.

here is the install log:

http://pastebin.com/w8m2Ts29

@shoghicp
Copy link
Member

shoghicp commented Dec 2, 2013

Check if bin/php exists (in the PocketMine-MP folder)

@mrcbax
Copy link
Author

mrcbax commented Dec 2, 2013

"bin" exists but no "php" inside "bin"

@shoghicp
Copy link
Member

shoghicp commented Dec 2, 2013

Try to run CFLAGS=-m32 ./src/build/compile.sh

@mrcbax
Copy link
Author

mrcbax commented Dec 2, 2013

provides the same error after CFLAGS=-m32 ./src/build/compile.sh is run.

@mrcbax
Copy link
Author

mrcbax commented Dec 2, 2013

upon looking at your start.sh code:
#!/bin/bash
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
cd "$DIR"
if [ -f ./php5/bin/php ]; then
mkdir -m 0777 bin/
mv ./php5/bin/php ./bin/php <--------HERE
rm -r -f ./php5/
fi
if [ -f ./bin/php ]; then
./bin/php -d enable_dl=On PocketMine-MP.php $@
else
php -d enable_dl=On PocketMine-MP.php $@
fi

there is an empty php5 folder in the home dir without the folders called /bin/php why not just place php folder directly in the bin folder on install?

@mrcbax
Copy link
Author

mrcbax commented Dec 2, 2013

And Agian:
#!/bin/bash
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
cd "$DIR"
if [ -f ./php5/bin/php ]; then <------HERE
mkdir -m 0777 bin/
mv ./php5/bin/php ./bin/php
rm -r -f ./php5/
fi
if [ -f ./bin/php ]; then
./bin/php -d enable_dl=On PocketMine-MP.php $@
else
php -d enable_dl=On PocketMine-MP.php $@
fi

that statement should end up true but since there is no ./php5/bin/php/ in the home directory it is false...that is what is causing the problem...or at least where the problem lies.

@mrcbax
Copy link
Author

mrcbax commented Dec 3, 2013

ha...just realized that PocketMine-MP only works with Android...Well who cares...I still want to get it working.

@shoghicp
Copy link
Member

shoghicp commented Dec 3, 2013

hmmm...
PocketMine-MP works on Windows, Linux, Mac OSX, Android, and hopefully iOS in the near future

@mrcbax
Copy link
Author

mrcbax commented Dec 4, 2013

Still haven't solved the issue though...the only thing I can think is that I custom installed LAMP (Linux Apache2, MySQL, PHP servers) which may be the cause of the issue.

@mrcbax
Copy link
Author

mrcbax commented Dec 8, 2013

There are lots of similar issues...I was wondering, instead of using the installer can I use git? And If I can I would love to know were Id have to unpack all the files to.

@msjyoo
Copy link
Member

msjyoo commented Dec 14, 2013

You can use git if you have the PHP binary.

@msjyoo msjyoo closed this as completed Dec 14, 2013
@ghost
Copy link

ghost commented Jul 6, 2017

Why dont you just reinstall Linux on a VM and try run it on there?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants