public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] g-cpan.pl doesn't appear to be working
@ 2003-01-27 16:51 Alan
  2003-01-28  5:29 ` J Robert Ray
  0 siblings, 1 reply; 6+ messages in thread
From: Alan @ 2003-01-27 16:51 UTC (permalink / raw
  To: gentoo-dev

I recently submitted a perl module ebuild to bugzilla for
Finance::YahooQuote and was informed that portage can already
dynamically create ebuilds for perl modules via g-cpan.pl.  *Very cool*.

However, when I ran it, it appears to want to install perl itself from
cpan!

----------------------------------
phoenix alan # g-cpan.pl Finance::YahooQuote
mkdir /tmp/perl-modules_3528
mkdir /tmp/perl-modules_3528/dev-perl
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Mon, 27 Jan 2003 07:49:14 GMT
************************************************************************
*
*
*  Need to create ebuild for 'Finance::YahooQuote': finance
*
*
************************************************************************
Running make for E/ED/EDD/finance-yahooquote_0.18.tar.gz
Checksum for /root/.cpan/sources/authors/id/E/ED/EDD/finance-yahooquote_0.18.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Finance-YahooQuote-0.18/
[snip list of files]
Finance-YahooQuote-0.18/t/02simple.t
Removing previously used /root/.cpan/build/Finance-YahooQuote-0.18

  CPAN.pm: Going to build E/ED/EDD/finance-yahooquote_0.18.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite HTML::Parser 2.2 not found.
Writing Makefile for Finance::YahooQuote
---- Unsatisfied dependencies detected during [E/ED/EDD/finance-yahooquote_0.18.tar.gz] -----
    HTML::Parser
  Ignoring dependencies on modules HTML::Parser
cp YahooQuote.pm blib/lib/Finance/YahooQuote.pm
cp yahooquote blib/script/yahooquote
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/yahooquote
Manifying blib/man1/yahooquote.1
Manifying blib/man3/Finance::YahooQuote.3pm
  /usr/bin/make -j2 -- OK
************************************************************************
*
*
*  Ebuild already exists for 'LWP::UserAgent': libwww-perl
*
*
************************************************************************
************************************************************************
*
*
*  Need to create ebuild for 'Text::ParseWords': perl
*
*
************************************************************************
Running make for J/JH/JHI/perl-5.8.0.tar.gz

The most recent version "3.21" of the module "Text::ParseWords"
comes with the current version of perl (5.8.0).
I'll build that only if you ask for something like
    force install Text::ParseWords
or
    install J/JH/JHI/perl-5.8.0.tar.gz
Use of uninitialized value in open at /usr/bin/g-cpan.pl line 249.
Can't open 'J/JH/JHI/perl-5.8.0.tar.gz': No such file or directory at /usr/bin/g-cpan.pl line 249.
phoenix alan # 
----------------------------------

It seems that it is creating a list of dependancies and because one is 
installed with perl, it tries to go and build that. 

The ebuild that I created worked fine with no dependancies btw, though on
another machine (debian) installing from CPAN it wanted Spreadsheet::ParseExcel 
and IO::Scalar, which I guess are installed already.

Any ideas?  

-- 
Alan <alan@ufies.org> - http://arcterex.net
---------------------------------------------------------------------
"The only thing that experience teaches us is that experience teaches 
us nothing.	        -- Andre Maurois (Emile Herzog)

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-01-30  0:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-27 16:51 [gentoo-dev] g-cpan.pl doesn't appear to be working Alan
2003-01-28  5:29 ` J Robert Ray
2003-01-28 17:21   ` Alan
2003-01-29  8:26     ` J Robert Ray
2003-01-29 19:53       ` Tony Clark
2003-01-30  0:01         ` J Robert Ray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox