"PEAR 업그레이드"의 두 판 사이의 차이

14번째 줄: 14번째 줄:
</source>
</source>


==해결방법==
<source lang='dos'>
<source lang='dos'>
[root@jmnote ~]# pear upgrade-all
[root@svn0 ~]# wget http://pear.php.net/go-pear.phar
Will upgrade pecl_http
--2013-08-03 21:56:24-- http://pear.php.net/go-pear.phar
Will upgrade archive_tar
Resolving pear.php.net... 5.77.39.20
Will upgrade console_getopt
Connecting to pear.php.net|5.77.39.20|:80... connected.
Will upgrade pear
HTTP request sent, awaiting response... 200 OK
Will upgrade xml_rpc
Length: 4082712 (3.9M) [application/octet-stream]
pear/Archive_Tar requires PEAR Installer (version >= 1.5.4), installed version is 1.4.9
Saving to: `go-pear.phar'
pear/Console_Getopt requires PEAR Installer (version >= 1.8.0), installed version is 1.4.9
 
pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.7), installed version is 1.3.1
100%[========================================================================>] 4,082,712    594K/s  in 7.0s   
pear/PEAR dependency package "pear/Console_Getopt" installed version 1.2 is not the recommended version 1.2.3, but may be compatible, use --force to install
 
downloading pecl_http-1.7.6.tgz ...
2013-08-03 21:56:32 (569 KB/s) - `go-pear.phar' saved [4082712/4082712]
Starting to download pecl_http-1.7.6.tgz (174,722 bytes)
.....................................done: 174,722 bytes
downloading XML_RPC-1.5.5.tgz ...
Starting to download XML_RPC-1.5.5.tgz (31,862 bytes)
...done: 31,862 bytes
downloading Structures_Graph-1.0.4.tgz ...
Starting to download Structures_Graph-1.0.4.tgz (30,318 bytes)
...done: 30,318 bytes
ERROR: unable to unpack /tmp/tmpkZ1A6F/Structures_Graph-1.0.4.tgz
upgrade-all ok: channel://pear.php.net/XML_RPC-1.5.5
71 source files, building
running: phpize
Configuring for:
PHP Api Version:        20090626
Zend Module Api No:      20090626
Zend Extension Api No:  220090626
whether to enable cURL HTTP requests; specify libcurl directory [yes] :
</source>
</source>
:{{Enter}} 몇번...
<source lang='dos'>
<source lang='dos'>
whether to enable support for gzencoded/deflated message bodies; specify zlib directory [yes] :  
[root@svn0 ~]# php go-pear.phar
whether to enable response content type guessing; specify libmagic directory [no] :  
 
whether to depend on extensions which have been built shared [yes] :  
Below is a suggested file layout for your new PEAR installation.  To
building in /var/tmp/pear-build-root/pecl_http-1.7.6
change individual locations, type the number in front of the
running: /tmp/tmpkZ1A6F/pecl_http-1.7.6/configure --with-http-curl-requests --with-http-zlib-compression --with-http-magic-mime=no --with-http-shared-deps
directory.  Type 'all' to change all of them or simply press Enter to
checking for egrep... grep -E
accept these locations.
 
1. Installation base ($prefix)                  : /usr
2. Temporary directory for processing            : /tmp/pear/install
3. Temporary directory for downloads            : /tmp/pear/install
4. Binaries directory                            : /usr/bin
5. PHP code directory ($php_dir)                : /usr/share/pear
6. Documentation directory                      : /usr/docs
7. Data directory                                : /usr/data
8. User-modifiable configuration files directory : /usr/cfg
9. Public Web Files directory                    : /usr/www
10. Tests directory                               : /usr/tests
11. Name of configuration file                    : /etc/pear.conf
 
1-11, 'all' or Enter to continue:
</source>
:{{Enter}}
<source lang='dos'>
Beginning install...
Configuration written to /etc/pear.conf...
Initialized registry...
Preparing to install...
installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.11.tar...
installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.1.tar...
... (생략)
... (생략)
Installing '/var/tmp/pear-build-root/install-pecl_http-1.7.6//usr/include/php/ext/http/php_http_cache_api.h'
Thanks for using go-pear!
Installing '/var/tmp/pear-build-root/install-pecl_http-1.7.6//usr/lib64/php/modules/http.so'
</source>
upgrade-all ok: channel://pecl.php.net/pecl_http-1.7.6
 
You should add "extension=http.so" to php.ini
<source lang='dos'>
</source>
<source lang='dos'>
</source>
<source lang='dos'>
</source>
</source>



2013년 8월 3일 (토) 21:58 판

PEAR 업그레이드
pear upgrade pear

1 개요

[root@jmnote ~]# pear upgrade pear
pear/PEAR dependency package "pear/Console_Getopt" downloaded version 1.3.1 is not the recommended version 1.2.3, but may be compatible, use --force to install
pear/Archive_Tar requires PEAR Installer (version >= 1.5.4), installed version is 1.4.9
pear/Console_Getopt requires PEAR Installer (version >= 1.8.0), installed version is 1.4.9
downloading Structures_Graph-1.0.4.tgz ...
Starting to download Structures_Graph-1.0.4.tgz (30,318 bytes)
.........done: 30,318 bytes
ERROR: unable to unpack /tmp/tmpLZ7dOo/Structures_Graph-1.0.4.tgz

2 해결방법

[root@svn0 ~]# wget http://pear.php.net/go-pear.phar
--2013-08-03 21:56:24--  http://pear.php.net/go-pear.phar
Resolving pear.php.net... 5.77.39.20
Connecting to pear.php.net|5.77.39.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4082712 (3.9M) [application/octet-stream]
Saving to: `go-pear.phar'

100%[========================================================================>] 4,082,712    594K/s   in 7.0s    

2013-08-03 21:56:32 (569 KB/s) - `go-pear.phar' saved [4082712/4082712]
[root@svn0 ~]# php go-pear.phar

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)                   : /usr
 2. Temporary directory for processing            : /tmp/pear/install
 3. Temporary directory for downloads             : /tmp/pear/install
 4. Binaries directory                            : /usr/bin
 5. PHP code directory ($php_dir)                 : /usr/share/pear
 6. Documentation directory                       : /usr/docs
 7. Data directory                                : /usr/data
 8. User-modifiable configuration files directory : /usr/cfg
 9. Public Web Files directory                    : /usr/www
10. Tests directory                               : /usr/tests
11. Name of configuration file                    : /etc/pear.conf

1-11, 'all' or Enter to continue:
Enter
Beginning install...
Configuration written to /etc/pear.conf...
Initialized registry...
Preparing to install...
installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.11.tar...
installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.1.tar...
... (생략)
Thanks for using go-pear!

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}