User: mackmoon
Date: 05/08/06 09:19:08

Added:
 /user-faq/www/new-faq/
  http_lite_install_readme.txt

Log:
 README file for modudle needed to run kcarr's faq_spider.pl script. Issue 
52966.

File Changes:

Directory: /user-faq/www/new-faq/
=================================

File [added]: http_lite_install_readme.txt
Url: 
http://user-faq.openoffice.org/source/browse/user-faq/www/new-faq/http_lite_install_readme.txt?rev=1.1&content-type=text/vnd.viewcvs-markup
Added lines: 60
---------------
Purpose: To explain the installation process used to install missing HTTP::Lite 
module, which was needed on a system running Red Hat 9 Linux, to run kcarr's 
faq_spider.pl script, which resides in the user-faq/www/new-faq directory at 
OpenOffice.org.

Documented By: Diane Mackay, [EMAIL PROTECTED]

Date: 5 August 2005


Failure:

[EMAIL PROTECTED] new-faq]$ /usr/bin/perl faq_spider.pl
Can't locate HTTP/Lite.pm in @INC (@INC contains: 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at 
faq_spider.pl line 5.
BEGIN failed--compilation aborted at faq_spider.pl line 5.
[EMAIL PROTECTED] new-faq]$


Solution:

Download and install HTTP::Lite.


Resources found through Google which I referenced to perform my installation 
process:

A. http://mirror.candidhosting.com/pub/CPAN/authors/id/R/RH/RHOOPER/

B. http://search.cpan.org/~rhooper/HTTP-Lite-2.1.6/Lite.pm

C. 
http://64.233.179.104/search?q=cache:5hXOiaRGuhgJ:cgi.force9.net/cgi-bin/perlinfo.cgi%3Faction%3D2010%26module%3DHTTP%253A%253ALite+HTTP/Lite.pm&hl=en&client=firefox-a

D. http://cpan.org/modules/INSTALL.html

E. 
http://ppm.activestate.com/BuildStatus/5.6plus/hpux-ia64-lp64/HTTP-Lite-2.1.6.txt


Installation procedure used:

1. Downloaded the HTTP-Lite-2.1.6.tar.gz from Resource B (above), because it 
was the latest greatest version available at this time, as shown in Resource A 
(above), and I could find no reference to versions per operation system, so 
assumed that did not matter.

2. Due to my error message, with slight guidance from a cached Resource C 
(above), as root I created a directory named HTTP in an existing 
/usr/lib/perl5/site_perl/5.8.0 directory, then pasted the files I extracted 
from the compressed HTTP-Lite-2.1.6 file into it. Now, my system has the 
Lite.pm file in a path that the faq_spider script expects.

3. Using the information in Resource D (above), I ran the make file steps, 
because a Makefile.pl script was available in the decompressed list of files. 

        a. Logged into my user account (not root); opened a terminal, logged in 
as su.

        b. cd /usr/lib/perl5/site_perl/5.8.0/HTTP

        c. ls shows the same files as what is posted at 
http://search.cpan.org/src/RHOOPER/HTTP-Lite-2.1.6/

        d. perl Makefile.PL

        e. make

        f. make test

I received many "not ok" messages, instead of what was presented at Resource E 
(above), when I attempted to run the make test, because I'm missing something 
CGI related to run the tests...It is explained in the opening window of the 
make test procedure presented when you run that command. I skipped the tests by 
using "none" in both fields of the test's questions, and continued the process 
as if the tests passed.

        g. make install

        h. exit su mode.

4. The next time I ran the faq_spider (as a user, not root) after this process 
was performed, it worked with no error messages. Reference 
howto_run_faq_spider.txt for general information about running the faq_spider.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to