Re: Installing PEAR2/Pyrus

From: Date: Wed, 27 Apr 2011 15:35:28 +0000
Subject: Re: Installing PEAR2/Pyrus
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-54236@lists.php.net to get a copy of this message
On Mon, Apr 25, 2011 at 12:58 PM, Dmitry Belyakov <dmitrybelyakov@gmail.com>wrote: > > Hello, > > It's my first take on pear & pyrus. What I'm trying to do in set up a pear > channel. In order to do packaging I'm trying to also install the > PEAR2_Pyrus-2.0.0a3 but that gives me an exception: > > > # php pyrus.phar install PEAR2_Pyrus-2.0.0a3 > > PEAR2\Pyrus\Installer\Exception: Installation failed > PEAR2\Pyrus\AtomicFileTransaction\MultiException: Unable to begin > transaction > PEAR2\Pyrus\IOException: unrecoverable transaction error: cannot create > journal path /usr/.journal-bin > PEAR2\Pyrus\AtomicFileTransaction\RuntimeException: Cannot rollback - not > in a transaction > > Can someone please help me understand that and what could be done to fix > it. > This looks like a simple permissions error. The error message from CLI should be a bit nicer (on the todo list). You can either run that command with sudo, or set your bin_dir to a writable directory before installing Pyrus as a library. As for why installing the libraries for pyrus requires a bin dir, pyrus will install /usr/bin/pyrus for CLI usage. -- Brett Bieber

« previous php.pear.dev (#54236) next »