Installing PEAR and Spreadsheet_Excel_Writer

We have had many questions on how to install PEAR and Spreadsheet_Excel_Writer which are both now dependencies of Testlink. So here is some information on how to accomplish these tasks.
If you need to setup PEAR I have created a document for doing so on Windows. It is located at http://asiel.us/pear.php

Also here are the instructions I wrote for the INSTALL_NOTES as part of Testlink.

========================================
Installing pear
========================================
1. open a command prompt or terminal window
2. If php is not in your path cd to your php install directory (eg. c:\php5)
3. run “pear version” to make sure you have pear installed
3a. Download and run the go-pear script from http://pear.php.net/go-pear
3b. Read http://asiel.us/pear.php for detailed instructions on installing PEAR in windows
3b. If you need additional instructions go to http://pear.php.net/manual/en/installation.getting.php
4. run “pear install -a Spreadsheet_Excel_Writer-beta”
5. This should install the latest version of Spreadsheet_Excel_Writer and its dependencies


3 Responses to “Installing PEAR and Spreadsheet_Excel_Writer”

  1. 1 Andrew Cox

  2. 2 kwangnam

    I tried following with several options of with word “beta” and addding version number, but none of them worked. Can you help me out? Thanks in advance

    pear install Spreadsheet_Excel_Writer
    pear install -a Spreadsheet_Excel_Writer-beta
    pear install Spreadsheet_Excel_Writer-0.9.1

    Cannot initialize ‘channel://pear.php.net/Spreadsheet_Excel_Writer-beta’, invali
    d or missing package file
    Package “channel://pear.php.net/Spreadsheet_Excel_Writer-beta” is not valid
    install failed

    Checking PHP version:
    WARNING! You are running on PHP 5.2.2, and TestLink has not been tested on versions >= 5.2.0

    Errr from testlink
    Warning!: You are using a M$ Operating System, be careful with authentication problems
    between PHP 4 and the new MySQL 4.1.x passwords
    Read this MySQL - A.2.3. Client does not support authentication protocol

    Checking if Register Globals = OFF: OK!
    Checking if sessions are properly configured: OK!
    Checking if ../gui/templates_c directory exists: OK!
    Checking if ../gui/templates_c directory is writable: OK!
    Checking if PEAR modules are installed:Failed! - Spreadsheet_Excel_Writer PEAR Module is required.
    Seehttp://pear.php.net/package/Spreadsheet_Excel_Writer for additional information

  3. 3 kwangnam

    Sorry to keep bothering you. I was able to install OLE package manually but manual installation of Spreadsheet_Excel_Writer still does not work.

    install ok: channel://pear.php.net/OLE-0.5

    C:\PHP>pear install Spreadsheet_Excel_Writer-0.9.1.tar

    No releases available for package “pear.php.net/Spreadsheet_Excel_Writer”
    Cannot initialize ‘channel://pear.php.net/Spreadsheet_Excel_Writer-0.9.1.tar’, i
    nvalid or missing package file
    Package “channel://pear.php.net/Spreadsheet_Excel_Writer-0.9.1.tar” is not valid

    install failed

    C:\PHP>

Leave a Reply

You must login to post a comment.


Flickr screenshots



Subscribe

Subscribe to my RSS Feeds



Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.