gnope php gtk gui gnope.org  

Problem with pear

 
Post new topic   Reply to topic    gnope.org Forum Index -> Gtk2 PEAR packages
View previous topic :: View next topic  
Author Message
mrgtk



Joined: 14 Jun 2006
Posts: 13

PostPosted: Sat Jun 17, 2006 3:12 am    Post subject: Problem with pear Reply with quote

I am using winxp and wamp5. I installed Pear several months ago to play around with, and when I installed Gnope it included PEAR of course and now when I run cmd line and go to run my old pear in c:\php\pear I get the following message:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Owner>cd c:\php\pear

C:\php\PEAR>pear
PHP_PEAR_PHP_BIN is not set correctly.
Please fix it using your environment variable or modify
the default value in pear.bat
The current value is:
C:\php\cli\php.exe;C:\PHP-Gtk2\php.exe

C:\php\PEAR>


I'm assuming I could probably just use one or the other php interpreter in the path above, but I am wanting to uinstall my old original PEAR and keep the one gnope has for it's default. The problem is I don't know how to uninstall the old PEAR. I did a google search and couldn't find any info. Any help is appreciated.
Back to top
cweiske



Joined: 08 Dec 2005
Posts: 454
Location: Leipzig/Germany

PostPosted: Sat Jun 17, 2006 9:53 am    Post subject: Reply with quote

Gnope currently has some problems when a PEAR installation is already installed. Sometimes the gnope pear doesn't even work. I hope to get this fixed in the next version.

What you can do: Uninstalling your old PEAR install means to just remove the pear dir from c:\php\. You also should remove the pear.bat in your php installation directory (not in the PHP-Gtk2 installation dir!). Then all "pear" calls should be redirected to the php-gtk2 one. Further, you should change the include dir in your old php.ini to the new gnope pear directory.
Back to top
mrgtk



Joined: 14 Jun 2006
Posts: 13

PostPosted: Sat Jun 17, 2006 5:01 pm    Post subject: Reply with quote

cweiske wrote:
Gnope currently has some problems when a PEAR installation is already installed. Sometimes the gnope pear doesn't even work. I hope to get this fixed in the next version.

What you can do: Uninstalling your old PEAR install means to just remove the pear dir from c:\php\. You also should remove the pear.bat in your php installation directory (not in the PHP-Gtk2 installation dir!). Then all "pear" calls should be redirected to the php-gtk2 one. Further, you should change the include dir in your old php.ini to the new gnope pear directory.


Thanks, what I did yesterday was uninstall gnope for a fresh re-install. I then deleted everything relating to old pear in c:\php except for go-pear.bat and made it look like the original php zip folder I had, just to make sure I got it all (the php I left alone). I also deleted all old pear registry settings (made a bak) with regedit and then deleted pear config file in c:\windows.
I then reinstalled gnope and while installing I got the message that I didn't have access to the c:\windows directory and to reinstall with administrator rights. I am using my admin account on this pc.

I couldn't remember before reinstalling if I could deselect the options for pear and php5.1 since I already had those. Maybe a future option on installation is to choose already installed pear and php defaults.
Now though when I bring up gnope I don't have the pear install/uninstall option and only two channels show and no applications (app runner and dev tool).
I changed the path in my php.ini for the pear in c:\php-gtk2
Back to top
mrgtk



Joined: 14 Jun 2006
Posts: 13

PostPosted: Sat Jun 17, 2006 6:59 pm    Post subject: Reply with quote

I noticed my problem with Gnope's pear might have been that I deleted the pearsys file in c:\windows after I reinstalled it cause I thought it was my old pear's ini file. I just remembered that my old pear had pear.ini not pearsys.ini in the windows dir. So I reinstalled Gnope once again and it's pear is working fine now.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> Gtk2 PEAR packages All times are GMT - 6 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


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.