Pear Mgr fails to install new packages (Xampp .12 release)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Pear Mgr fails to install new packages (Xampp .12 release)

Postby tbalon » 07. March 2005 17:37

I'm running the .12 release of Xampp on windows XP pro.
I run with administrator privs on XP.

I followed the instructions on the Pear site to create the pear manager
on windows.

see: http://pear.php.net/manual/en/installation.getting.php


I did get some error messages about temporary files at the end but
that appeared to be a cleanup issue. The pear.bat file is there, and
it functions (partially).

I can run pear, pear list shows all the packages installed. If I attempt
to install a new package, things go okay until the very end. It downloads
the file, unpacks it just fine but dies at the end while trying to
grab a file lock.

D:\>pear install http://creole.phpdb.org/pear/creole-current.tgz
downloading creole-current.tgz ...
Starting to download creole-current.tgz (74,229 bytes)
.................done: 74,229 bytes
could not create lock file: failed to open stream: Permission denied

At this point the files are in the PEAR directory. Pear list does not show
the package as being installed. I looks like PEAR cannot update its
internal DB of packages.

pear -vvv doesn't give much more information about why it fails. Anyone
debugged this ?

Tom
tbalon
 
Posts: 6
Joined: 07. March 2005 16:56
Location: Ithaca NY

Postby jchapel » 08. March 2005 00:58

I'm just getting started with Pear and PHP so I won't be much help, but I can give you some hope. I have done a Pear installs and upgrades with 1.4.12

have you run go-pear.bat to set up pear paths? Set up pear path in your systems path?

http://www.sitepoint.com/article/getting-started-with-pear

This tutorial link I found useful. Describes setting up Pear and installations
J Chapel
The application server in my pocket runs on XAMPP
XAMPP Demo http://xampp.no-ip.info
ZPANEL Demo http://zpanel.no-ip.info
jchapel
 
Posts: 25
Joined: 15. January 2005 09:32

Postby frozen » 08. March 2005 15:37

Kinda off topic but not at the same time. What is Pear, I see people talk about it all the time and yet I do not have a clue what it is.
:)
frozen
 
Posts: 5
Joined: 08. March 2005 15:03

Postby tbalon » 08. March 2005 16:18

Thanks, but I did create the pear manager by running the bat file. The paths appear to be ok.

Tom

jchapel wrote:I'm just getting started with Pear and PHP so I won't be much help, but I can give you some hope. I have done a Pear installs and upgrades with 1.4.12

have you run go-pear.bat to set up pear paths? Set up pear path in your systems path?

http://www.sitepoint.com/article/getting-started-with-pear

This tutorial link I found useful. Describes setting up Pear and installations
tbalon
 
Posts: 6
Joined: 07. March 2005 16:56
Location: Ithaca NY

Postby tbalon » 08. March 2005 16:23

Well, it's essentially a framework and system for distributing reusable PHP components. There are components that provide authentcation that you
could use to provide a login on your site, there are DB classes that abstract
the database so that you can write portable code that works with say MySQL
and sqlserver etc.

Well worth checking out. http://pear.php.net/

frozen wrote:Kinda off topic but not at the same time. What is Pear, I see people talk about it all the time and yet I do not have a clue what it is.
tbalon
 
Posts: 6
Joined: 07. March 2005 16:56
Location: Ithaca NY


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 46 guests