From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-perl+bounces-595-garchives=archives.gentoo.org@lists.gentoo.org>) id 1MVZQI-0005Qr-GO for garchives@archives.gentoo.org; Mon, 27 Jul 2009 23:16:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E81A9E00FC; Mon, 27 Jul 2009 23:16:01 +0000 (UTC) Received: from mail-qy0-f204.google.com (mail-qy0-f204.google.com [209.85.221.204]) by pigeon.gentoo.org (Postfix) with ESMTP id C1935E00FC for <gentoo-perl@lists.gentoo.org>; Mon, 27 Jul 2009 23:16:01 +0000 (UTC) Received: by qyk42 with SMTP id 42so724420qyk.32 for <gentoo-perl@lists.gentoo.org>; Mon, 27 Jul 2009 16:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=nHBlJ1UZu8d9abCf8XPkDh7SJrEQPkcL4Bos4NsCDQA=; b=oAPHmSyyQJ9yI8U7Q20T25IJMdlavazOeh23fN05zMEBO2BacuyEN0vrlgFQN5+Na4 JCvsAN9+SZj67vbr4IadjEFNP0X4rGKXDvGduF8vZbFhj7ZgWD3loZXavOzVxjAmPHOm 1sEmuNYey/sDx/MgqblCVMs+QxDI17AwaLr9I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Z7hS5+pn1CBmuzQaogghxHGvq6wKXV7uzJXCHikQHBX10rxDzqxZXNUg60qHSp0BFI Z1tF6QlBSrjIg2G6S59w/zNIja2SRCfcMlQkdS5r9e0mEQrG8ITRX3atRQEBd5POHrJR sGKMqYkHtJQBQ8OjDKzUufqoIgTL4GU9+KpjE= Precedence: bulk List-Post: <mailto:gentoo-perl@lists.gentoo.org> List-Help: <mailto:gentoo-perl+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-perl+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-perl+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-perl.gentoo.org> X-BeenThere: gentoo-perl@lists.gentoo.org Reply-To: gentoo-perl@lists.gentoo.org MIME-Version: 1.0 Received: by 10.220.86.77 with SMTP id r13mr4286332vcl.33.1248736557892; Mon, 27 Jul 2009 16:15:57 -0700 (PDT) In-Reply-To: <4A6D800A.1060603@univ.kiev.ua> References: <a4e18fef0907250211n6d7f6fddkfcdd4837c6d3e680@mail.gmail.com> <4A6D800A.1060603@univ.kiev.ua> Date: Tue, 28 Jul 2009 07:15:57 +0800 Message-ID: <a4e18fef0907271615i30cb9d5bx436d83f852337811@mail.gmail.com> Subject: Re: [gentoo-perl] how to use g-cpan ? From: Zhang Jun <gb2313@gmail.com> To: gentoo-perl@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 3ec2d46f-44f1-47be-b8d0-73e32abd050f X-Archives-Hash: f90910fbb8ebb082a18718251187bb19 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@univ.kiev.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 > >