PocketMine / PocketMine-MP

Legacy PocketMine-MP repository. Head to https://github.com/pmmp for up to date software.
https://www.pocketmine.net/
GNU Lesser General Public License v3.0
1.26k stars 660 forks source link

Install Error Vps Linux #861

Closed ShaderGameing closed 10 years ago

ShaderGameing commented 10 years ago

root@ShaderGameing:/# cd root root@ShaderGameing:~# cd PMMP root@ShaderGameing:~/PMMP# chmod 0755 PocketMine-MP_Installer_Alpha_1.3.9.sh root@ShaderGameing:~/PMMP# ./PocketMine-MP_Installer_Alpha_1.3.9.sh [INFO] PocketMine-MP Alpha_1.3.9 downloader & installer for Linux & Mac [0/2] Cleaning... [1/2] Downloading PocketMine-MP Alpha_1.3.9... [2/2] Compiling PHP [PocketMine] PHP installer and compiler for Linux & Mac [INFO] Checking dependecies [INFO] Compiling for current machine [PHP] downloading 5.5.3... done! [zlib] downloading 1.2.8... checking... compiling... installing... cleaning... done! [cURL] downloading curl-7_32_0... checking... compiling... installing... cleaning... done! [PHP pthreads] downloading 0.0.44... done! [PHP] checking... compiling... installing... done! [INFO] Cleaning up... done! [PocketMine] You should start the server now using "./start.sh" [PocketMine] If it doesn't works, please send the "install.log" file to the Bug Tracker [INFO] Done root@ShaderGameing:~/PMMP# ./start.sh ./start.sh: line 11: 30513 Illegal instruction ./bin/php -d enable_dl=On PocketMine-MP.php $@ 03:37:29 [ERROR] Use PHP >= 5.4.0 03:37:29 [ERROR] Unable to find the pthreads extension. 03:37:29 [ERROR] Unable to find the cURL extension. 03:37:29 [ERROR] Unable to find the SQLite3 extension. 03:37:29 [ERROR] Please use the installer provided on the homepage!

msjyoo commented 10 years ago

Try manually doing ./bin/php -d enable_dl=On PocketMine-MP.php. Does it work?

shunfan commented 10 years ago

I had the same problem:

System: Debian 7

perry@hazel:~/pocketmine$ ./start.sh
14:21:32 [ERROR] Unable to find the pthreads extension.
14:21:32 [ERROR] Unable to find the cURL extension.
14:21:32 [ERROR] Unable to find the SQLite3 extension.
14:21:32 [ERROR] Please use the installer provided on the homepage.

perry@hazel:~/pocketmine$ php -d enable_dl=On PocketMine-MP.php
14:24:03 [ERROR] Unable to find the pthreads extension.
14:24:03 [ERROR] Unable to find the cURL extension.
14:24:03 [ERROR] Unable to find the SQLite3 extension.
14:24:03 [ERROR] Please use the installer provided on the homepage.

Install.log:

Mon Nov 18 15:14:56 UTC 2013
Linux hazel 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux
make is /usr/bin/make
autoconf is /usr/bin/autoconf
automake is /usr/bin/automake
libtool is /usr/bin/libtool
m4 is /usr/bin/m4
wget is /usr/bin/wget
gcc is /usr/bin/gcc
The following options are target specific:
  -m128bit-long-double                  [disabled]
  -m32                                  [disabled]
  -m3dnow                               [disabled]
  -m3dnowa                              [disabled]
  -m64                                  [enabled]
  -m80387                               [enabled]
  -m8bit-idiv                           [disabled]
  -m96bit-long-double                   [enabled]
  -mabi=                                sysv
  -mabm                                 [disabled]
  -maccumulate-outgoing-args            [disabled]
  -maes                                 [disabled]
  -malign-double                        [disabled]
  -malign-functions=                    0
  -malign-jumps=                        0
  -malign-loops=                        0
  -malign-stringops                     [enabled]
  -mandroid                             [disabled]
  -march=                               pentium-m
  -masm=                                att
  -mavx                                 [disabled]
  -mavx2                                [disabled]
  -mavx256-split-unaligned-load         [disabled]
  -mavx256-split-unaligned-store        [disabled]
  -mbionic                              [disabled]
  -mbmi                                 [disabled]
  -mbmi2                                [disabled]
  -mbranch-cost=                        0
  -mcld                                 [disabled]
  -mcmodel=                             32
  -mcpu=                      
  -mcrc32                               [disabled]
  -mcx16                                [enabled]
  -mdispatch-scheduler                  [disabled]
  -mf16c                                [disabled]
  -mfancy-math-387                      [enabled]
  -mfentry                              [enabled]
  -mfma                                 [disabled]
  -mfma4                                [disabled]
  -mforce-drap                          [disabled]
  -mfp-ret-in-387                       [enabled]
  -mfpmath=                             387
  -mfsgsbase                            [disabled]
  -mfused-madd                
  -mglibc                               [enabled]
  -mhard-float                          [enabled]
  -mieee-fp                             [enabled]
  -mincoming-stack-boundary=            0
  -minline-all-stringops                [disabled]
  -minline-stringops-dynamically        [disabled]
  -mintel-syntax              
  -mlarge-data-threshold=               0x10000
  -mlwp                                 [disabled]
  -mlzcnt                               [disabled]
  -mmmx                                 [disabled]
  -mmovbe                               [disabled]
  -mms-bitfields                        [disabled]
  -mno-align-stringops                  [disabled]
  -mno-fancy-math-387                   [disabled]
  -mno-push-args                        [disabled]
  -mno-red-zone                         [disabled]
  -mno-sse4                             [enabled]
  -momit-leaf-frame-pointer             [disabled]
  -mpc32                                [disabled]
  -mpc64                                [disabled]
  -mpc80                                [disabled]
  -mpclmul                              [disabled]
  -mpopcnt                              [enabled]
  -mprefer-avx128                       [disabled]
  -mpreferred-stack-boundary=           0
  -mpush-args                           [enabled]
  -mrdrnd                               [disabled]
  -mrecip                               [disabled]
  -mrecip=                    
  -mred-zone                            [enabled]
  -mregparm=                            0
  -mrtd                                 [disabled]
  -msahf                                [enabled]
  -msoft-float                          [disabled]
  -msse                                 [disabled]
  -msse2                                [disabled]
  -msse2avx                             [disabled]
  -msse3                                [disabled]
  -msse4                                [disabled]
  -msse4.1                              [disabled]
  -msse4.2                              [disabled]
  -msse4a                               [disabled]
  -msse5                      
  -msseregparm                          [disabled]
  -mssse3                               [disabled]
  -mstack-arg-probe                     [disabled]
  -mstackrealign                        [enabled]
  -mstringop-strategy=                  [default]
  -mtbm                                 [disabled]
  -mtls-dialect=                        gnu
  -mtls-direct-seg-refs                 [enabled]
  -mtune=                               generic
  -muclibc                              [disabled]
  -mveclibabi=                          [default]
  -mvect8-ret-in-mem                    [disabled]
  -mvzeroupper                          [disabled]
  -mx32                                 [disabled]
  -mxop                                 [disabled]

  Known assembler dialects (for use with the -masm-dialect= option):
    att intel

  Known ABIs (for use with the -mabi= option):
    ms sysv

  Known code models (for use with the -mcmodel= option):
    32 kernel large medium small

  Valid arguments to -mfpmath=:
    387 387+sse 387,sse both sse sse+387 sse,387

  Known vectorization library ABIs (for use with the -mveclibabi= option):
    acml svml

  Valid arguments to -mstringop-strategy=:
    byte_loop libcall loop rep_4byte rep_8byte rep_byte unrolled_loop

  Known TLS dialects (for use with the -mtls-dialect= option):
    gnu gnu2

Compiler error reporting is too harsh for ./configure (perhaps remove -Werror).
** ./configure aborting.
mrcbax commented 10 years ago

just like this issue: https://github.com/PocketMine/PocketMine-MP/issues/968