Gentoo Archives: gentoo-dev

From: Alan <alan@×××××.org>
To: gentoo-dev@g.o
Subject: [gentoo-dev] g-cpan.pl doesn't appear to be working
Date: Mon, 27 Jan 2003 16:57:37
Message-Id: 20030127165115.GA26854@ufies.org
1 I recently submitted a perl module ebuild to bugzilla for
2 Finance::YahooQuote and was informed that portage can already
3 dynamically create ebuilds for perl modules via g-cpan.pl. *Very cool*.
4
5 However, when I ran it, it appears to want to install perl itself from
6 cpan!
7
8 ----------------------------------
9 phoenix alan # g-cpan.pl Finance::YahooQuote
10 mkdir /tmp/perl-modules_3528
11 mkdir /tmp/perl-modules_3528/dev-perl
12 CPAN: Storable loaded ok
13 Going to read /root/.cpan/Metadata
14 Database was generated on Mon, 27 Jan 2003 07:49:14 GMT
15 ************************************************************************
16 *
17 *
18 * Need to create ebuild for 'Finance::YahooQuote': finance
19 *
20 *
21 ************************************************************************
22 Running make for E/ED/EDD/finance-yahooquote_0.18.tar.gz
23 Checksum for /root/.cpan/sources/authors/id/E/ED/EDD/finance-yahooquote_0.18.tar.gz ok
24 Scanning cache /root/.cpan/build for sizes
25 Finance-YahooQuote-0.18/
26 [snip list of files]
27 Finance-YahooQuote-0.18/t/02simple.t
28 Removing previously used /root/.cpan/build/Finance-YahooQuote-0.18
29
30 CPAN.pm: Going to build E/ED/EDD/finance-yahooquote_0.18.tar.gz
31
32 Checking if your kit is complete...
33 Looks good
34 Warning: prerequisite HTML::Parser 2.2 not found.
35 Writing Makefile for Finance::YahooQuote
36 ---- Unsatisfied dependencies detected during [E/ED/EDD/finance-yahooquote_0.18.tar.gz] -----
37 HTML::Parser
38 Ignoring dependencies on modules HTML::Parser
39 cp YahooQuote.pm blib/lib/Finance/YahooQuote.pm
40 cp yahooquote blib/script/yahooquote
41 /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/yahooquote
42 Manifying blib/man1/yahooquote.1
43 Manifying blib/man3/Finance::YahooQuote.3pm
44 /usr/bin/make -j2 -- OK
45 ************************************************************************
46 *
47 *
48 * Ebuild already exists for 'LWP::UserAgent': libwww-perl
49 *
50 *
51 ************************************************************************
52 ************************************************************************
53 *
54 *
55 * Need to create ebuild for 'Text::ParseWords': perl
56 *
57 *
58 ************************************************************************
59 Running make for J/JH/JHI/perl-5.8.0.tar.gz
60
61 The most recent version "3.21" of the module "Text::ParseWords"
62 comes with the current version of perl (5.8.0).
63 I'll build that only if you ask for something like
64 force install Text::ParseWords
65 or
66 install J/JH/JHI/perl-5.8.0.tar.gz
67 Use of uninitialized value in open at /usr/bin/g-cpan.pl line 249.
68 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.
69 phoenix alan #
70 ----------------------------------
71
72 It seems that it is creating a list of dependancies and because one is
73 installed with perl, it tries to go and build that.
74
75 The ebuild that I created worked fine with no dependancies btw, though on
76 another machine (debian) installing from CPAN it wanted Spreadsheet::ParseExcel
77 and IO::Scalar, which I guess are installed already.
78
79 Any ideas?
80
81 --
82 Alan <alan@×××××.org> - http://arcterex.net
83 ---------------------------------------------------------------------
84 "The only thing that experience teaches us is that experience teaches
85 us nothing. -- Andre Maurois (Emile Herzog)
86
87 --
88 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] g-cpan.pl doesn't appear to be working J Robert Ray <jrray@g.o>