Development

BeginningSymfonyWithPear (diff)

You must first sign up to be able to contribute.

Changes between Version 13 and Version 14 of BeginningSymfonyWithPear

Show
Ignore:
Author:
Paul.Lomax (IP: 82.68.244.30)
Timestamp:
10/03/07 01:43:32 (10 years ago)
Comment:

Phing instructions changed to use phing channel

Legend:

Unmodified
Added
Removed
Modified
  • BeginningSymfonyWithPear

    v13 v14  
    169169but it needs some configuration changes from the normal stuff. 
    170170{{{ 
    171 pear install http://phing.info/pear/phing-current.tgz 
    172 }}} 
    173 will fail as follows: 
    174 {{{ 
    175 C:\xampp\php>pear install http://phing.info/pear/phing-current.tgz 
    176 downloading phing-current.tgz ... 
    177 Starting to download phing-current.tgz (361,527 bytes) 
    178 .........................................................................done: 361,527 bytes 
    179 Did not download dependencies: pear/VersionControl_SVN, pear/PHPUnit2, pecl/Xdebug,  
    180 use --alldeps or --onlyreqdeps to download automatically 
    181 pear/phing can optionally use package "pear/VersionControl_SVN" (version >= 0.3.0alpha1) 
    182 pear/phing can optionally use package "pear/PHPUnit2" (version >= 2.2.0) 
    183 pear/phing requires package "pear/PhpDocumentor" (version >= 1.3.0RC3), installed version is 1.2.3 
    184 pear/phing can optionally use package "pear/Xdebug" (version >= 2.0.0beta2) 
    185 No valid packages found 
    186 install failed 
    187 }}} 
    188 Following the suggested directions of using ''--alldeps'' helps, but gets you this: 
    189 {{{ 
    190 C:\xampp\php>pear install --alldeps http://phing.info/pear/phing-current.tgz 
    191 downloading phing-current.tgz ... 
    192 Starting to download phing-current.tgz (361,527 bytes) 
    193 .........................................................................done: 361,527 bytes 
    194 Failed to download pear/VersionControl_SVN, version "0.3.0alpha1", latest release is version 0.3.0alpha1,  
    195 stability "alpha", use "channel://pear.php.net/VersionControl_SVN-0.3.0alpha1" to install 
    196 Failed to download pecl/Xdebug within preferred state "stable", latest release is version 2.0.0beta4,  
    197 stability "beta", use "channel://pecl.php.net/Xdebug-2.0.0beta4" to install 
    198 pear/phing can optionally use package "pear/VersionControl_SVN" (version >= 0.3.0alpha1) 
    199 pear/phing requires package "pear/PhpDocumentor" (version >= 1.3.0RC3), installed version is 1.2.3 
    200 pear/phing can optionally use package "pear/Xdebug" (version >= 2.0.0beta2) 
    201 pear/PHPUnit2 can optionally use PHP extension "xdebug" (version >= 2.0.0beta2) 
    202 downloading PHPUnit2-2.3.3.tgz ... 
    203 Starting to download PHPUnit2-2.3.3.tgz (43,119 bytes) 
    204 ...done: 43,119 bytes 
    205 install ok: channel://pear.php.net/PHPUnit2-2.3.3 
    206 }}} 
    207 It gets some, but misses the ''alpha'' and ''beta'' packages.  To get these packages,  
    208 you must change the pear preferred-state. 
    209 {{{ 
    210 pear config-set preferred_state alpha 
    211 pear install --alldeps http://phing.info/pear/phing-current.tgz 
    212 }}} 
    213 Running these two commands gets the software installed, but kicked some non-fatal errors out: 
    214 {{{ 
    215 C:\xampp\php>pear config-set preferred_state alpha 
    216 config-set succeeded 
    217  
    218 C:\xampp\php>pear install --alldeps http://phing.info/pear/phing-current.tgz 
     171pear channel-discover pear.phing.info 
     172}}} 
     173Followed by 
     174{{{ 
     175pear install phing/phing 
     176}}} 
     177And you should see something like: 
     178{{{ 
    219179downloading phing-current.tgz ... 
    220180Starting to download phing-current.tgz (361,527 bytes)