Gentoo Archives: gentoo-perl

From: Zhang Jun <gb2313@×××××.com>
To: gentoo-perl@l.g.o
Subject: Re: [gentoo-perl] how to use g-cpan ?
Date: Mon, 27 Jul 2009 23:16:02
Message-Id: a4e18fef0907271615i30cb9d5bx436d83f852337811@mail.gmail.com
In Reply to: Re: [gentoo-perl] how to use g-cpan ? by Sergiy Borodych
1 Hi, I am using g-cpan 0.15.0-r1
2
3 this time I choose an new module which I have never installed with
4 g-cpan, the output is like :
5
6 # g-cpan -iv Socket::Class
7
8 Socket-Class-2.254/
9 ...
10 ...
11 ...
12 Socket-Class-2.254/sc_ws2bth.h
13 Socket-Class-2.254/sc_ws2bth.c
14 Socket-Class-2.254/install_files.PL
15 Socket-Class-2.254/sc_mod_def.c
16 Socket-Class-2.254/sc_mod_def.h
17 Socket-Class-2.254/sc_bluez.c
18 Socket-Class-2.254/mod_sc.h
19 Socket-Class-2.254/Changes
20 CPAN: File::Temp loaded ok (v0.18)
21 * Create directory '/usr/local/portage/mycpan/perl-gcpan/Socket-Class'
22 * Create directory '/usr/local/portage/mycpan/perl-gcpan/Socket-Class/files'
23 * Generating ebuild for Socket::Class
24 * Copying /var/tmp/g-cpan/.cpan/sources/authors/id/C/CH/CHRMUE/Socket-Class-2.254.tar.gz
25 to /usr/portage/distfiles
26 * Ebuild generated for Socket-Class
27 >>> Creating Manifest for /usr/local/portage/mycpan/perl-gcpan/Socket-Class
28 * Calling emerge for Socket-Class
29
30 * Calling: emerge Socket-Class
31 Calculating dependencies... done!
32
33 >>> Verifying ebuild manifests
34
35 >>> Emerging (1 of 1) perl-gcpan/Socket-Class-2.254 from mycpan_repo
36 * Socket-Class-2.254.tar.gz RMD160 SHA1 SHA256 size ;-) ...
37 [ ok ]
38 * checking ebuild checksums ;-) ...
39 [ ok ]
40 * checking auxfile checksums ;-) ...
41 [ ok ]
42 * checking miscfile checksums ;-) ...
43 [ ok ]
44 >>> Unpacking source...
45 >>> Unpacking Socket-Class-2.254.tar.gz to /var/tmp/portage/perl-gcpan/Socket-Class-2.254/work
46 >>> Source unpacked in /var/tmp/portage/perl-gcpan/Socket-Class-2.254/work
47 >>> Compiling source in /var/tmp/portage/perl-gcpan/Socket-Class-2.254/work ...
48 * No Make or Build file detected...
49 >>> Source compiled.
50 >>> Test phase [not enabled]: perl-gcpan/Socket-Class-2.254
51
52 >>> Install Socket-Class-2.254 into /var/tmp/portage/perl-gcpan/Socket-Class-2.254/image/ category perl-gcpan
53 >>> Completed installing Socket-Class-2.254 into /var/tmp/portage/perl-gcpan/Socket-Class-2.254/image/
54
55
56 >>> Installing (1 of 1) perl-gcpan/Socket-Class-2.254
57
58 >>> Recording perl-gcpan/Socket-Class in "world" favorites file...
59 >>> Auto-cleaning packages...
60
61 >>> No outdated packages were found on your system.
62
63 * GNU info directory index is up-to-date.
64 * Cleaning temporary space
65 pc ~ # equery f perl-gcpan/Socket-Class-2.254
66 [ Searching for packages matching perl-gcpan/Socket-Class-2.254... ]
67 * Contents of perl-gcpan/Socket-Class-2.254:
68 pc ~ # equery f perl-gcpan/Socket-Class
69 [ Searching for packages matching perl-gcpan/Socket-Class... ]
70 * Contents of perl-gcpan/Socket-Class-2.254:
71
72 pc ~ # perldoc -l Socket::Class
73 No documentation found for "Socket::Class".
74
75
76
77
78
79
80
81 2009/7/27 Sergiy Borodych <bor@×××××××××.ua>:
82 > On 07/25/09 12:11, Zhang Jun wrote:
83 >> I can not install modules with g-cpan,
84 >>
85 >> my steps are:
86 >>
87 >> mkdir /usr/local/portage/mycpan
88 >> echo 'PORTDIR_OVERLAY="/usr/local/portage/mycpan ${PORTDIR_OVERLAY}"'
89 >>>> /etc/make.conf
90 >> mkdir /usr/local/portage/mycpan/profiles
91 >> echo "mycpan_repo" > /usr/local/portage/mycpan/profiles/repo_name
92 >> g-cpan -gv FCGI::Async ; update-eix
93 >> emerge -av FCGI-Async
94 >>
95 >> but it does not install any file:
96 >>
97 >> # equery f perl-gcpan/FCGI-Async-0.17
98 >> [ Searching for packages matching perl-gcpan/FCGI-Async-0.17... ]
99 >> * Contents of perl-gcpan/FCGI-Async-0.17:
100 >> #
101 >>
102 >> I also tryed the g-cpan -iv FCGI::Async, no luck
103 >>
104 > What version of g-cpan you used ?
105 > ( current last version contain some not resolved bugs :( )
106 >
107 > and please post output of 'g-cpan -iv FCGI::Async'
108 > ( but before remove all files in
109 > /usr/local/portage/mycpan/perl-gcpan/FCGI-Async )
110 >
111 > --
112 > Sergiy Borodych
113 > http://bor.org.ua
114 >
115 >

Replies

Subject Author
Re: [gentoo-perl] how to use g-cpan ? Sergiy Borodych <bor@×××××××××.ua>