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
Hi, I am using g-cpan 0.15.0-r1

this time I choose an new module which I have never installed with
g-cpan, the output is like :

# g-cpan -iv Socket::Class

Socket-Class-2.254/
...
...
...
Socket-Class-2.254/sc_ws2bth.h
Socket-Class-2.254/sc_ws2bth.c
Socket-Class-2.254/install_files.PL
Socket-Class-2.254/sc_mod_def.c
Socket-Class-2.254/sc_mod_def.h
Socket-Class-2.254/sc_bluez.c
Socket-Class-2.254/mod_sc.h
Socket-Class-2.254/Changes
CPAN: File::Temp loaded ok (v0.18)
 * Create directory '/usr/local/portage/mycpan/perl-gcpan/Socket-Class'
 * Create directory '/usr/local/portage/mycpan/perl-gcpan/Socket-Class/files'
 * Generating ebuild for Socket::Class
 * Copying /var/tmp/g-cpan/.cpan/sources/authors/id/C/CH/CHRMUE/Socket-Class-2.254.tar.gz
to /usr/portage/distfiles
 * Ebuild generated for Socket-Class
>>> Creating Manifest for /usr/local/portage/mycpan/perl-gcpan/Socket-Class
* Calling emerge for Socket-Class * Calling: emerge Socket-Class Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) perl-gcpan/Socket-Class-2.254 from mycpan_repo
* Socket-Class-2.254.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source... >>> Unpacking Socket-Class-2.254.tar.gz to /var/tmp/portage/perl-gcpan/Socket-Class-2.254/work >>> Source unpacked in /var/tmp/portage/perl-gcpan/Socket-Class-2.254/work >>> Compiling source in /var/tmp/portage/perl-gcpan/Socket-Class-2.254/work ...
* No Make or Build file detected...
>>> Source compiled. >>> Test phase [not enabled]: perl-gcpan/Socket-Class-2.254
>>> Install Socket-Class-2.254 into /var/tmp/portage/perl-gcpan/Socket-Class-2.254/image/ category perl-gcpan >>> Completed installing Socket-Class-2.254 into /var/tmp/portage/perl-gcpan/Socket-Class-2.254/image/
>>> Installing (1 of 1) perl-gcpan/Socket-Class-2.254
>>> Recording perl-gcpan/Socket-Class in "world" favorites file... >>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date. * Cleaning temporary space pc ~ # equery f perl-gcpan/Socket-Class-2.254 [ Searching for packages matching perl-gcpan/Socket-Class-2.254... ] * Contents of perl-gcpan/Socket-Class-2.254: pc ~ # equery f perl-gcpan/Socket-Class [ Searching for packages matching perl-gcpan/Socket-Class... ] * Contents of perl-gcpan/Socket-Class-2.254: pc ~ # perldoc -l Socket::Class No documentation found for "Socket::Class". 2009/7/27 Sergiy Borodych <bor@×××××××××.ua>:
> On 07/25/09 12:11, Zhang Jun wrote: >> I can not install modules with g-cpan, >> >> my steps are: >> >> mkdir /usr/local/portage/mycpan >> echo 'PORTDIR_OVERLAY="/usr/local/portage/mycpan ${PORTDIR_OVERLAY}"' >>>> /etc/make.conf >> mkdir /usr/local/portage/mycpan/profiles >> echo "mycpan_repo" > /usr/local/portage/mycpan/profiles/repo_name >> g-cpan -gv FCGI::Async ; update-eix >> emerge -av FCGI-Async >> >> but it does not install any file: >> >> # equery f perl-gcpan/FCGI-Async-0.17 >> [ Searching for packages matching perl-gcpan/FCGI-Async-0.17... ] >> * Contents of perl-gcpan/FCGI-Async-0.17: >> # >> >> I also tryed the g-cpan -iv FCGI::Async, no luck >> > What version of g-cpan you used ? > ( current last version contain some not resolved bugs :( ) > > and please post output of 'g-cpan -iv FCGI::Async' > ( but before remove all files in > /usr/local/portage/mycpan/perl-gcpan/FCGI-Async ) > > -- > Sergiy Borodych > http://bor.org.ua > >

Replies

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