PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
WAMP and PEAR installation

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PEAR Forum Forum Index -> General PEAR questions
View previous topic :: View next topic  
Author Message
mreznisistem



Joined: 04 Jan 2008
Posts: 12
Location: Serbia

PostPosted: Fri Jan 04, 2008 9:49 am    Post subject: WAMP and PEAR installation Reply with quote

I having a problem with installation of pear on a wamp configuration. It is WAMP 5.0 wamserver 2.0. The problem is that system hangs. The following message is generated. I clicked go-pear.bat and my sistem respond with the following:





“Welcome to go-pear!



Go-pear will install the 'pear' command and all the files needed by

it. This command is your tool for PEAR installation and maintenance.



Use 'php PEAR\go-pear.phar local' to install a local copy of PEAR.



Go-pear also lets you download and install the PEAR packages bundled

with PHP: MDB2.





If you wish to abort, press Control-C now, or press Enter to continue:



HTTP proxy (http://user:[email protected]:port), or Enter for none::



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 prefix : C:\wamp\bin\php\php5.2.5

2. Binaries directory : $prefix

3. PHP code directory ($php_dir) : $prefix\pear

4. Documentation base directory : $php_dir\docs

5. Data base directory : $php_dir\data

6. Tests base directory : $php_dir\tests

7. Temporary files directory : $prefix\temp

8. php.exe path : C:\wamp\bin\php\php5.2.5\php.exe



1-8, 'all' or Enter to continue:



The following PEAR packages are bundled with PHP: MDB2.

Would you like to install these as well? [Y/n] : n



Loading zlib: ok

Downloading package: PEAR-stable......ok

Downloading package: Archive_Tar-stable....ok

Downloading package: Console_Getopt-stable....ok

Downloading package: Structures_Graph-stable....ok

Bootstrapping: PEAR...................(remote) ok

Bootstrapping: Archive_Tar............(remote) ok

Bootstrapping: Console_Getopt.........(remote) ok

Extracting installer..................ok

warning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.1)

warning: pear/PEAR requires package "pear/Console_Getopt" (version >= 1.2)

warning: pear/PEAR requires package "pear/Structures_Graph" (version >= 1.0.2)

pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)

pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version >= 0.5.0)



pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk" (version >= 0.4.0)









I do not know what to do. I am just wondering if anybody is having same problem?
Back to top
View user's profile Send private message
mreznisistem



Joined: 04 Jan 2008
Posts: 12
Location: Serbia

PostPosted: Fri Jan 04, 2008 10:41 am    Post subject: WAP i Pear web install Reply with quote

I have tried to use web approach to intsall pear and I used
http://localhost/novi/gopear.php?step=config

where I have configured properly:

________________________________________

Below is a suggested file layout for your new PEAR installation.
Note: Make sure that PHP has the permission to access the specified
directories.
1. Installation prefix C:\wamp\bin\php\php5.2.5

...

11. php.exe path, optional (CLI command tools) C:\wamp\bin\php\php5.2.5

This value are configured properly but they are not as the one which generate error! It seems to me that installation procedure did not take the right directories.

"mkdir failed: Loading zlib: ok Downloading package: PEAR-stable......ok Downloading package: Archive_Tar-stable....ok Downloading package: Console_Getopt-stable....ok Downloading package: Structures_Graph-stable....ok Downloading package: HTML_Template_IT-stable....ok Downloading package: Net_UserAgent_Detect-stable....ok Downloading package: PEAR_Frontend_Web-beta....ok Bootstrapping: PEAR...................(remote) ok Bootstrapping: Archive_Tar............
Warning: mkdir() [function.mkdir]: File exists in C:\wamp\www\novi\gopear.php on line 642
lokal jeArray(remote) ok Bootstrapping: Console_Getopt.........
Warning: mkdir() [function.mkdir]: File exists in C:\wamp\www\novi\gopear.php on line 656
(remote) ok Downloading package: MDB2.............ok Extracting installer..................
Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\novi\Archive\Tar.php on line 21

Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='C:\wamp\bin\php\php5.2.5/temp/C:\wamp\bin\php\php5.2.5\temp\gop1DF.tmp') in C:\wamp\www\novi\Archive\Tar.php on line 21"

Overall this routine with approach generate different error messages. I am having difficulties understanding what is wrong.
Back to top
View user's profile Send private message
joeyd



Joined: 13 Jan 2008
Posts: 1

PostPosted: Sun Jan 13, 2008 11:27 am    Post subject: Reply with quote

I have both of the same problems, although in reverse order.

As for the 2nd post, after spending a couple of hours debugging go-pear.php, I finally got it to work by commenting out the code block around line 500 that checks for back slashes and replaces them with forward slashes (or something like that). It messed up the include path and resulted in a fatal error. After skipping that step, it made it into the download/install portion of the script.

Unfotunately, at that point, the script hangs at exactly the same point as you experienced in your 1st post. I have no idea why this is occurring and after screwing around with this for hours now, I'm about to give up. Maybe it's specific to Wamp? I don't know but I'm frustrated and about to give up and go back to java.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PEAR Forum Forum Index -> General PEAR questions All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement