已解决
匿名用户 提问于 2015-10-15

 PHP安装失败,提示下载文件失败,可是在SRC目录下有已经以前下载成功的文件,脚本能不能做个优化,如果文件存在就不去下载
[root@lnmp]# libiconv-.tar.gz download failed, Please contact the author!
–2015-10-15 16:39:32– http://downloads.sourceforge.net/project/mcrypt/Libmcrypt//libmcrypt-.tar.gz
Resolving downloads.sourceforge.net… 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-10-15 16:39:33 ERROR 404: Not Found.
libmcrypt-.tar.gz download failed, Please contact the author!
../functions/download.sh: line 10: kill: (22419) – No such process
–2015-10-15 16:39:33– http://downloads.sourceforge.net/project/mhash/mhash//mhash-.tar.gz
Resolving downloads.sourceforge.net… 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-10-15 16:39:33 ERROR 404: Not Found.
mhash-.tar.gz download failed, Please contact the author!
../functions/download.sh: line 10: kill: (22419) – No such process
–2015-10-15 16:39:33– http://downloads.sourceforge.net/project/mcrypt/MCrypt//mcrypt-.tar.gz
Resolving downloads.sourceforge.net… 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-10-15 16:39:34 ERROR 404: Not Found.
mcrypt-.tar.gz download failed, Please contact the author!
../functions/download.sh: line 10: kill: (22419) – No such process
–2015-10-15 16:39:34– http://www.php.net/distributions/php-.tar.gz
Resolving http://www.php.net… failed: Name or service not known.
wget: unable to resolve host address “www.php.net”
php-.tar.gz download failed, Please contact the author!
../functions/download.sh: line 10: kill: (22419) – No such process
php5.3patch found
tar (child): libiconv-.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
functions/php-5.3.sh: line 20: cd: libiconv-: No such file or directory
functions/php-5.3.sh: line 21: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
tar (child): libmcrypt-.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
functions/php-5.3.sh: line 29: cd: libmcrypt-: No such file or directory
functions/php-5.3.sh: line 30: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
functions/php-5.3.sh: line 33: cd: libltdl/: No such file or directory
functions/php-5.3.sh: line 34: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
tar (child): mhash-.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
functions/php-5.3.sh: line 40: cd: mhash-: No such file or directory
functions/php-5.3.sh: line 41: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
ln: creating symbolic link `/usr/bin/libmcrypt-config’: File exists
ln: creating symbolic link `/lib64/libpcre.so.1′: File exists
tar (child): mcrypt-.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
functions/php-5.3.sh: line 57: cd: mcrypt-: No such file or directory
functions/php-5.3.sh: line 59: ./configure: No such file or directory
tar (child): php-.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
–2015-10-15 16:39:39– https://bugs.php.net/patch-display.php?bug_id=65398&patch=fpm-race-condition.patch&revision=1375772074&download=1
Resolving bugs.php.net… 69.195.222.219
Connecting to bugs.php.net|69.195.222.219|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 528 [application/octet-stream]
Saving to: “fpm-race-condition.patch”
0K 100% 27.1M=0s
2015-10-15 16:39:44 (27.1 MB/s) – “fpm-race-condition.patch” saved [528/528]
patch: **** Can’t change to directory php- : No such file or directory
functions/php-5.3.sh: line 69: cd: php-: No such file or directory
functions/php-5.3.sh: line 70: ../php5.3patch: No such file or directory
make: *** No rule to make target `clean’. Stop.
functions/php-5.3.sh: line 74: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install’. Stop.
PHP install failed, Please Contact the author!

1 答案

发布
管理员 2015-10-15

默认已经是这样的,下载前会检测是否已经包含,包含不会去下载,你这里的问题版本没获取到,可能是apps.conf 没有读到

#1

请登录或者 注册 来提交答案