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

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 11개는 보이지 않습니다)
2번째 줄: 2번째 줄:
;pear upgrade pear
;pear upgrade pear


==개요==
==업그레이드 시도==
<source lang='dos'>
pear 스스로 업그레이드
[root@jmnote ~]# pear upgrade pear
<syntaxhighlight lang='console'>
[root@zetawiki ~]# 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/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/Archive_Tar requires PEAR Installer (version >= 1.5.4), installed version is 1.4.9
12번째 줄: 13번째 줄:
.........done: 30,318 bytes
.........done: 30,318 bytes
ERROR: unable to unpack /tmp/tmpLZ7dOo/Structures_Graph-1.0.4.tgz
ERROR: unable to unpack /tmp/tmpLZ7dOo/Structures_Graph-1.0.4.tgz
</source>
</syntaxhighlight>
:→ 그냥 잘되면 좋은데 잘 안된다...


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


==같이 보기==
==같이 보기==
*[[PEAR 버전 확인]]
*[[PEAR 버전 확인]]
*[[WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net"]]
*[[WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net"]]
*[[Phar]]
==참고==
*http://stackoverflow.com/questions/8571925/upgrading-pear-on-x86-64-gnu-linux


[[분류: PECL]]
[[분류: PECL]]

2020년 11월 2일 (월) 02:56 기준 최신판

PEAR 업그레이드
pear upgrade pear

1 업그레이드 시도[ | ]

pear 스스로 업그레이드

[root@zetawiki ~]# 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@zetawiki ~]# 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]

3 설치[ | ]

[root@zetawiki ~]# 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!

4 같이 보기[ | ]

5 참고[ | ]

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