* [gentoo-perl] how to use g-cpan ?
@ 2009-07-25 9:11 Zhang Jun
2009-07-27 10:23 ` Sergiy Borodych
0 siblings, 1 reply; 6+ messages in thread
From: Zhang Jun @ 2009-07-25 9:11 UTC (permalink / raw
To: gentoo-perl
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-perl] how to use g-cpan ?
2009-07-25 9:11 [gentoo-perl] how to use g-cpan ? Zhang Jun
@ 2009-07-27 10:23 ` Sergiy Borodych
2009-07-27 23:15 ` Zhang Jun
0 siblings, 1 reply; 6+ messages in thread
From: Sergiy Borodych @ 2009-07-27 10:23 UTC (permalink / raw
To: gentoo-perl
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-perl] how to use g-cpan ?
2009-07-27 10:23 ` Sergiy Borodych
@ 2009-07-27 23:15 ` Zhang Jun
2009-07-28 14:16 ` Sergiy Borodych
0 siblings, 1 reply; 6+ messages in thread
From: Zhang Jun @ 2009-07-27 23:15 UTC (permalink / raw
To: gentoo-perl
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
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-perl] how to use g-cpan ?
2009-07-27 23:15 ` Zhang Jun
@ 2009-07-28 14:16 ` Sergiy Borodych
2009-07-30 9:12 ` Zhang Jun
0 siblings, 1 reply; 6+ messages in thread
From: Sergiy Borodych @ 2009-07-28 14:16 UTC (permalink / raw
To: gentoo-perl
On 07/28/09 02:15, Zhang Jun wrote:
> 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".
>
Hmm...
Please attach ebuild created by g-cpan.
For me this module install fine,
but I use last version with some patches [1]
So you can try it too
1. http://bugs.gentoo.org/show_bug.cgi?id=233386
--
Sergiy Borodych
http://bor.org.ua
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-perl] how to use g-cpan ?
2009-07-28 14:16 ` Sergiy Borodych
@ 2009-07-30 9:12 ` Zhang Jun
2009-07-30 12:03 ` Sergiy Borodych
0 siblings, 1 reply; 6+ messages in thread
From: Zhang Jun @ 2009-07-30 9:12 UTC (permalink / raw
To: gentoo-perl
[-- Attachment #1: Type: text/plain, Size: 3626 bytes --]
I installed only one patch for g-cpan, others(cpan.pm portage.pm)
seems already included in lastest portage
but still not work, I've attached the ebuild,
thanks
2009/7/28 Sergiy Borodych <bor@univ.kiev.ua>:
> On 07/28/09 02:15, Zhang Jun wrote:
>> 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".
>>
>
> Hmm...
> Please attach ebuild created by g-cpan.
>
> For me this module install fine,
> but I use last version with some patches [1]
> So you can try it too
>
> 1. http://bugs.gentoo.org/show_bug.cgi?id=233386
>
>
> --
> Sergiy Borodych
> http://bor.org.ua
>
>
[-- Attachment #2: Socket-Class-2.254.ebuild --]
[-- Type: application/octet-stream, Size: 460 bytes --]
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# This ebuild generated by g-cpan 0.15.0
inherit perl-module
S=${WORKDIR}/Socket-Class-2.254-Omnyfe
DESCRIPTION="No description available"
HOMEPAGE="http://search.cpan.org/search?query=Socket-Class&mode=dist"
SRC_URI="mirror://cpan/authors/id/C/CH/CHRMUE/Socket-Class-2.254.tar.gz"
IUSE=""
SLOT="0"
LICENSE="|| ( Artistic GPL-2 )"
KEYWORDS="x86"
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-perl] how to use g-cpan ?
2009-07-30 9:12 ` Zhang Jun
@ 2009-07-30 12:03 ` Sergiy Borodych
0 siblings, 0 replies; 6+ messages in thread
From: Sergiy Borodych @ 2009-07-30 12:03 UTC (permalink / raw
To: gentoo-perl
On 07/30/09 12:12, Zhang Jun wrote:
> I installed only one patch for g-cpan, others(cpan.pm portage.pm)
> seems already included in lastest portage
>
> but still not work, I've attached the ebuild,
>
No, not included, so you need all patches (use ebuild from bug).
But, I think, you use new CPAN.pm, so ${S} is wrong in ebuild.
What version of perl and CPAN you use ?
P.S.
You may use perl-info tool for collect all need info
--
Sergiy Borodych
http://bor.org.ua
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-07-30 12:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-25 9:11 [gentoo-perl] how to use g-cpan ? Zhang Jun
2009-07-27 10:23 ` Sergiy Borodych
2009-07-27 23:15 ` Zhang Jun
2009-07-28 14:16 ` Sergiy Borodych
2009-07-30 9:12 ` Zhang Jun
2009-07-30 12:03 ` Sergiy Borodych
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox