Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Module Installation Question
Hi *,

I want to install the Spreadsheet-WriteExcel-2.11 with the prerequisites Par
se::RecDescent and File::Temp.

Version:

This is perl, v5.8.0 built for i386-linux-thread-multi

@INC:
/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

What I have done:

# cp  ./lib/Parse/RecDescent.pm /usr/lib/perl5/5.8.0/ 

and

under File-Temp-0.14:

# perl Makefile.PL
# make
# make test
# make install

under Spreadsheet-WriteExcel-2.11:

# perl Makefile.PL

Checking if your kit is complete...
Looks good
Warning: prerequisite Parse::RecDescent 0 not found.
Writing Makefile for Spreadsheet::WriteExcel

My problem:

Warning: prerequisite Parse::RecDescent 0 not found.

Why can perl not find this RecDescent.pm under /usr/lib/perl5/5.8.0/ ?

It is there:
-rw-r--r--    1 root     root        77401 Oct 24 17:57 /usr/lib/perl5/5.8.0
/RecDescent.pm


This is my first time working with perl.

I highly appreciate any comments or suggestions. 

Thx in advance

Stefan













Report this thread to moderator Post Follow-up to this message
Old Post
Stefan Hans
10-25-04 01:55 AM


Re: Module Installation Question
Stefan Hans wrote:
> What I have done:
>
> # cp  ./lib/Parse/RecDescent.pm /usr/lib/perl5/5.8.0/

<snip>

> My problem:
>
> Warning: prerequisite Parse::RecDescent 0 not found.
>
> Why can perl not find this RecDescent.pm under /usr/lib/perl5/5.8.0/ ?

Because it does not look for it there, but it expects to find it in for
instance /usr/lib/perl5/site_perl/5.8.0/Parse

Why didn't you install also Parse::RecDescent using Makefile.PL etc.?
Then you had probably not encountered this problem.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Report this thread to moderator Post Follow-up to this message
Old Post
Gunnar Hjalmarsson
10-25-04 01:55 AM


Re: Module Installation Question
On Sun, 24 Oct 2004, Stefan Hans wrote:

> I want to install the Spreadsheet-WriteExcel-2.11 with the
> prerequisites Parse::RecDescent and File::Temp.
>
> [...]
>
> This is my first time working with perl.

Then save yourself a lot of time & aggrivation and learn to use the CPAN
shell tool.

You invoke it by running this line:

$ sudo perl -MCPAN -e shell

(Omit the sudo prefix if you're running as root, or better yet, quit
running as root and use sudo as above with a normal user.)

The first time you use the CPAN shell, it will spend five minutes or so
asking you questions about your environment. In most cases, the defaults
are fine, and you can just hit enter to accept them. (The one snag that
gets a lot of people deals with passive mode FTP for people behind
proxies or firewalls, but we'll deal with that if it comes up.)

Once the CPAN shell is configured, you get a prompt like this:

cpan>

From here, just run this command:

cpan> install Spreadsheet::WriteExcel

With this command, the CPAN shell will automatically download the
module, find & retrieve any dependencies like Parse::RecDescent and
File::Temp, and unpack, configure, make, test, and install for you.

This is *way* easier than the older way that you're trying to use :-)



--
Chris Devers

Report this thread to moderator Post Follow-up to this message
Old Post
Chris Devers
10-25-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Beginners archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:56 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.