全球主机交流论坛

标题: 甲骨文 Ubuntu 宝塔上 想装 php5.2 怎么实现 [打印本页]

作者: Toools    时间: 2023-7-5 09:58
标题: 甲骨文 Ubuntu 宝塔上 想装 php5.2 怎么实现
本帖最后由 Toools 于 2023-7-5 11:15 编辑

有没办法
默认安装 不管是急速 还是编译, 都失败

ARM    4H  24G   由于有程序需要php5.2



报错如下



Connecting to dg1.bt.cn (dg1.bt.cn)|36.133.1.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1809 (1.8K) [application/octet-stream]
Saving to: ‘/patch/debian_patches_disable_SSLv2_for_openssl_1_0_0.patch’

0K . 100% 203M=0s

2023-07-05 11:10:21 (203 MB/s) - ‘/patch/debian_patches_disable_SSLv2_for_openssl_1_0_0.patch’ saved [1809/1809]

--2023-07-05 11:10:21-- https://dg1.bt.cn/src/patch/php-5.2-multipart-form-data.patch
Resolving dg1.bt.cn (dg1.bt.cn)... 36.133.1.8, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg1.bt.cn (dg1.bt.cn)|36.133.1.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2150 (2.1K) [application/octet-stream]
Saving to: ‘/patch/php-5.2-multipart-form-data.patch’

0K .. 100% 434M=0s

2023-07-05 11:10:21 (434 MB/s) - ‘/patch/php-5.2-multipart-form-data.patch’ saved [2150/2150]

patching file configure
Hunk #1 succeeded at 2176 (offset 11 lines).
patching file configure.in
patching file main/main.c
patching file main/php_globals.h
patching file main/php_variables.c
patching file main/php_version.h
patching file ext/dom/node.c
Hunk #1 succeeded at 1950 (offset 55 lines).
patching file ext/dom/documenttype.c
Hunk #1 succeeded at 215 (offset 10 lines).
patching file ext/simplexml/simplexml.c
Hunk #1 succeeded at 1343 (offset -74 lines).
patching file ext/openssl/xp_ssl.c
Hunk #1 succeeded at 332 (offset 4 lines).
Hunk #2 succeeded at 354 (offset 4 lines).
Hunk #3 succeeded at 583 (offset -50 lines).
Hunk #4 succeeded at 819 (offset -98 lines).
patching file main/rfc1867.c
ln: failed to create symbolic link '/usr/lib/libjpeg.so': File exists
ln: failed to create symbolic link '/usr/lib/libpng.so': File exists
cat: /www/server/panel/install/php/52/config.pl: No such file or directory
Forcing buildconf
buildconf: checking installation...
buildconf: autoconf not found.
You need autoconf version 2.13 or newer installed
to build PHP from CVS.
make: *** [build/build.mk:40: buildmk.stamp] Error 1
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... ./config.guess: unable to guess system type

This script, last modified 2008-01-23, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to in order to provide the needed
information to handle your system.

config.guess timestamp = 2008-01-23

uname -m = aarch64
uname -r = 5.15.0-1038-oracle
uname -s = Linux
uname -v = #44~20.04.1-Ubuntu SMP Thu Jun 22 16:39:12 UTC 2023

/usr/bin/uname -p = aarch64
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = aarch64
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.15.0-1038-oracle
UNAME_SYSTEM = Linux
UNAME_VERSION = #44~20.04.1-Ubuntu SMP Thu Jun 22 16:39:12 UTC 2023
configure: error: can not guess host type; you must specify one
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
========================================================
Ubuntu 20.04.2 LTS
\l
Bit:64 Mem:23862M Core:4 gcc:9.4.0 cmake:3.16.3
Linux 5.15.0-1038-oracle aarch64
ERROR: php-5.2 installation failed.
|-Successify --- 命令已执行! ---
作者: WZ-Software    时间: 2023-7-5 10:08
ARM还是AMD
作者: Apian    时间: 2023-7-5 10:11
5.3都装不上。。。
作者: LiuJia    时间: 2023-7-5 10:25
楼主您好,可以尝试查看一下日志,然后搜索相关的解决方法。
作者: Toools    时间: 2023-7-5 11:08
WZ-Software 发表于 2023-7-5 10:08
ARM还是AMD

ARM
作者: Toools    时间: 2023-7-5 11:14
Connecting to dg1.bt.cn (dg1.bt.cn)|36.133.1.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1809 (1.8K) [application/octet-stream]
Saving to: ‘/patch/debian_patches_disable_SSLv2_for_openssl_1_0_0.patch’

0K . 100% 203M=0s

2023-07-05 11:10:21 (203 MB/s) - ‘/patch/debian_patches_disable_SSLv2_for_openssl_1_0_0.patch’ saved [1809/1809]

--2023-07-05 11:10:21-- https://dg1.bt.cn/src/patch/php-5.2-multipart-form-data.patch
Resolving dg1.bt.cn (dg1.bt.cn)... 36.133.1.8, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg1.bt.cn (dg1.bt.cn)|36.133.1.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2150 (2.1K) [application/octet-stream]
Saving to: ‘/patch/php-5.2-multipart-form-data.patch’

0K .. 100% 434M=0s

2023-07-05 11:10:21 (434 MB/s) - ‘/patch/php-5.2-multipart-form-data.patch’ saved [2150/2150]

patching file configure
Hunk #1 succeeded at 2176 (offset 11 lines).
patching file configure.in
patching file main/main.c
patching file main/php_globals.h
patching file main/php_variables.c
patching file main/php_version.h
patching file ext/dom/node.c
Hunk #1 succeeded at 1950 (offset 55 lines).
patching file ext/dom/documenttype.c
Hunk #1 succeeded at 215 (offset 10 lines).
patching file ext/simplexml/simplexml.c
Hunk #1 succeeded at 1343 (offset -74 lines).
patching file ext/openssl/xp_ssl.c
Hunk #1 succeeded at 332 (offset 4 lines).
Hunk #2 succeeded at 354 (offset 4 lines).
Hunk #3 succeeded at 583 (offset -50 lines).
Hunk #4 succeeded at 819 (offset -98 lines).
patching file main/rfc1867.c
ln: failed to create symbolic link '/usr/lib/libjpeg.so': File exists
ln: failed to create symbolic link '/usr/lib/libpng.so': File exists
cat: /www/server/panel/install/php/52/config.pl: No such file or directory
Forcing buildconf
buildconf: checking installation...
buildconf: autoconf not found.
You need autoconf version 2.13 or newer installed
to build PHP from CVS.
make: *** [build/build.mk:40: buildmk.stamp] Error 1
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... ./config.guess: unable to guess system type

This script, last modified 2008-01-23, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to in order to provide the needed
information to handle your system.

config.guess timestamp = 2008-01-23

uname -m = aarch64
uname -r = 5.15.0-1038-oracle
uname -s = Linux
uname -v = #44~20.04.1-Ubuntu SMP Thu Jun 22 16:39:12 UTC 2023

/usr/bin/uname -p = aarch64
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = aarch64
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.15.0-1038-oracle
UNAME_SYSTEM = Linux
UNAME_VERSION = #44~20.04.1-Ubuntu SMP Thu Jun 22 16:39:12 UTC 2023
configure: error: can not guess host type; you must specify one
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
========================================================
Ubuntu 20.04.2 LTS
\l
Bit:64 Mem:23862M Core:4 gcc:9.4.0 cmake:3.16.3
Linux 5.15.0-1038-oracle aarch64
ERROR: php-5.2 installation failed.
|-Successify --- 命令已执行! ---
作者: yanzhiling2002    时间: 2023-7-5 11:16
我此前遇到过,宝塔死活装不上环境的事,最后换了IP解决了。事后分析可能被高墙给干扰了




欢迎光临 全球主机交流论坛 (https://sunk.eu.org/) Powered by Discuz! X3.4