Modify

Ticket #89 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

Phing pear install fails trying to delete phing directory

Reported by: DougWarner <silfreed-phing@…> Owned by: hans
Priority: major Milestone:
Component: phing-core Version: 2.3.0beta1
Keywords: Cc:

Description

Trying to install phing-2.3.0beta1, I get the folling error (this may be related to ticket 85):

$ pear -c pear.rc install phing/phing-beta
Did not download optional dependencies: pear/PHPUnit2, pear/PhpDocumentor, pear/Xdebug, pear/PEAR_PackageFileManager, use --alldeps to download automatically
phing/phing can optionally use package "pear/PHPUnit2" (version >= 2.3.0)
phing/phing can optionally use package "pear/PhpDocumentor" (version >= 1.3.0RC3)
phing/phing can optionally use package "pear/Xdebug" (version >= 2.0.0beta2)
phing/phing can optionally use package "pear/PEAR_PackageFileManager" (version >= 1.5.2)
downloading phing-2.3.0beta1.tgz ...
Starting to download phing-2.3.0beta1.tgz (397,990 bytes)
.................................................................................done: 397,990 bytes
Could not delete /home/silfreed/svn/expdyn/EclipseWorkspace/workxpress2/lib/pear/phing, cannot rename /home/silfreed/svn/expdyn/EclipseWorkspace/workxpress2/lib/pear/.tmpphing
ERROR: commit failed

Attachments

package.xml.diff Download (383 bytes) - added by DougWarner <silfreed-phing@…> 5 years ago.
package.xml to rename phing executable on unix

Change History

Changed 5 years ago by DougWarner <silfreed-phing@…>

package.xml to rename phing executable on unix

comment:1 Changed 5 years ago by DougWarner <silfreed-phing@…>

Okay; I think I figured out that the problem was the executable file that was trying to install after the 'phing' library directory already existed. It was trying to install as 'phing' as well and the name conflicted. I renamed the executable to 'phingcmd' and the installation seemed to complete fine.

comment:2 Changed 5 years ago by hans

  • Status changed from new to closed
  • Resolution set to invalid

This is not a Phing bug -- at least, not as formulated here. This seems to be a configuration or permissions issue. The executable script needs to be named Phing.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.