Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messageStefan 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
Post Follow-up to this messageOn 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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.