PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old June 19th, 2007, 08:24 AM
sadiya sadiya is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: uk
Posts: 7 sadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 26 sec
Reputation Power: 0
Send a message via AIM to sadiya
Cannot install mdb2

hi

Last edited by sadiya : June 19th, 2007 at 08:50 AM.

Reply With Quote
  #2  
Old June 19th, 2007, 08:50 AM
sadiya sadiya is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: uk
Posts: 7 sadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 26 sec
Reputation Power: 0
Send a message via AIM to sadiya
Hi
I am trying to install pear package mdb/ mdb2 and have Apache/2.0.58 (Win32) PHP/5.2.3 running on XP. I installed pear using go-pear.bat. I thought mdb or mdb2 would be installed as the part of pear package but when i run 'pear list' command, i had following packages
Archive _tar 1.3.2
Console _Getopt 1.2.2
Pear 1.5.4
structures_graph 1.0.2
I tried to install mdb2 and mdb using 'pear install -o mdb' and 'pear install -o mdb2' but got error massage that no release for mdb2 exist and mdb2 channel cannot be initialize as path is not valid or package is missing.
same message for mdb.

I tried to install the package from website but couldnot install mdb 2 as zip file was empty.
can anyone tell me what i am doing wrong and help me to sort out this problem.

Last edited by sadiya : June 19th, 2007 at 08:52 AM.

Reply With Quote
  #3  
Old June 19th, 2007, 10:47 AM
wiesemann wiesemann is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 173 wiesemann User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 4 m 53 sec
Reputation Power: 3
Please show us the error messages you got (especially the one after "pear install -o MDB2").

If you download the package from the PEAR website, you will get a .tgz (abbreviation for .tar.gz) archive. It should not be empty, and you should be able to install it via "pear install filename.tgz".

Please note that you will need to install also an RDBMS driver, e.g. MDB2_Driver_mysql.

Reply With Quote
  #4  
Old June 20th, 2007, 04:40 AM
sadiya sadiya is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: uk
Posts: 7 sadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 26 sec
Reputation Power: 0
Send a message via AIM to sadiya
Sorry could not reply you sooner as i dont have internet at home.error message i got when i try install mdb2 is following
Code:
C:\Program Files\php>pear install -o MDB2
No releases for package "pear/MDB2" exist
Cannot initialize 'channel://pear.php.net/MDB2', invalid or missing package file
Package "channel://pear.php.net/MDB2" is not valid
install failed


I downloaded .tar file from http://pear.php.net/package/MDB2/download and used 'pear install ' command but got following message.

Code:
C:\Program Files\php>pear install MDB2-2.4.1.tar
No releases for package "pear/MDB2" exist
Cannot initialize 'channel://pear.php.net/MDB2-2.4.1.tar', invalid or missing pa
ckage file
Package "channel://pear.php.net/MDB2-2.4.1.tar" is not valid
install failed


can you give me web address for .tar.gz file please.

thank you

Last edited by sadiya : June 20th, 2007 at 04:44 AM.

Reply With Quote
  #5  
Old June 20th, 2007, 04:54 AM
sadiya sadiya is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: uk
Posts: 7 sadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 26 sec
Reputation Power: 0
Send a message via AIM to sadiya
I tried to install MDB2_Driver_mysql and got following:


Code:
C:\Program Files\php>pear install -o MDB2_Driver_mysql
No releases for package "pear/MDB2_Driver_mysql" exist
Cannot initialize 'channel://pear.php.net/MDB2_Driver_mysql', invalid or missing
 package file
Package "channel://pear.php.net/MDB2_Driver_mysql" is not valid
install failed 


I dont understand why is it giving me same message for every package.

Reply With Quote
  #6  
Old June 20th, 2007, 05:03 AM
sadiya sadiya is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: uk
Posts: 7 sadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 26 sec
Reputation Power: 0
Send a message via AIM to sadiya
One thing i have noticed is that url to package http://pear.php.net/package/MDB2-2.4.1.tar but in message it is
Code:
channel://pear.php.net/MDB2-2.4.1.tar


If that is the problem then i dont know how to solve it and even then need lots of help. I ran 'pear channel-info pear.php.net' command and information is following


Code:
C:\Program Files\php>pear channel-info pear.php.net
CHANNEL PEAR.PHP.NET INFORMATION:
=================================
Name and Server         pear.php.net
Alias                   pear
Summary                 PHP Extension and Application Repository
Validation Package Name PEAR_Validate
Validation Package      default
Version
SERVER CAPABILITIES
===================
TYPE   VERSION/REST TYPE FUNCTION NAME/REST BASE
xmlrpc 1.0               logintest
xmlrpc 1.0               package.listLatestReleases
xmlrpc 1.0               package.listAll
xmlrpc 1.0               package.info
xmlrpc 1.0               package.getDownloadURL
xmlrpc 1.1               package.getDownloadURL
xmlrpc 1.0               package.getDepDownloadURL
xmlrpc 1.1               package.getDepDownloadURL
xmlrpc 1.0               package.search
xmlrpc 1.0               channel.listAll
rest   REST1.0           http://pear.php.net/rest/
rest   REST1.1           http://pear.php.net/rest/



thank you

Reply With Quote
  #7  
Old June 20th, 2007, 08:31 AM
wiesemann wiesemann is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 173 wiesemann User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 4 m 53 sec
Reputation Power: 3
The "channel://" prefix is fine, nothing to worry about. But that "pear install MDB2" doesn't work is indeed strange. Are you behind a proxy server?

On pear.php.net you don't .tar files, there are only .tgz files. For example, http://pear.php.net/package/MDB2 has a link to http://download.pear.php.net/package/MDB2-2.4.1.tgz. Download this file and don't rename it and don't try to extract it. Just call "pear install http://download.pear.php.net/package/MDB2-2.4.1.tgz".

Reply With Quote
  #8  
Old June 20th, 2007, 10:52 AM
sadiya sadiya is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: uk
Posts: 7 sadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 26 sec
Reputation Power: 0
Send a message via AIM to sadiya
yes we are behind proxy and we added 'http://download.pear.php.net/package/MDB2-2.4.1.tgz in proxy setting in exception part but no result

Code:
C:\Program Files\php\PEAR>pear install http://download.pear.php.net/package/MDB2
-2.4.1.tgz
Could not download from "http://download.pear.php.net/package/MDB2-2.4.1.tgz" (F
ile http://download.pear.php.net:80/package/MDB2-2.4.1.tgz not valid (redirected
 but no location))
Invalid or missing remote package file
Package "http://download.pear.php.net/package/MDB2-2.4.1.tgz" is not valid
install failed

C:\Program Files\php\PEAR>pear install MDB2-2.4.1.tgz
No releases for package "pear/MDB2" exist
Cannot initialize 'channel://pear.php.net/MDB2-2.4.1.tgz', invalid or missing pa
ckage file
Package "channel://pear.php.net/MDB2-2.4.1.tgz" is not valid
install failed

Reply With Quote
  #9  
Old June 20th, 2007, 11:04 AM
wiesemann wiesemann is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 173 wiesemann User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 4 m 53 sec
Reputation Power: 3
Okay, then you need to set the proxy address first:

pear config-set http_proxy ...

(the dots need to be replaced by the address of the proxy server)

Reply With Quote
  #10  
Old June 21st, 2007, 04:32 AM
sadiya sadiya is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: uk
Posts: 7 sadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 26 sec
Reputation Power: 0
Send a message via AIM to sadiya
Hi

I run pear config command

Code:
C:\Program Files\php\PEAR>pear config-set http_proxy (our proxy address)
config-set succeeded


After that I try to install mdb2 but did not work

Code:
C:\Program Files\php\PEAR>pear install http://download.pear.php.net/package/MDB2

Could not download from "http://download.pear.php.net/package/MDB2" (File http:/
/download.pear.php.net:80/package/MDB2 not valid (redirected but no location))
Invalid or missing remote package file
Package "http://download.pear.php.net/package/MDB2" is not valid
install failed

C:\Program Files\php\PEAR>-2.4.1.tgz
'-2.4.1.tgz' is not recognized as an internal or external command,
operable program or batch file.


I tried to use 'pear install' for mdb and mdb2

Code:
C:\Program Files\php\PEAR>pear install MDB2
No releases for package "pear/MDB2" exist
Cannot initialize 'channel://pear.php.net/MDB2', invalid or missing package file

Package "channel://pear.php.net/MDB2" is not valid
install failed

C:\Program Files\php\PEAR>pear install MDB
No releases for package "pear/MDB" exist
Cannot initialize 'channel://pear.php.net/MDB', invalid or missing package file
Package "channel://pear.php.net/MDB" is not valid
install failed


next instrunction, please

Reply With Quote
  #11  
Old June 21st, 2007, 04:37 AM
wiesemann wiesemann is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 173 wiesemann User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 4 m 53 sec
Reputation Power: 3
I have no more ideas, sorry.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > Cannot install mdb2


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 11 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek