AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-167402

adoado0's questions

Martin Hope
adoado0
Asked: 2017-02-10 01:46:34 +0800 CST

PHP 编译问题 - 卡在“生成 phar.phar”

  • 0

我在一个“有点自定义”的 Centos 6/cPanel 服务器上从源代码编译 PHP 时遇到了问题。一般来说它过去可以工作,现在不行。在此框中编译了许多不同的 PHP,并且没有更大的问题。现在,任何版本的 PHP 都停留在:

'Generating phar.phar'.

一些输出:

Prerequisite `/root/php-7.0.13/ext/phar/phar/phar.inc' is older than target         `ext/phar/phar/phar.inc'.
  No need to remake target `ext/phar/phar/phar.inc'.
  Pruning file `/root/php-7.0.13/ext/phar/phar/clicommand.inc'.
  Pruning file `/root/php-7.0.13/ext/phar/phar/directorygraphiterator.inc'.
  Pruning file `/root/php-7.0.13/ext/phar/phar/directorytreeiterator.inc'.
  Pruning file `/root/php-7.0.13/ext/phar/phar/invertedregexiterator.inc'.
  Pruning file `/root/php-7.0.13/ext/phar/phar/pharcommand.inc'.
  Pruning file `/root/php-7.0.13/ext/phar/phar/phar.inc'.
  Pruning file `/root/php-7.0.13/ext/phar/phar/phar.php'.
  Pruning file `sapi/cli/php'.
  Finished prerequisites of target file ext/phar/phar.phar'.
  Must remake target ext/phar/phar.phar'.
  Putting child 0x022ef310 (ext/phar/phar.phar) PID 22348 on the chain.
  Live child 0x022ef310 (ext/phar/phar.phar) PID 22348 
  Generating phar.phar
  Reaping winning child 0x022ef310 PID 22348 
  Live child 0x022ef310 (ext/phar/phar.phar) PID 22349 
  Reaping winning child 0x022ef310 PID 22349 
  Live child 0x022ef310 (ext/phar/phar.phar) PID 22350 
  Reaping winning child 0x022ef310 PID 22350 
  Live child 0x022ef310 (ext/phar/phar.phar) PID 22351

我试过make'ing,只有1个线程,但没有帮助。

在“干净”之后:

Considering target file `/root/php-7.0.13/ext/phar/phar/phar.inc'.
  File `/root/php-7.0.13/ext/phar/phar/phar.inc' was considered already.
  Considering target file `/root/php-7.0.13/ext/phar/phar/phar.php'.
  File `/root/php-7.0.13/ext/phar/phar/phar.php' was considered already.
  Considering target file `sapi/cli/php'.
  File `sapi/cli/php' was considered already.
 Finished prerequisites of target file `ext/phar/phar.phar'.
 Must remake target `ext/phar/phar.phar'.
 Need a job token; we don't have children
 Putting child 0x00d53610 (ext/phar/phar.phar) PID 17444 on the chain.
 Commands of `ext/phar/phar.phar' are being run.
 Finished prerequisites of target file `pharcmd'.
 The prerequisites of `pharcmd' are being made.
 Finished prerequisites of target file `all'.
 The prerequisites of `all' are being made.
 Live child 0x00d53610 (ext/phar/phar.phar) PID 17444 
 Generating phar.phar
 Reaping winning child 0x00d53610 PID 17444 
 Live child 0x00d53610 (ext/phar/phar.phar) PID 17445 
 Reaping winning child 0x00d53610 PID 17445 
 Live child 0x00d53610 (ext/phar/phar.phar) PID 17446 
Reaping winning child 0x00d53610 PID 17446 
Live child 0x00d53610 (ext/phar/phar.phar) PID 17447

我尝试使用 make-4.2 而不是默认的 make-3.81,但它没有任何改变。

一些 strace 输出:

stat("/root/php-7.0.13/ext/phar/phar/phar.php", {st_mode=S_IFREG|0755,,st_size=992, ...}) = 0
stat("ext/phar/phar.phar", 0x7ffc5f1a4930) = -1 ENOENT (No such file or directory)
stat("ext/phar/phar/phar.inc", {st_mode=S_IFREG|0644, st_size=790, ...}) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16875
rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat("/root/php-7.0.13/ext/json/json_scanner.c", {st_mode=S_IFREG|0644,  st_size=29634, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
vfork()                                 = 16877
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(3, F_SETFD, 0)                    = 0
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(4, F_SETFD, 0)                    = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
wait4(-1, Generating phar.phar
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16877
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16877, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 16877
rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
vfork()                                 = 16878
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(3, F_SETFD, 0)                    = 0
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(4, F_SETFD, 0)                    = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16878
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16878,si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 16878
rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
vfork()                                 = 16879
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(3, F_SETFD, 0)                    = 0
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(4, F_SETFD, 0)                    = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16879
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16879, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 16879
rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
vfork()                                 = 16880
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(3, F_SETFD, 0)                    = 0
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(4, F_SETFD, 0)                    = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
wait4(-1, 
php centos6 compilation make
  • 1 个回答
  • 928 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve