public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan <alan@ufies.org>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] g-cpan.pl doesn't appear to be working
Date: Mon, 27 Jan 2003 08:51:15 -0800	[thread overview]
Message-ID: <20030127165115.GA26854@ufies.org> (raw)

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


             reply	other threads:[~2003-01-27 16:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-27 16:51 Alan [this message]
2003-01-28  5:29 ` [gentoo-dev] g-cpan.pl doesn't appear to be working 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030127165115.GA26854@ufies.org \
    --to=alan@ufies.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox