Re: CPAN not working, or is it?

2019-03-12 Thread Gary Stainburn
On Tuesday 12 March 2019 06:16:59 Magnus Woldrich wrote:
>  $ perl -E 'say for @INC'
>  $ echo $PERL5LIB
>  # echo $PERL5LIB
>
> I'd suggest to set the PERL5LIB environment variable in your shell
> config to something like ~/lib/perl5/.
>
> If you need the modules to be available globally and not only for a
> specific user, a better place would be e.g /usr/lib/perl5/*

Hi Magnus,

I had already started looking into this option.  I have done as you said:

[root@lou ~]# perl -E 'say for @INC'
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
.
[root@lou ~]#echo $PERL5LIB

[root@lou ~]

I then amended my .bashrc to amend the two existing lines and added the 
PERL5LIB line:

PERL_MB_OPT="--install_base \"/usr/local/share/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=/usr/local/share/perl5"; export PERL_MM_OPT;
PERL5LIB="/usr/local/share/perl5"; export PERL5LIB;

I then logged out, back in, and checked everything looked good.  I then tried 
the new setup by using CPAN to 'install CPAN'. At the end I got 'OK' but when 
I tried to 'reload cpan' it still loaded 1.9800 when it should have installed 
2.6

[root@lou ~]# perl -E 'say for @INC'
/usr/local/share/perl5
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
.
[root@lou ~]# echo $PERL5LIB
/usr/local/share/perl5
[root@lou ~]# cpan

cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.

cpan[1]> install CPAN
Reading '/root/.cpan/Metadata'
  Database was generated on Mon, 11 Mar 2019 11:57:00 GMT
Running install for module 'CPAN'
Running make for A/AN/ANDK/CPAN-2.25.tar.gz
Checksum for /root/.cpan/sources/authors/id/A/AN/ANDK/CPAN-2.25.tar.gz ok
Scanning cache /root/.cpan/build for sizes
..--DONE
DEL(1/7): /root/.cpan/build/Module-CoreList-5.20190220-NXpphv 
DEL(2/7): /root/.cpan/build/Module-CoreList-5.20190220-NXpphv.yml 
DEL(3/7): /root/.cpan/build/Module-Load-Conditional-0.68-owZpE0.yml 
DEL(4/7): /root/.cpan/build/Module-Load-Conditional-0.68-owZpE0 
DEL(5/7): /root/.cpan/build/IPC-Cmd-1.02-1B6cBN 
DEL(6/7): /root/.cpan/build/ExtUtils-CBuilder-0.280230-w3Bagt.yml 
DEL(7/7): /root/.cpan/build/IPC-Cmd-1.02-1B6cBN.yml 

  CPAN.pm: Building A/AN/ANDK/CPAN-2.25.tar.gz

Importing PAUSE public key into your GnuPG keychain... done!
(You may wish to trust it locally with 'gpg --lsign-key 450F89EC')
Checking if your kit is complete...
Looks good
Writing Makefile for CPAN
Writing MYMETA.yml and MYMETA.json
cp lib/CPAN.pm blib/lib/CPAN.pm
cp lib/CPAN/CacheMgr.pm blib/lib/CPAN/CacheMgr.pm
cp lib/CPAN/FTP/netrc.pm blib/lib/CPAN/FTP/netrc.pm
cp lib/CPAN/LWP/UserAgent.pm blib/lib/CPAN/LWP/UserAgent.pm
cp lib/CPAN/FTP.pm blib/lib/CPAN/FTP.pm
cp lib/CPAN/Queue.pm blib/lib/CPAN/Queue.pm
cp lib/CPAN/Distroprefs.pm blib/lib/CPAN/Distroprefs.pm
cp lib/CPAN/Kwalify/distroprefs.yml blib/lib/CPAN/Kwalify/distroprefs.yml
cp lib/App/Cpan.pm blib/lib/App/Cpan.pm
cp lib/CPAN/Kwalify.pm blib/lib/CPAN/Kwalify.pm
cp lib/CPAN/Module.pm blib/lib/CPAN/Module.pm
cp lib/CPAN/Author.pm blib/lib/CPAN/Author.pm
cp lib/CPAN/Debug.pm blib/lib/CPAN/Debug.pm
cp lib/CPAN/HTTP/Credentials.pm blib/lib/CPAN/HTTP/Credentials.pm
cp lib/CPAN/API/HOWTO.pod blib/lib/CPAN/API/HOWTO.pod
cp lib/CPAN/Complete.pm blib/lib/CPAN/Complete.pm
cp lib/CPAN/HTTP/Client.pm blib/lib/CPAN/HTTP/Client.pm
cp lib/CPAN/FirstTime.pm blib/lib/CPAN/FirstTime.pm
cp lib/CPAN/Exception/blocked_urllist.pm 
blib/lib/CPAN/Exception/blocked_urllist.pm
cp lib/CPAN/Distrostatus.pm blib/lib/CPAN/Distrostatus.pm
cp lib/CPAN/Admin.pm blib/lib/CPAN/Admin.pm
cp lib/CPAN/Tarzip.pm blib/lib/CPAN/Tarzip.pm
cp lib/CPAN/Prompt.pm blib/lib/CPAN/Prompt.pm
cp lib/CPAN/URL.pm blib/lib/CPAN/URL.pm
cp lib/CPAN/Version.pm blib/lib/CPAN/Version.pm
cp lib/CPAN/DeferredCode.pm blib/lib/CPAN/DeferredCode.pm
cp lib/CPAN/Distribution.pm blib/lib/CPAN/Distribution.pm
cp lib/CPAN/Nox.pm blib/lib/CPAN/Nox.pm
cp lib/CPAN/Exception/RecursiveDependency.pm 
blib/lib/CPAN/Exception/RecursiveDependency.pm
cp lib/CPAN/Bundle.pm blib/lib/CPAN/Bundle.pm
cp lib/CPAN/Plugin/Specfile.pm blib/lib/CPAN/Plugin/Specfile.pm
cp lib/CPAN/Shell.pm blib/lib/CPAN/Shell.pm
cp lib/CPAN/InfoObj.pm blib/lib/CPAN/InfoObj.pm
cp lib/CPAN/HandleConfig.pm blib/lib/CPAN/HandleConfig.pm
cp lib/CPAN/Exception/yaml_process_error.pm 
blib/lib/CPAN/Exception/yaml_process_error.pm
cp lib/CPAN/Plugin.pm blib/lib/CPAN/Plugin.pm
cp lib/CPAN/Exception/yaml_not_installed.pm 
blib/lib/CPAN/Exception/yaml_not_installed.pm
cp lib/CPAN/Index.pm blib/lib/CPAN/Index.pm
cp lib/CPAN/Kwalify/distroprefs.dd blib/lib/CPAN/Kwalify/distroprefs.dd
cp lib/CPAN/Mirrors.pm blib/lib/CPAN/Mirrors.pm
cp scripts/cpan-mirrors blib/script/cpan-mirrors
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cpan-mirrors
cp scripts/cpan bl

Re: CPAN not working, or is it?

2019-03-12 Thread Magnus Woldrich
On Mar 11, Gary Stainburn (Gary Stainburn) wrote:

I started off as always by using RPM's for everything I possibly can. I then
started to use CPAN for everything else.


You should use cpan(m) for everything. That way all modules will be up
to date and they will be installed into the same place.

However,  as I went for bigger modules, anything that had dependences were
then failing as the dependencie were installed OK but then did not appear to
be available.


They are not failing; you are running cpan as root and the modules are
installed in /root/perl5/ which probably isn't in your @INC, which is
why they can't be found.

Try:

 $ perl -E 'say for @INC'
 $ echo $PERL5LIB
 # echo $PERL5LIB

I'd suggest to set the PERL5LIB environment variable in your shell
config to something like ~/lib/perl5/.

If you need the modules to be available globally and not only for a
specific user, a better place would be e.g /usr/lib/perl5/*


-- 
Magnus Woldrich
japh@freenode
http://japh.se
https://github.com/trapd00r

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN not working, or is it?

2019-03-11 Thread Bruce Ferrell

Gary

What often happens when you have "larger" modules, they reply on libraries.  To 
build the perl module from source, you need to devel rpm of the library installed to link 
against.

example
libxml2-2.7.6-21.el6_8.1.x86_64
libxml2-devel-2.7.6-21.el6_8.1.x86_64

XML::Simple won't build unless the devel is present

CPAN isn't real good at reporting why the build failed, just that it failed.

What I've learned to  do when I have this sort of issue is to pop out of CPAN 
and into ~/.cpan/build.

Locate the unpacked module and try the build manually.

I get better errors that way.



On 3/11/19 6:55 AM, Gary Stainburn wrote:

I'm replacing a dead F19 box with a new C7 one and I'm trying to get my Perl
install completed.  Ultimately, I need to get Selenium::Remote::Driver
working, but I'm struggling before that.

I started off as always by using RPM's for everything I possibly can. I then
started to use CPAN for everything else.  It looked like CPAN was working and
things were installing "OK".

However,  as I went for bigger modules, anything that had dependences were
then failing as the dependencie were installed OK but then did not appear to
be available.

The last thing I've just tried is to update CPAN as the RPM is 1.9800 and the
latest is 2.6.  As you can see below, the install worked, but when it
reloaded, or when I came out and went back in, it still showed 1.9800

Anyone got any ideas what  I need to do?

cpan[2]> install CPAN
Running install for module 'CPAN'
Running make for A/AN/ANDK/CPAN-2.25.tar.gz
Fetching with LWP:
http://mirror.bytemark.co.uk/CPAN/authors/id/A/AN/ANDK/CPAN-2.25.tar.gz
Fetching with LWP:
http://mirror.bytemark.co.uk/CPAN/authors/id/A/AN/ANDK/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/A/AN/ANDK/CPAN-2.25.tar.gz ok

   CPAN.pm: Building A/AN/ANDK/CPAN-2.25.tar.gz

Importing PAUSE public key into your GnuPG keychain... done!
(You may wish to trust it locally with 'gpg --lsign-key 450F89EC')
Checking if your kit is complete...
Looks good
Writing Makefile for CPAN
Writing MYMETA.yml and MYMETA.json
cp lib/CPAN.pm blib/lib/CPAN.pm
cp lib/CPAN/CacheMgr.pm blib/lib/CPAN/CacheMgr.pm
cp lib/CPAN/FTP/netrc.pm blib/lib/CPAN/FTP/netrc.pm
cp lib/CPAN/LWP/UserAgent.pm blib/lib/CPAN/LWP/UserAgent.pm
cp lib/CPAN/FTP.pm blib/lib/CPAN/FTP.pm
cp lib/CPAN/Queue.pm blib/lib/CPAN/Queue.pm
cp lib/CPAN/Distroprefs.pm blib/lib/CPAN/Distroprefs.pm
cp lib/CPAN/Kwalify/distroprefs.yml blib/lib/CPAN/Kwalify/distroprefs.yml
cp lib/App/Cpan.pm blib/lib/App/Cpan.pm
cp lib/CPAN/Kwalify.pm blib/lib/CPAN/Kwalify.pm
cp lib/CPAN/Module.pm blib/lib/CPAN/Module.pm
cp lib/CPAN/Author.pm blib/lib/CPAN/Author.pm
cp lib/CPAN/Debug.pm blib/lib/CPAN/Debug.pm
cp lib/CPAN/HTTP/Credentials.pm blib/lib/CPAN/HTTP/Credentials.pm
cp lib/CPAN/API/HOWTO.pod blib/lib/CPAN/API/HOWTO.pod
cp lib/CPAN/Complete.pm blib/lib/CPAN/Complete.pm
cp lib/CPAN/HTTP/Client.pm blib/lib/CPAN/HTTP/Client.pm
cp lib/CPAN/FirstTime.pm blib/lib/CPAN/FirstTime.pm
cp lib/CPAN/Exception/blocked_urllist.pm
blib/lib/CPAN/Exception/blocked_urllist.pm
cp lib/CPAN/Distrostatus.pm blib/lib/CPAN/Distrostatus.pm
cp lib/CPAN/Admin.pm blib/lib/CPAN/Admin.pm
cp lib/CPAN/Tarzip.pm blib/lib/CPAN/Tarzip.pm
cp lib/CPAN/Prompt.pm blib/lib/CPAN/Prompt.pm
cp lib/CPAN/URL.pm blib/lib/CPAN/URL.pm
cp lib/CPAN/Version.pm blib/lib/CPAN/Version.pm
cp lib/CPAN/DeferredCode.pm blib/lib/CPAN/DeferredCode.pm
cp lib/CPAN/Distribution.pm blib/lib/CPAN/Distribution.pm
cp lib/CPAN/Nox.pm blib/lib/CPAN/Nox.pm
cp lib/CPAN/Exception/RecursiveDependency.pm
blib/lib/CPAN/Exception/RecursiveDependency.pm
cp lib/CPAN/Bundle.pm blib/lib/CPAN/Bundle.pm
cp lib/CPAN/Plugin/Specfile.pm blib/lib/CPAN/Plugin/Specfile.pm
cp lib/CPAN/Shell.pm blib/lib/CPAN/Shell.pm
cp lib/CPAN/InfoObj.pm blib/lib/CPAN/InfoObj.pm
cp lib/CPAN/HandleConfig.pm blib/lib/CPAN/HandleConfig.pm
cp lib/CPAN/Exception/yaml_process_error.pm
blib/lib/CPAN/Exception/yaml_process_error.pm
cp lib/CPAN/Plugin.pm blib/lib/CPAN/Plugin.pm
cp lib/CPAN/Exception/yaml_not_installed.pm
blib/lib/CPAN/Exception/yaml_not_installed.pm
cp lib/CPAN/Index.pm blib/lib/CPAN/Index.pm
cp lib/CPAN/Kwalify/distroprefs.dd blib/lib/CPAN/Kwalify/distroprefs.dd
cp lib/CPAN/Mirrors.pm blib/lib/CPAN/Mirrors.pm
cp scripts/cpan-mirrors blib/script/cpan-mirrors
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cpan-mirrors
cp scripts/cpan blib/script/cpan
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cpan
Manifying blib/man1/cpan-mirrors.1
Manifying blib/man1/cpan.1
Manifying blib/man3/CPAN.3pm
Manifying blib/man3/CPAN::Admin.3pm
Manifying blib/man3/CPAN::Tarzip.3pm
Manifying blib/man3/CPAN::Queue.3pm
Manifying blib/man3/CPAN::Distroprefs.3pm
Manifying blib/man3/CPAN::Version.3pm
Manifying blib/man3/App::Cpan.3pm
Manifying blib/man3/CPAN::Kwalify.3pm
Manifying blib/man3/CPAN::Nox.3pm
Manifying blib/man3/CPAN::Plugin::Specfile.3pm
Manifying blib/man3/CPAN::Debug.3pm
Manifying blib/man3/CPAN::HandleConfig.3pm
Manifyin

Re: CPAN not working, or is it?

2019-03-11 Thread Mike Flannigan



I wanted you to know that we are out here, but
just unable to help you.

I doubt this old post will help you any:
https://centosfaq.org/centos/perl-on-centos-6-and-centos-7/


Mike


On 3/11/2019 8:55 AM, Gary Stainburn wrote:

I'm replacing a dead F19 box with a new C7 one and I'm trying to get my Perl
install completed.  Ultimately, I need to get Selenium::Remote::Driver
working, but I'm struggling before that.

I started off as always by using RPM's for everything I possibly can. I then
started to use CPAN for everything else.  It looked like CPAN was working and
things were installing "OK".

However,  as I went for bigger modules, anything that had dependences were
then failing as the dependencie were installed OK but then did not appear to
be available.

The last thing I've just tried is to update CPAN as the RPM is 1.9800 and the
latest is 2.6.  As you can see below, the install worked, but when it
reloaded, or when I came out and went back in, it still showed 1.9800

Anyone got any ideas what  I need to do?

cpan[2]> install CPAN
Running install for module 'CPAN'
Running make for A/AN/ANDK/CPAN-2.25.tar.gz
Fetching with LWP:
http://mirror.bytemark.co.uk/CPAN/authors/id/A/AN/ANDK/CPAN-2.25.tar.gz
Fetching with LWP:
http://mirror.bytemark.co.uk/CPAN/authors/id/A/AN/ANDK/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/A/AN/ANDK/CPAN-2.25.tar.gz ok

   CPAN.pm: Building A/AN/ANDK/CPAN-2.25.tar.gz

Importing PAUSE public key into your GnuPG keychain... done!
(You may wish to trust it locally with 'gpg --lsign-key 450F89EC')
Checking if your kit is complete...
Looks good
Writing Makefile for CPAN
Writing MYMETA.yml and MYMETA.json


snip

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN will shutdown

2018-05-29 Thread Andreas Eder
On Mi 23 Mai 2018 at 16:20, fudmier via beginners  wrote:

> et Brutus! part of big brother scam.. ?

You mean: et tu Brute?

'Andreas

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN will shutdown

2018-05-29 Thread William A Rowe Jr
On Tue, May 22, 2018 at 10:41 PM, Practical Perl 
wrote:

> *search.cpan.org  is shutting down*
> For details read Perl NOC
> .
> After June 25th this page will redirect to MetaCPAN.org
> 
>
>
> So does as well as Perl?
>

In this day and age, seamless delegation is so trivial, but I was heartened
to read;

*"Update #1 (2018-05-19)*:  There's some confusion around whether or not
existing search.cpan.org URLs will continue to work.  They will!  The vast
majority of of them will be transparently served by MetaCPAN pages.  You do
not need to update any links right now."

Provided that eases away 95% of maintenance headaches, it seems sysadmins
and users all get to have our cake.


Re: CPAN will shutdown

2018-05-23 Thread fudmier via beginners

Perl  and Search.perl.org are not in need of replacement?
BTW what is happening to Julian Assange?


et Brutus! part of big brother scam.. ?


On 2018-05-23 12:33 AM, Octavian Rasnita wrote:
"2) It’s not “shutting down” so much as it is being replaced by the 
existing MetaCPAN search site. This is positive news about the future 
of Perl: an older, less capable tool has been replaced"


metacpan.org has some disadvantages compared with search.cpan.org, and 
some missing features, so it is not positive news for everybody.


Unlike search.cpan.org, metacpan doesn't use a heading for each record 
found, so it is much harder to navigate among the found results when 
using a screen reader.


Metacpan's interface is not as standard as search.cpan.org's 
interface. After searching something and the results are shown, it is 
less intuitive where begins the group of links for a record (module or 
distribution) and where it ends, especially that the number of links 
differ among different modules/distributions found.
If the interface is made intuitive just by using different colors for 
different things or by a special positioning on site, these things 
doesn't met the web accessibility guidelines, and are useless for the 
blind.


These disadvantages are there for many years, there is no contact data 
where they can be reported easy, the soft behind metacpan is open 
source so if somebody don't like something might be invited to make 
the improvements himself, with the efforts involved, and this while 
there is a more accessible solution already that don't need any effort 
to be used.
Plus that with its current non-intuitive interface where the results 
found are not similar, it could be even harder to do the necessary 
improvements. Which of the links in a result should appear as heading, 
so the screen reader users should be able to jump among easier? The 
distribution name appears in all results, but it is usually not very 
relevant. More relevant are the module names, but for each record 
there may be one or more modules displayed and it would be not good to 
mark them all as headings, because they all point to the same 
distribution.
On search.cpan.org it was a very good solution to be able to choose to 
display each module as a distinct record, or each distribution as a 
distinct record, depending on what you need.


In the pages that describe the modules, the text is badly formatted to 
look nicer just for the sighted, but it is hard to understand by the 
blind.


Here is how a description text appears like for screen readers:

package
link MyKwikiFormatter
;
use
link base

'link CGI::Kwiki::Formatter'
;

... while it should be looking like:

package MyKwikiFormatter;
use base 'CGI::Kwiki::Formatter';

This is because some parts of the text like module names appear as 
links, which are read by the screen reader as text on distinct lines, 
with the word "link" before them.


And there are also other smaller things that metacpan to look worse, 
for example for the  elements for NAME, DESCRIPTION  etc, instead 
to appear just a single time as links in a level 1 heading, they 
appear twice and they are read like:


#NAME
NAME

even if I don't know why, because #NAME appears just as a value of the 
href attribute, but who knows what are doing the JS and CSS code...


--Octavian



--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




RE: CPAN will shutdown

2018-05-23 Thread Duncan Ferguson
Just to clear things up – CPAN is NOT shutting down!

The website http://search.cpan.org/ is being *replaced* by 
http://search.mcpan.org/ -  the rest of the cpan subdomains (such as 
pause.cpan.org) are not being touched.

Read https://log.perl.org/2018/05/goodbye-search-dot-cpan-dot-org.html for more 
details

  Duncs

From: Martin Kaspar [mailto:martin.kas...@campus-24.com]
Sent: 23 May 2018 07:48
To: John SJ Anderson 
Cc: Practical Perl ; Perl Beginners 

Subject: Re: CPAN will shutdown

Hello

plz let us know what is going on there.
CPAN closing - shutting down - this is crazy - i cannot believe this.
well whats up with the people there
we need CPAN

plz  help to keep this place alive

cheers
martin

On Wed, May 23, 2018 at 5:47 AM, John SJ Anderson 
mailto:j...@genehack.org>> wrote:

> On 22May2018, at 20:41, Practical Perl 
> mailto:practicalp...@gmail.com>> wrote:
>
> search.cpan.org<http://search.cpan.org> is shutting down
> For details read Perl NOC. After June 25th this page will redirect to 
> MetaCPAN.org

1) Please don’t cross-post between this list and other lists. It’s rude.

2) It’s not “shutting down” so much as it is being replaced by the existing 
MetaCPAN search site. This is positive news about the future of Perl: an older, 
less capable tool has been replaced, and is being shutdown and transitioned to 
its replacement in an orderly fashion. This is what a healthy programming 
language community looks like.

chrs,
john.

--
To unsubscribe, e-mail: 
beginners-unsubscr...@perl.org<mailto:beginners-unsubscr...@perl.org>
For additional commands, e-mail: 
beginners-h...@perl.org<mailto:beginners-h...@perl.org>
http://learn.perl.org/




--

 [cid:image001.png@01D3F274.21EC2A90] 
<http://www.facebook.com/martin.kaspar.547>   [gplus_Seiten_Signatur] 
<https://plus.google.com/u/0/104428351748591530426>


Re: CPAN will shutdown

2018-05-22 Thread Martin Kaspar
Hello

plz let us know what is going on there.
CPAN closing - shutting down - this is crazy - i cannot believe this.
well whats up with the people there
we need CPAN

plz  help to keep this place alive

cheers
martin

On Wed, May 23, 2018 at 5:47 AM, John SJ Anderson  wrote:

>
> > On 22May2018, at 20:41, Practical Perl  wrote:
> >
> > search.cpan.org is shutting down
> > For details read Perl NOC. After June 25th this page will redirect to
> MetaCPAN.org
>
> 1) Please don’t cross-post between this list and other lists. It’s rude.
>
> 2) It’s not “shutting down” so much as it is being replaced by the
> existing MetaCPAN search site. This is positive news about the future of
> Perl: an older, less capable tool has been replaced, and is being shutdown
> and transitioned to its replacement in an orderly fashion. This is what a
> healthy programming language community looks like.
>
> chrs,
> john.
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>


-- 

    [image:
gplus_Seiten_Signatur] 


Re: CPAN will shutdown

2018-05-22 Thread Octavian Rasnita
"2) It’s not “shutting down” so much as it is being replaced by the existing 
MetaCPAN search site. This is positive news about the future of Perl: an 
older, less capable tool has been replaced"


metacpan.org has some disadvantages compared with search.cpan.org, and some 
missing features, so it is not positive news for everybody.


Unlike search.cpan.org, metacpan doesn't use a heading for each record 
found, so it is much harder to navigate among the found results when using a 
screen reader.


Metacpan's interface is not as standard as search.cpan.org's interface. 
After searching something and the results are shown, it is less intuitive 
where begins the group of links for a record (module or distribution) and 
where it ends, especially that the number of links differ among different 
modules/distributions found.
If the interface is made intuitive just by using different colors for 
different things or by a special positioning on site, these things doesn't 
met the web accessibility guidelines, and are useless for the blind.


These disadvantages are there for many years, there is no contact data where 
they can be reported easy, the soft behind metacpan is open source so if 
somebody don't like something might be invited to make the improvements 
himself, with the efforts involved, and this while there is a more 
accessible solution already that don't need any effort to be used.
Plus that with its current non-intuitive interface where the results found 
are not similar, it could be even harder to do the necessary improvements. 
Which of the links in a result should appear as heading, so the screen 
reader users should be able to jump among easier? The distribution name 
appears in all results, but it is usually not very relevant. More relevant 
are the module names, but for each record there may be one or more modules 
displayed and it would be not good to mark them all as headings, because 
they all point to the same distribution.
On search.cpan.org it was a very good solution to be able to choose to 
display each module as a distinct record, or each distribution as a distinct 
record, depending on what you need.


In the pages that describe the modules, the text is badly formatted to look 
nicer just for the sighted, but it is hard to understand by the blind.


Here is how a description text appears like for screen readers:

package
link MyKwikiFormatter
;
use
link base

'link CGI::Kwiki::Formatter'
;

... while it should be looking like:

package MyKwikiFormatter;
use base 'CGI::Kwiki::Formatter';

This is because some parts of the text like module names appear as links, 
which are read by the screen reader as text on distinct lines, with the word 
"link" before them.


And there are also other smaller things that metacpan to look worse, for 
example for the  elements for NAME, DESCRIPTION  etc, instead to appear 
just a single time as links in a level 1 heading, they appear twice and they 
are read like:


#NAME
NAME

even if I don't know why, because #NAME appears just as a value of the href 
attribute, but who knows what are doing the JS and CSS code...


--Octavian

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN will shutdown

2018-05-22 Thread Raunak Kathuria
Also please don't use misleading subject. CPAN is altogether different from
search.cpan.org.

Regards
Raunak

On Wed, May 23, 2018 at 11:50 AM John SJ Anderson  wrote:

>
> > On 22May2018, at 20:41, Practical Perl  wrote:
> >
> > search.cpan.org is shutting down
> > For details read Perl NOC. After June 25th this page will redirect to
> MetaCPAN.org
>
> 1) Please don’t cross-post between this list and other lists. It’s rude.
>
> 2) It’s not “shutting down” so much as it is being replaced by the
> existing MetaCPAN search site. This is positive news about the future of
> Perl: an older, less capable tool has been replaced, and is being shutdown
> and transitioned to its replacement in an orderly fashion. This is what a
> healthy programming language community looks like.
>
> chrs,
> john.
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>


Re: CPAN will shutdown

2018-05-22 Thread John SJ Anderson

> On 22May2018, at 20:41, Practical Perl  wrote:
> 
> search.cpan.org is shutting down
> For details read Perl NOC. After June 25th this page will redirect to 
> MetaCPAN.org 

1) Please don’t cross-post between this list and other lists. It’s rude. 

2) It’s not “shutting down” so much as it is being replaced by the existing 
MetaCPAN search site. This is positive news about the future of Perl: an older, 
less capable tool has been replaced, and is being shutdown and transitioned to 
its replacement in an orderly fashion. This is what a healthy programming 
language community looks like. 

chrs,
john.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN unavailable

2014-05-21 Thread Octavian Rasnita
From: "Shlomi Fish" Hi all,

On Wed, 21 May 2014 11:49:17 +1000
 wrote:

> 
> From: Yonghua Peng
> 
> > Do you know why these days cpan.org has been unavailable?
> 
> I don't know why, but it has been down (often for lengthy periods) quite a 
> bit lately.
> Thankfully, https://metacpan.org seems to be always available.
> 

Just a note - http://www.cpan.org/ (to which http://cpan.org/ redirects) and
ftp://ftp.cpan.org/ are perfectly fine - it is search.cpan.org that is down
(and this, unfortunately, is what the search box on www.cpan.org is using). Like
you said http://metacpan.org/ is up, and it is also open source, provides a web
API, and is otherwise better.


Better, but unfortunately not for everybody.
I checked a few CPAN mirrors but all seem to send the search queries to 
search.cpan.org, so they are not very helpful either.
It is strange that those servers are mirrors, so they have all the modules, but 
they need to search using search.cpan.org.

Octavian


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN unavailable

2014-05-20 Thread Mike

I would recommend using http://metacpan.org

And for installing modules, you could try cpanminus:

curl -L http://cpanmin.us | perl - --sudo App::cpanminu

On 5/20/14, 8:22 PM, Yonghua Peng wrote:

Hello,

Do you know why these days cpan.org has been unavailable?
I always got:


  503 Service Unavailable

No server is available to handle this request.

Thanks.


 




Re: CPAN unavailable

2014-05-20 Thread Shlomi Fish
Hi all,

On Wed, 21 May 2014 11:49:17 +1000
 wrote:

> 
> From: Yonghua Peng
> 
> > Do you know why these days cpan.org has been unavailable?
> 
> I don't know why, but it has been down (often for lengthy periods) quite a 
> bit lately.
> Thankfully, https://metacpan.org seems to be always available.
> 

Just a note - http://www.cpan.org/ (to which http://cpan.org/ redirects) and
ftp://ftp.cpan.org/ are perfectly fine - it is search.cpan.org that is down
(and this, unfortunately, is what the search box on www.cpan.org is using). Like
you said http://metacpan.org/ is up, and it is also open source, provides a web
API, and is otherwise better.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
UNIX Fortune Cookies - http://www.shlomifish.org/humour/fortunes/

/usr/bin/perl consults Chuck Norris with how to parse Perl.
— Nadav Vinik ; http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN unavailable

2014-05-20 Thread sisyphus1


From: Yonghua Peng


Do you know why these days cpan.org has been unavailable?


I don't know why, but it has been down (often for lengthy periods) quite a 
bit lately.

Thankfully, https://metacpan.org seems to be always available.

Cheers,
Rob 



--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN unavailable

2014-05-20 Thread Jim Gibson

On May 20, 2014, at 6:41 PM, Yonghua Peng  wrote:

> I probably meant search.cpan.org doesn't work.

Try picking a different mirror. These are the ones I am using:

http://httpupdate35.cpanel.net/CPAN/
http://mirrors.gossamer-threads.com/CPAN/
http://cpan.cs.utah.edu/


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN utility

2014-03-18 Thread Shlomi Fish
Hi Yosef,

On Tue, 18 Mar 2014 13:54:18 +0200
Yosef Levy  wrote:

> Hello All,
> 
> Paul said:
> ---
> Depending on the distribution you are using you might have a tool to
> automate the process of recursively installing dependencies.
> 
> I have the following problem:
> ---
> I am using CPAN utility from ActivePerl.
> Platform WIN7 64bit.

Ah, well, in general, Strawberry Perl is more recommended for using on Windows:

http://perl-begin.org/platforms/windows/

(*Note* that perl-begin.org is a site I originated and maintain). 

Currently, the page also mentions DWIM Perl, but last time I checked it was out
of date (only has perl-5.14.2).

> 
> I think it is corrupted, when trying run it I receive:
> 
> C:\>cpan
> Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4
> ←[32m
> cpan shell -- CPAN exploration and modules installation (v1.9800)
> Enter 'h' for help.←[0m
> 
> 
> cpan> make List::AllUtils
> ←[32mReading 'C:\yosef\cpan\Metadata'←[0m
> ←[32m  Database was generated on Mon, 17 Mar 2014 10:53:02 GMT←[0m
> ←[32mRunning make for module 'List::AllUtils'←[0m
> ←[32mRunning make for D/DR/DROLSKY/List-AllUtils-0.07.tar.gz←[0m
> ←[32mChecksum for
> C:\yosef\cpan\sources\authors\id\D\DR\DROLSKY\List-AllUtils-0.07.tar.gz
> ok←[0m
> ←[32mScanning cache C:\yosef/cpan/build for sizes←[0m
> ←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[3
> m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←
> 0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←
> 32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m
> ←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0
> ←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[3
> m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←
> 

I never used the "make" command in the CPAN shell, and don't know what it does.
You can try using "install List::AllUtils" instead (which may work better in
Strawberry Perl) or you can try installing this module using ActivePerl’s ppm
utility.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
Buffy Factoids - http://www.shlomifish.org/humour/bits/facts/Buffy/

A kid always wishes they were older until they are 18. Afterwards, they always
wish they were younger.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN utility

2014-03-18 Thread Yonghua Peng
 We have been using cpanm for the automate installation.
https://raw.github.com/miyagawa/cpanminus/master/cpanm


We are looking for openstack and python developers. 
Please check: http://www.nsbeta.info/jobs

Tue, 18 Mar 2014 13:54:18 +0200 from Yosef Levy :
>Hello All,
>
>Paul said:
>---
>Depending on the distribution you are using you might have a tool to
>automate the process of recursively installing dependencies.
>
>I have the following problem:
>---
>I am using CPAN utility from ActivePerl.
>Platform WIN7 64bit.
>
>I think it is corrupted, when trying run it I receive:
>
>C:\>cpan
>Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4
>←[32m
>cpan shell -- CPAN exploration and modules installation (v1.9800)
>Enter 'h' for help.←[0m
>
>
>cpan> make List::AllUtils
>←[32mReading 'C:\yosef\cpan\Metadata'←[0m
>←[32m  Database was generated on Mon, 17 Mar 2014 10:53:02 GMT←[0m
>←[32mRunning make for module 'List::AllUtils'←[0m
>←[32mRunning make for D/DR/DROLSKY/List-AllUtils-0.07.tar.gz←[0m
>←[32mChecksum for 
>C:\yosef\cpan\sources\authors\id\D\DR\DROLSKY\List-AllUtils-0.07.tar.gz ok←[0m
>←[32mScanning cache C:\yosef/cpan/build for sizes←[0m
>←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[3
>m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←
>0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←
>32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m
>←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0
>←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[3
>m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←[0m←[32m.←
>
>???
>
>Rgds.
>



Re: cpan App::cpanminus

2013-07-23 Thread Andy Bach
On Tue, Jul 23, 2013 at 1:59 AM, *Shaji Kalidasan* wrote:

> You might be behind a firewall which blocks http or https requests
> originating from non browsers.



You can test this by using a tool like wget, curl or even telnet to try and
connect to the strawberry perl site from the command line.  It does look
like there's nothing Perl-ish wrong but network.

# wget http://cpan.strawberryperl.com/
[connect and download index.html page]

# telnet cpan.strawberryperl.com 80
GET / HTTP/1.0


Hmm, from that result [1] appears cpan.strawberryperl is down, temporarily.
May not be your end that's the problem

-- 

a

[1]
#  telnet cpan.strawberryperl.com 80
Trying 69.163.179.35...
Connected to cpan.strawberryperl.com (69.163.179.35).
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 200 OK
Date: Tue, 23 Jul 2013 14:53:48 GMT
Server: Apache
Last-Modified: Fri, 06 Aug 2010 21:48:01 GMT
ETag: "153-48d2e9eea2640"
Accept-Ranges: bytes
Content-Length: 339
Connection: close
Content-Type: text/html




Site Temporarily Unavailable


Site Temporarily Unavailable

We apologize for the inconvenience. Please contact the webmaster/
tech support immediately to have them rectify this.

error id: "bad_httpd_conf"





Andy Bach,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk


Re: cpan App::cpanminus

2013-07-23 Thread Luca Ferrari
On Tue, Jul 23, 2013 at 8:59 AM, *Shaji Kalidasan*  wrote:
> Rohit,
>
> You might be behind a firewall which blocks http or https requests
> originating from non browsers. This type of blocking will be typically be
> categorized into Dos attack (denial-of-service attack). Your network
> administrator can temporarily grant you access.
>

It is strange that the reported error is a "bad hostname". Of course
name resolution is working fine, since the browser works. It could be
a proxy problem, and I should try defining the http_proxy variable (if
it works too for cpanm).
You can also verify if your proxy (assuming there's one) is blocking
non browser request using telnet:
telnet cpan.strawberryperl.com 80
and see if you get connected. In the case it is the proxy blocking non
browser request you can ask your network admin to add the LWP user
agent to the white list (libwww-perl/#.###).  Otherwise there could be
a way of setting permanently the lwp::useragent product id to fake the
proxy.

Hope this helps.
Luca

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: cpan App::cpanminus

2013-07-23 Thread *Shaji Kalidasan*
Rohit,

You might be behind a firewall which blocks http or https requests originating 
from non browsers. This type of blocking will be typically be categorized into 
Dos attack (denial-of-service attack). Your network administrator can 
temporarily grant you access.

In our environment we encountered this type of problems during EPIC 
installation (Eclipse Perl Integration) with Eclipse IDE. We tried to install 
the software updates through Eclipse <http://e-p-i-c.sf.net/updates/testing> 
which is not a browser technically and it wasn't going through, and then we 
resolved the issues with help from our network team.

Hope it helps.
 
best,
Shaji 
---
Your talent is God's gift to you. What you do with it is your gift back to God.
---



 From: Robert Freiberger 
To: rohit.s...@hqcc.sahara.co.in 
Cc: Jim Gibson ; begin Perl Beginners 
 
Sent: Tuesday, 23 July 2013 12:15 PM
Subject: Re: cpan App::cpanminus
 


Hello Rohit, 

I had some issues installing Cpanminus, and I found out that on my Mac and 
Linux desktops, I had to use sudo or elevated privileges. On the PC the install 
was pretty straight forward, I don't recall the specific instructions but the 
Mac install was much harder. 

Here's some tips about installing cpanm. 
http://perltraining.com.au/tips/2012-03-27.html

Thanks,
Robert



On Mon, Jul 22, 2013 at 10:53 PM,  wrote:

Yes, I am able to connect http://strawberryperl.com from chrome browser.
>Even I have downloaded 01mailrc.txt.gz using
>http://cpan.strawberryperl.com/authors/01mailrc.txt.gz through browser.
>
>But still I am facing the same problem.
>
>Regards,
>Rohit
>
>
>> You apparently have a connection problem. Can you connect to
>> http://strawberryperl.com in a browser on the same system?
>>
>> On Jul 22, 2013, at 3:41 AM, Rohit Soni wrote:
>>
>>> Dear All,
>>>
>>> I am a beginner and just wanted to ask that which Module(s) should I
>>> start with.
>>> On the Perl installation page, it has been written that you need to
>>> install the modules by running the command “cpan App::cpanminus”
>>> While running I am getting the error as…
>>>
>>> “CPAN: CPAN::SQLite loaded ok (v0.202)
>>> CPAN: LWP::UserAgent loaded ok (v6.04)
>>> CPAN: Time::HiRes loaded ok (v1.9725)
>>> Fetching with LWP:
>>> http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
>>> LWP failed with code[500] message[Can't connect to
>>> cpan.strawberryperl.com:80 (B
>>> ad hostname)]
>>> Warning: no success downloading
>>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>>> .gz.tmp632'. Giving up on it.
>>> Fetching with LWP:
>>> http://www.cpan.org/authors/01mailrc.txt.gz
>>> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad
>>> hostname
>>> )]
>>> Warning: no success downloading
>>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>>> .gz.tmp632'. Giving up on it.
>>> Fetching with LWP:
>>> http://www.cpan.org/authors/01mailrc.txt.gz
>>> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad
>>> hostname
>>> )]
>>> Warning: no success downloading
>>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>>> .gz.tmp632'. Giving up on it.
>>> Warning: no success downloading
>>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>>> .gz.tmp632'. Giving up on it.
>>>
>>> As a last resort we now switch to the external ftp command
>>> 'C:\Windows\system32\
>>> ftp.exe'
>>> to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp632'.
>>>
>>> Doing so often leads to problems that are hard to diagnose.
>>>
>>> If you're the victim of such problems, please consider unsetting the
>>> ftp config variable with
>>>
>>>     o conf ftp ""
>>>     o conf commit
>>>
>>> Fetching with LWP:
>>> http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
>>> LWP failed with code[500] message[Can't connect to
>>> cpan.strawberryperl.com:80 (B
>>> ad hostname)]
>>> Warning: no success downloading
>>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>>> .gz.tmp632'. Giving up on it.
>>> Fetching with LWP:
>>> http://www.cpan.org/authors/01mailrc.txt.gz
>>> LWP failed with code[500]

Re: cpan App::cpanminus

2013-07-22 Thread Robert Freiberger
Hello Rohit,

I had some issues installing Cpanminus, and I found out that on my Mac and
Linux desktops, I had to use sudo or elevated privileges. On the PC the
install was pretty straight forward, I don't recall the specific
instructions but the Mac install was much harder.

Here's some tips about installing cpanm.
http://perltraining.com.au/tips/2012-03-27.html

Thanks,
Robert


On Mon, Jul 22, 2013 at 10:53 PM,  wrote:

> Yes, I am able to connect http://strawberryperl.com from chrome browser.
> Even I have downloaded 01mailrc.txt.gz using
> http://cpan.strawberryperl.com/authors/01mailrc.txt.gz through browser.
>
> But still I am facing the same problem.
>
> Regards,
> Rohit
>
> > You apparently have a connection problem. Can you connect to
> > http://strawberryperl.com in a browser on the same system?
> >
> > On Jul 22, 2013, at 3:41 AM, Rohit Soni wrote:
> >
> >> Dear All,
> >>
> >> I am a beginner and just wanted to ask that which Module(s) should I
> >> start with.
> >> On the Perl installation page, it has been written that you need to
> >> install the modules by running the command “cpan App::cpanminus”
> >> While running I am getting the error as…
> >>
> >> “CPAN: CPAN::SQLite loaded ok (v0.202)
> >> CPAN: LWP::UserAgent loaded ok (v6.04)
> >> CPAN: Time::HiRes loaded ok (v1.9725)
> >> Fetching with LWP:
> >> http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
> >> LWP failed with code[500] message[Can't connect to
> >> cpan.strawberryperl.com:80 (B
> >> ad hostname)]
> >> Warning: no success downloading
> >> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> >> .gz.tmp632'. Giving up on it.
> >> Fetching with LWP:
> >> http://www.cpan.org/authors/01mailrc.txt.gz
> >> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad
> >> hostname
> >> )]
> >> Warning: no success downloading
> >> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> >> .gz.tmp632'. Giving up on it.
> >> Fetching with LWP:
> >> http://www.cpan.org/authors/01mailrc.txt.gz
> >> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad
> >> hostname
> >> )]
> >> Warning: no success downloading
> >> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> >> .gz.tmp632'. Giving up on it.
> >> Warning: no success downloading
> >> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> >> .gz.tmp632'. Giving up on it.
> >>
> >> As a last resort we now switch to the external ftp command
> >> 'C:\Windows\system32\
> >> ftp.exe'
> >> to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp632'.
> >>
> >> Doing so often leads to problems that are hard to diagnose.
> >>
> >> If you're the victim of such problems, please consider unsetting the
> >> ftp config variable with
> >>
> >> o conf ftp ""
> >> o conf commit
> >>
> >> Fetching with LWP:
> >> http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
> >> LWP failed with code[500] message[Can't connect to
> >> cpan.strawberryperl.com:80 (B
> >> ad hostname)]
> >> Warning: no success downloading
> >> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> >> .gz.tmp632'. Giving up on it.
> >> Fetching with LWP:
> >> http://www.cpan.org/authors/01mailrc.txt.gz
> >> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad
> >> hostname
> >> )]
> >> Warning: no success downloading
> >> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> >> .gz.tmp632'. Giving up on it.
> >> Fetching with LWP:
> >> http://www.cpan.org/authors/01mailrc.txt.gz
> >> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad
> >> hostname
> >> )]
> >> Warning: no success downloading
> >> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> >> .gz.tmp632'. Giving up on it.
> >> Warning: no success downloading
> >> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> >> .gz.tmp632'. Giving up on it.
> >>
> >> As a last resort we now switch to the external ftp command
> >> 'C:\Windows\system32\
> >> ftp.exe'
> >> to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp632'.
> >>
> >> Doing so often leads to problems that are hard to diagnose.
> >>
> >> If you're the victim of such problems, please consider unsetting the
> >> ftp config variable with
> >>
> >> o conf ftp ""
> >> o conf commit
> >>
> >> CPAN: YAML::XS loaded ok (v0.39)
> >> Please check, if the URLs I found in your configuration file
> >> (http://cpan.strawberryperl.com/, http://www.cpan.org/,
> >> http://www.cpan.org/) are valid. The urllist can be edited. E.g. with
> 'o
> >> conf urllist push ftp://myurl/'
> >>
> >> Could not fetch authors/01mailrc.txt.gz
> >
> >
> > --
> > To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> > For additional commands, e-mail: beginners-h...@perl.org
> > http://learn.perl.org/
> >
> >
> >
>
>
> -
> This email has been sent using SaharaMail ,Lucknow UP , INDIA.
> "Sahara Net Corp Ltd ,Kapoorthala Complex, Lucknow-226024  - U.P, INDIA "
> http://saharanext.com
>
>
> --
> To unsubscribe, e-mail: beginners-un

Re: cpan App::cpanminus

2013-07-22 Thread rohit . soni
Yes, I am able to connect http://strawberryperl.com from chrome browser.
Even I have downloaded 01mailrc.txt.gz using
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz through browser.

But still I am facing the same problem.

Regards,
Rohit

> You apparently have a connection problem. Can you connect to
> http://strawberryperl.com in a browser on the same system?
>
> On Jul 22, 2013, at 3:41 AM, Rohit Soni wrote:
>
>> Dear All,
>>
>> I am a beginner and just wanted to ask that which Module(s) should I
>> start with.
>> On the Perl installation page, it has been written that you need to
>> install the modules by running the command “cpan App::cpanminus”
>> While running I am getting the error as…
>>
>> “CPAN: CPAN::SQLite loaded ok (v0.202)
>> CPAN: LWP::UserAgent loaded ok (v6.04)
>> CPAN: Time::HiRes loaded ok (v1.9725)
>> Fetching with LWP:
>> http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
>> LWP failed with code[500] message[Can't connect to
>> cpan.strawberryperl.com:80 (B
>> ad hostname)]
>> Warning: no success downloading
>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>> .gz.tmp632'. Giving up on it.
>> Fetching with LWP:
>> http://www.cpan.org/authors/01mailrc.txt.gz
>> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad
>> hostname
>> )]
>> Warning: no success downloading
>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>> .gz.tmp632'. Giving up on it.
>> Fetching with LWP:
>> http://www.cpan.org/authors/01mailrc.txt.gz
>> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad
>> hostname
>> )]
>> Warning: no success downloading
>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>> .gz.tmp632'. Giving up on it.
>> Warning: no success downloading
>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>> .gz.tmp632'. Giving up on it.
>>
>> As a last resort we now switch to the external ftp command
>> 'C:\Windows\system32\
>> ftp.exe'
>> to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp632'.
>>
>> Doing so often leads to problems that are hard to diagnose.
>>
>> If you're the victim of such problems, please consider unsetting the
>> ftp config variable with
>>
>> o conf ftp ""
>> o conf commit
>>
>> Fetching with LWP:
>> http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
>> LWP failed with code[500] message[Can't connect to
>> cpan.strawberryperl.com:80 (B
>> ad hostname)]
>> Warning: no success downloading
>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>> .gz.tmp632'. Giving up on it.
>> Fetching with LWP:
>> http://www.cpan.org/authors/01mailrc.txt.gz
>> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad
>> hostname
>> )]
>> Warning: no success downloading
>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>> .gz.tmp632'. Giving up on it.
>> Fetching with LWP:
>> http://www.cpan.org/authors/01mailrc.txt.gz
>> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad
>> hostname
>> )]
>> Warning: no success downloading
>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>> .gz.tmp632'. Giving up on it.
>> Warning: no success downloading
>> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
>> .gz.tmp632'. Giving up on it.
>>
>> As a last resort we now switch to the external ftp command
>> 'C:\Windows\system32\
>> ftp.exe'
>> to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp632'.
>>
>> Doing so often leads to problems that are hard to diagnose.
>>
>> If you're the victim of such problems, please consider unsetting the
>> ftp config variable with
>>
>> o conf ftp ""
>> o conf commit
>>
>> CPAN: YAML::XS loaded ok (v0.39)
>> Please check, if the URLs I found in your configuration file
>> (http://cpan.strawberryperl.com/, http://www.cpan.org/,
>> http://www.cpan.org/) are valid. The urllist can be edited. E.g. with 'o
>> conf urllist push ftp://myurl/'
>>
>> Could not fetch authors/01mailrc.txt.gz
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>


-
This email has been sent using SaharaMail ,Lucknow UP , INDIA.
"Sahara Net Corp Ltd ,Kapoorthala Complex, Lucknow-226024  - U.P, INDIA "
http://saharanext.com


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: cpan App::cpanminus

2013-07-22 Thread Jim Gibson
You apparently have a connection problem. Can you connect to 
http://strawberryperl.com in a browser on the same system?

On Jul 22, 2013, at 3:41 AM, Rohit Soni wrote:

> Dear All,
>  
> I am a beginner and just wanted to ask that which Module(s) should I start 
> with.
> On the Perl installation page, it has been written that you need to install 
> the modules by running the command “cpan App::cpanminus”
> While running I am getting the error as…
>  
> “CPAN: CPAN::SQLite loaded ok (v0.202)
> CPAN: LWP::UserAgent loaded ok (v6.04)
> CPAN: Time::HiRes loaded ok (v1.9725)
> Fetching with LWP:
> http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
> LWP failed with code[500] message[Can't connect to cpan.strawberryperl.com:80 
> (B
> ad hostname)]
> Warning: no success downloading 
> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> .gz.tmp632'. Giving up on it.
> Fetching with LWP:
> http://www.cpan.org/authors/01mailrc.txt.gz
> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad 
> hostname
> )]
> Warning: no success downloading 
> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> .gz.tmp632'. Giving up on it.
> Fetching with LWP:
> http://www.cpan.org/authors/01mailrc.txt.gz
> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad 
> hostname
> )]
> Warning: no success downloading 
> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> .gz.tmp632'. Giving up on it.
> Warning: no success downloading 
> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> .gz.tmp632'. Giving up on it.
>  
> As a last resort we now switch to the external ftp command 
> 'C:\Windows\system32\
> ftp.exe'
> to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp632'.
>  
> Doing so often leads to problems that are hard to diagnose.
>  
> If you're the victim of such problems, please consider unsetting the
> ftp config variable with
>  
> o conf ftp ""
> o conf commit
>  
> Fetching with LWP:
> http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
> LWP failed with code[500] message[Can't connect to cpan.strawberryperl.com:80 
> (B
> ad hostname)]
> Warning: no success downloading 
> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> .gz.tmp632'. Giving up on it.
> Fetching with LWP:
> http://www.cpan.org/authors/01mailrc.txt.gz
> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad 
> hostname
> )]
> Warning: no success downloading 
> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> .gz.tmp632'. Giving up on it.
> Fetching with LWP:
> http://www.cpan.org/authors/01mailrc.txt.gz
> LWP failed with code[500] message[Can't connect to www.cpan.org:80 (Bad 
> hostname
> )]
> Warning: no success downloading 
> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> .gz.tmp632'. Giving up on it.
> Warning: no success downloading 
> 'C:\strawberry\cpan\sources\authors\01mailrc.txt
> .gz.tmp632'. Giving up on it.
>  
> As a last resort we now switch to the external ftp command 
> 'C:\Windows\system32\
> ftp.exe'
> to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp632'.
>  
> Doing so often leads to problems that are hard to diagnose.
>  
> If you're the victim of such problems, please consider unsetting the
> ftp config variable with
>  
> o conf ftp ""
> o conf commit
>  
> CPAN: YAML::XS loaded ok (v0.39)
> Please check, if the URLs I found in your configuration file
> (http://cpan.strawberryperl.com/, http://www.cpan.org/,
> http://www.cpan.org/) are valid. The urllist can be edited. E.g. with 'o
> conf urllist push ftp://myurl/'
>  
> Could not fetch authors/01mailrc.txt.gz


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN and AI::Prolog

2013-03-13 Thread Brian Fraser
On Wed, Mar 13, 2013 at 9:18 AM, John Sampson  wrote:
> Hello -
>
> I installed Strawberry Prolog on Windows 7 and tried to install AI::Prolog
> from the CPAN.
> As far as I can see from the slew of messages this failed due to lack of
> software packages
> on which it depends (or depended).
> I have three questions:
> Has anyone recently successfully installed AI::Prolog?

Just did. Like you mentioned, one of the dependencies, Text::Quote,
failed to install. I checked the build log and saw this:

#   Failed test 'Quote Regexp'
#   at t/quote.t line 80.
#  got: 'qr/(?^:ABCDEF)/'
# expected: 'qr/ABCDEF/'
# Looks like you failed 1 test of 52.
t/quote.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/52 subtests

That's broken because of a change in how regexen are serialized in
5.14+, but because not everyone might now that, I checked the module's
bug tracker, and there's a similar explanation there. So the failure
looks more like overzealous testing, rather than anything being
particularly broken in the module.
Going from that, it seemed pretty harmless to force the installation,
after which AI::Prolog installed without a hitch.

$ cpanm AI::Prolog
$ cpanm -f Text::Quote
$ cpanm AI::Prolog

> What is the percentage rate of successful installations from CPAN to
> unsuccessful ones?

Dunno. My experience has been pretty good -- generally used modules
are maintained an just work, and unless the module has C bindings,
they are generally pretty resistant to changes in Perl.

> Is CPAN a going concern?

Sure. IIRC half of it is actively maintained (i.e. commits within the
year), and all of it is routinely tested against several versions of
Perl & different environments.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN and AI::Prolog

2013-03-13 Thread John SJ Anderson
On Wed, Mar 13, 2013 at 5:18 AM, John Sampson  wrote:
> Hello -
>
> I installed Strawberry Prolog on Windows 7 and tried to install AI::Prolog
> from the CPAN.

I assume you mean "Strawberry Perl".

> As far as I can see from the slew of messages this failed due to lack of
> software packages
> on which it depends (or depended).
> I have three questions:
> Has anyone recently successfully installed AI::Prolog?

Based on the CPAN testers information in the sidebar of
https://metacpan.org/module/AI::Prolog, it's been successfully
installed at least 154 times -- because it's passed tests that many
times.

> What is the percentage rate of successful installations from CPAN to
> unsuccessful ones?

Looks like 100% successful -- there are no test failurse.

> Is CPAN a going concern?

Yes, very much so.

Now, to return to your problem, what did you actually do, and what
error message(s) did you get?

thanks,
john.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN question

2011-11-01 Thread John Delacour

At 18:38 + 1/11/11, Phil Dobbin wrote:

I use the /usr/local/ version for everything & leave the other two 
to their intended purposes. My question is how do I configure CPAN 
to install into /usr/local/?


The way I do it is simply:

$ cd /usr/local/bin; sudo ./cpan

No disrespect to Perlbrew but I've never felt the need for it.

JD

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/





Re: CPAN question

2011-11-01 Thread Phil Dobbin
On 1/11/11 at 21:09, shlo...@shlomifish.org (Shlomi Fish) wrote:

> You can do «/usr/local/bin/perl -MCPAN -e 'shell'» or a different CPAN.pm (or
> CPANPLUS/etc.) command.

Hi.

Yeah, I ended up setting up an alias in my .bash_profile as so:

alias cpan=’sudo /usr/local/bin/perl -MCPAN -e shell’

& all’s working swimmingly.

Cheers,

Phil.
--
Please consider the environment before reading this email...


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN question

2011-11-01 Thread Shlomi Fish
On Tue,  1 Nov 2011 18:38:38 +
Phil Dobbin  wrote:

> Hi.
> 
> I have three versions of perl on my machine (Macbook Pro running 
> 10.6.8.): v.5.12 in /opt/local/ for MacPorts, v.5.10 in 
> /usr/bin/ which is the system perl & my developer perl v.5.14 in /usr/local/.
> 
> I use the /usr/local/ version for everything & leave the other 
> two to their intended purposes. My question is how do I 
> configure CPAN to install into /usr/local/?

You can do «/usr/local/bin/perl -MCPAN -e 'shell'» or a different CPAN.pm (or
CPANPLUS/etc.) command.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
My Aphorisms - http://www.shlomifish.org/humour.html

Do not meddle in the affairs of Dragons, for you are crunchy and taste good
with ketchup.   — Unknown source.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN question

2011-11-01 Thread Phil Dobbin
On 1/11/11 at 19:42, p...@pjcj.net (Paul Johnson) wrote:

> On Tue, Nov 01, 2011 at 07:18:06PM +, Phil Dobbin wrote:

[snip]

> > What’s your opinion on hard-pathing to CPAN a la `$
> > /usr/local/bin/perl -MCPAN -e shell’ in order to use the CPAN that’s
> > installed there to install modules in /usr/local/ so that I can use
> > them with the perl-5.14.2 that resides there? If it’s feasible, one
> > quick alias & it’d be easy.
> 
> Yes, this is a good solution.
> 
> Or run /usr/local/bin/cpan.
> 
> Or put /usr/local/bin early on your path so that a plain "perl" or
> "cpan" will pick up the /usr/local/bin versions.  Just be careful that
> you don't inadvertently call some other program in /usr/local/bin now
> having different behaviour to what would otherwise have been called.

I think I’ll use this method then. Seems like a far more uncomplicated process.

Thanks to Shawn & Paul for their help.

Cheers,

Phil.

--
Please consider the environment before reading this email...


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN question

2011-11-01 Thread Paul Johnson
On Tue, Nov 01, 2011 at 07:18:06PM +, Phil Dobbin wrote:

> From the Googling I did concerning this, I came across perlbrew &
> bootstrapping using local::lib but wondered if there was a simpler
> solution.

Quite.

> What’s your opinion on hard-pathing to CPAN a la `$
> /usr/local/bin/perl -MCPAN -e shell’ in order to use the CPAN that’s
> installed there to install modules in /usr/local/ so that I can use
> them with the perl-5.14.2 that resides there? If it’s feasible, one
> quick alias & it’d be easy.

Yes, this is a good solution.

Or run /usr/local/bin/cpan.

Or put /usr/local/bin early on your path so that a plain "perl" or
"cpan" will pick up the /usr/local/bin versions.  Just be careful that
you don't inadvertently call some other program in /usr/local/bin now
having different behaviour to what would otherwise have been called.

-- 
Paul Johnson - p...@pjcj.net
http://www.pjcj.net

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN question

2011-11-01 Thread Phil Dobbin

On 1/11/11 at 18:45, shawnhco...@gmail.com (Shawn H Corey) wrote:

I think perlbrew can be used to switch between installed Perls. 
If so, switch to the one you want and run `cpan`. This will 
cause cpan to use the active perl and install the modules in 
its @INC directories.


I use perlbrew to install a personal copy of Perl, perl-5.14.2 
to be exact, but every time I upgrade perl, I have to 
re-install all the modules. So I know that cpan uses the active perl.


http://www.perlbrew.pl/


Hi, Shawn.

From the Googling I did concerning this, I came across perlbrew 
& bootstrapping using local::lib but wondered if there was a 
simpler solution.


What’s your opinion on hard-pathing to CPAN a la `$ 
/usr/local/bin/perl -MCPAN -e shell’ in order to use the CPAN 
that’s installed there to install modules in /usr/local/ so 
that I can use them with the perl-5.14.2 that resides there? If 
it’s feasible, one quick alias & it’d be easy.


Cheers,

Phil.
--
Please consider the environment before reading this email...


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN question

2011-11-01 Thread Shawn H Corey

On 11-11-01 02:38 PM, Phil Dobbin wrote:

I use the /usr/local/ version for everything & leave the other two to
their intended purposes. My question is how do I configure CPAN to
install into /usr/local/?


I think perlbrew can be used to switch between installed Perls. If so, 
switch to the one you want and run `cpan`. This will cause cpan to use 
the active perl and install the modules in its @INC directories.


I use perlbrew to install a personal copy of Perl, perl-5.14.2 to be 
exact, but every time I upgrade perl, I have to re-install all the 
modules. So I know that cpan uses the active perl.


http://www.perlbrew.pl/


--
Just my 0.0002 million dollars worth,
  Shawn

Confusion is the first step of understanding.

Programming is as much about organization and communication
as it is about coding.

The secret to great software:  Fail early & often.

Eliminate software piracy:  use only FLOSS.

"Make something worthwhile."  -- Dear Hunter

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN on Windows Box

2011-08-25 Thread Emeka
I am thinking that this may be from my make

On Thu, Aug 25, 2011 at 8:02 AM, Emeka  wrote:

> I added prefs folder inside .cpan
>
> It worked, that is I was able to download. However, I got some error
> message toward the end .
>
>
>
> Finding dependencies for strGlue.c
> Cannot find 'tclDecls.h' assume made
> Cannot find 'tclPlatDecls.h' assume made
> Finding dependencies for strcasecmp.c
> Finding dependencies for strdup.c
> Cannot find 'tkPort.h' assume made
> Finding dependencies for strtoul.c
> Finding dependencies for tclDecls_f.c
> Cannot find 'tclDecls.h' assume made
> Cannot find 'tclPlatDecls.h' assume made
> Finding dependencies for tixImgXpm_f.c
> Cannot find 'tixPort.h' assume made
> Cannot find 'tixInt.h' assume made
> Cannot find 'tixImgXpm.h' assume made
> Finding dependencies for tixInt_f.c
> Cannot find 'tixInt.h' assume made
> Finding dependencies for tixVars.c
> Cannot find 'tixInt.h' assume made
> Finding dependencies for tix_f.c
> Cannot find 'tix.h' assume made
> Finding dependencies for tkDecls_f.c
> Cannot find 'tk.h' assume made
> Finding dependencies for tkEvent_f.c
> Cannot find 'tclDecls.h' assume made
> Cannot find 'tclPlatDecls.h' assume made
> Finding dependencies for tkImgPhoto_f.c
> Cannot find 'tkPort.h' assume made
> Cannot find 'tkInt.h' assume made
> Finding dependencies for tkIntDecls_f.c
> Cannot find 'tkInt.h' assume made
> Cannot find 'tkIntDecls.h' assume made
> Finding dependencies for tkIntPlatDecls_f.c
> Cannot find 'tclDecls.h' assume made
> Cannot find 'tclPlatDecls.h' assume made
> Cannot find 'tkWinInt.h' assume made
> Cannot find 'tkIntPlatDecls.h' assume made
> Finding dependencies for tkIntXlibDecls_f.c
> Finding dependencies for tkInt_f.c
> Cannot find 'tkInt.h' assume made
> Finding dependencies for tkOption_f.c
> Cannot find 'tk.h' assume made
> Cannot find 'tkInt.h' assume made
> Finding dependencies for tkPlatDecls_f.c
> Cannot find 'tclDecls.h' assume made
> Cannot find 'tclPlatDecls.h' assume made
> Cannot find 'tkWin.h' assume made
> Cannot find 'tkPlatDecls.h' assume made
> Finding dependencies for tkProperty.c
> Cannot find 'tkPort.h' assume made
> Cannot find 'tkInt.h' assume made
> Finding dependencies for tk_f.c
> Cannot find 'tk.h' assume made
> Writing Makefile for Tk::pTk
> Writing Makefile for Tk::pod
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Tk::demos
> Finding dependencies for X.xs
> Writing Makefile for Tk::X
> Finding dependencies for Xlib.xs
> Cannot find 'pTk/tkPort.h' assume made
> Cannot find 'pTk/tkInt.h' assume made
> Cannot find 'pTk/tkWinInt.h' assume made
> Writing Makefile for Tk::Xlib
> Writing Makefile for Tk::Tixish
> Finding dependencies for Pixmap.xs
> Cannot find 'pTk/tkPort.h' assume made
> Cannot find 'pTk/tkInt.h' assume made
> Cannot find 'pTk/tixPort.h' assume made
> Cannot find 'pTk/tixInt.h' assume made
> Cannot find 'pTk/tixImgXpm.h' assume made
> Cannot find 'pTk/tkWinInt.h' assume made
> Cannot find 'pTk/tixBitmaps.h' assume made
> Writing Makefile for Tk::Pixmap
> Finding dependencies for TixGrid.xs
> Cannot find 'pTk/tkPort.h' assume made
> Cannot find 'pTk/tkInt.h' assume made
> Cannot find 'pTk/tixPort.h' assume made
> Cannot find 'pTk/tixInt.h' assume made
> Cannot find 'pTk/tkWinInt.h' assume made
> Writing Makefile for Tk::TixGrid
> Writing Makefile for Tk::TextList
> Finding dependencies for Text.xs
> Cannot find 'pTk/tkPort.h' assume made
> Cannot find 'pTk/tkInt.h' assume made
> Cannot find 'pTk/tkWinInt.h' assume made
> Writing Makefile for Tk::Text
> Finding dependencies for TList.xs
> Cannot find 'pTk/tkPort.h' assume made
> Cannot find 'pTk/tkInt.h' assume made
> Cannot find 'pTk/tixPort.h' assume made
> Cannot find 'pTk/tixInt.h' assume made
> Cannot find 'pTk/tkWinInt.h' assume made
> Writing Makefile for Tk::TList
> Finding dependencies for Scrollbar.xs
> Cannot find 'pTk/tkPort.h' assume made
> Cannot find 'pTk/tkInt.h' assume made
> Cannot find 'pTk/tkWin.h' assume made
> Cannot find 'pTk/tkWinInt.h' assume made
> Cannot find 'pTk/tkWinInt.h' assume made
> Writing Makefile for Tk::Scrollbar
> Finding dependencies for Scale.xs
> Cannot find 'pTk/tkPort.h' assume made
> Cannot find 'pTk/tkInt.h' assume made
> Cannot find 'pTk/tkWinInt.h' assume made
> Writing Makefile for Tk::Scale
> Test Compile/Run config/has_png.c
> 'cl' is not recognized as an internal or external command,
> operable program or batch file.
> Building libpng.lib
> Note (probably harmless): No library found for -lm
> Note (probably harmless): No library found for oldnames.lib
> Note (probably harmless): No library found for kernel32.lib
> Note (probably harmless): No library found for user32.lib
> Note (probably harmless): No library found for gdi32.lib
> Note (probably harmless): No library found for winspool.lib
> Note (probably harmless): No library found for comdlg32.lib
> Note (probably harmless): No library found for advapi32.lib
> Note (probably harmless): No library found for shell3

Re: CPAN on Windows Box

2011-08-25 Thread Emeka
I added prefs folder inside .cpan

It worked, that is I was able to download. However, I got some error message
toward the end .



Finding dependencies for strGlue.c
Cannot find 'tclDecls.h' assume made
Cannot find 'tclPlatDecls.h' assume made
Finding dependencies for strcasecmp.c
Finding dependencies for strdup.c
Cannot find 'tkPort.h' assume made
Finding dependencies for strtoul.c
Finding dependencies for tclDecls_f.c
Cannot find 'tclDecls.h' assume made
Cannot find 'tclPlatDecls.h' assume made
Finding dependencies for tixImgXpm_f.c
Cannot find 'tixPort.h' assume made
Cannot find 'tixInt.h' assume made
Cannot find 'tixImgXpm.h' assume made
Finding dependencies for tixInt_f.c
Cannot find 'tixInt.h' assume made
Finding dependencies for tixVars.c
Cannot find 'tixInt.h' assume made
Finding dependencies for tix_f.c
Cannot find 'tix.h' assume made
Finding dependencies for tkDecls_f.c
Cannot find 'tk.h' assume made
Finding dependencies for tkEvent_f.c
Cannot find 'tclDecls.h' assume made
Cannot find 'tclPlatDecls.h' assume made
Finding dependencies for tkImgPhoto_f.c
Cannot find 'tkPort.h' assume made
Cannot find 'tkInt.h' assume made
Finding dependencies for tkIntDecls_f.c
Cannot find 'tkInt.h' assume made
Cannot find 'tkIntDecls.h' assume made
Finding dependencies for tkIntPlatDecls_f.c
Cannot find 'tclDecls.h' assume made
Cannot find 'tclPlatDecls.h' assume made
Cannot find 'tkWinInt.h' assume made
Cannot find 'tkIntPlatDecls.h' assume made
Finding dependencies for tkIntXlibDecls_f.c
Finding dependencies for tkInt_f.c
Cannot find 'tkInt.h' assume made
Finding dependencies for tkOption_f.c
Cannot find 'tk.h' assume made
Cannot find 'tkInt.h' assume made
Finding dependencies for tkPlatDecls_f.c
Cannot find 'tclDecls.h' assume made
Cannot find 'tclPlatDecls.h' assume made
Cannot find 'tkWin.h' assume made
Cannot find 'tkPlatDecls.h' assume made
Finding dependencies for tkProperty.c
Cannot find 'tkPort.h' assume made
Cannot find 'tkInt.h' assume made
Finding dependencies for tk_f.c
Cannot find 'tk.h' assume made
Writing Makefile for Tk::pTk
Writing Makefile for Tk::pod
Checking if your kit is complete...
Looks good
Writing Makefile for Tk::demos
Finding dependencies for X.xs
Writing Makefile for Tk::X
Finding dependencies for Xlib.xs
Cannot find 'pTk/tkPort.h' assume made
Cannot find 'pTk/tkInt.h' assume made
Cannot find 'pTk/tkWinInt.h' assume made
Writing Makefile for Tk::Xlib
Writing Makefile for Tk::Tixish
Finding dependencies for Pixmap.xs
Cannot find 'pTk/tkPort.h' assume made
Cannot find 'pTk/tkInt.h' assume made
Cannot find 'pTk/tixPort.h' assume made
Cannot find 'pTk/tixInt.h' assume made
Cannot find 'pTk/tixImgXpm.h' assume made
Cannot find 'pTk/tkWinInt.h' assume made
Cannot find 'pTk/tixBitmaps.h' assume made
Writing Makefile for Tk::Pixmap
Finding dependencies for TixGrid.xs
Cannot find 'pTk/tkPort.h' assume made
Cannot find 'pTk/tkInt.h' assume made
Cannot find 'pTk/tixPort.h' assume made
Cannot find 'pTk/tixInt.h' assume made
Cannot find 'pTk/tkWinInt.h' assume made
Writing Makefile for Tk::TixGrid
Writing Makefile for Tk::TextList
Finding dependencies for Text.xs
Cannot find 'pTk/tkPort.h' assume made
Cannot find 'pTk/tkInt.h' assume made
Cannot find 'pTk/tkWinInt.h' assume made
Writing Makefile for Tk::Text
Finding dependencies for TList.xs
Cannot find 'pTk/tkPort.h' assume made
Cannot find 'pTk/tkInt.h' assume made
Cannot find 'pTk/tixPort.h' assume made
Cannot find 'pTk/tixInt.h' assume made
Cannot find 'pTk/tkWinInt.h' assume made
Writing Makefile for Tk::TList
Finding dependencies for Scrollbar.xs
Cannot find 'pTk/tkPort.h' assume made
Cannot find 'pTk/tkInt.h' assume made
Cannot find 'pTk/tkWin.h' assume made
Cannot find 'pTk/tkWinInt.h' assume made
Cannot find 'pTk/tkWinInt.h' assume made
Writing Makefile for Tk::Scrollbar
Finding dependencies for Scale.xs
Cannot find 'pTk/tkPort.h' assume made
Cannot find 'pTk/tkInt.h' assume made
Cannot find 'pTk/tkWinInt.h' assume made
Writing Makefile for Tk::Scale
Test Compile/Run config/has_png.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
Building libpng.lib
Note (probably harmless): No library found for -lm
Note (probably harmless): No library found for oldnames.lib
Note (probably harmless): No library found for kernel32.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib
Note (probably harmless): No library found for comdlg32.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for ole32.lib
Note (probably harmless): No library found for oleaut32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for uuid.lib
Note (probably harmless): No library found for ws2_32.lib
Note (probably harmless): No library found f

Re: CPAN on Windows Box

2011-08-24 Thread Emeka
On Wed, Aug 24, 2011 at 12:31 AM, Jim Gibson  wrote:

> On 8/23/11 Tue  Aug 23, 2011  3:04 PM, "Emeka" 
> scribbled:
>
> > Hello All
> > I tried this in order to install Perl-tk   cpan>install tk... But it
> > failed to work.
>
> You need to let us know what exactly what went wrong when you tried to
> install the Tk module. It is next to impossible, otherwise.
>
> However, in this case, I can tell you that case matters, so try installing
> the "Tk" module:
>




This is what I got


rmicro@rmicro-PC ~
$ perl -MCPAN -e shell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.

cpan[1]> install Tk
CPAN: Storable loaded ok (v2.21)
Going to read 'C:\cygwin\home\rmicro\.cpan\Metadata'
  Database was generated on Thu, 25 Aug 2011 05:28:03 GMT
Running install for module 'Tk'
Cannot create directory C:\Program Files\xampp\perl\bin\.cpan\prefs
cpan[2]>

And

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\rmicro>ppm install http://www.bribes.org/perl/ppm/Tk.ppd
Installing package 'http://www.bribes.org/perl/ppm/Tk.ppd'...
mkdir C:\Program Files\xampp\perl\bin\.ppm/Tk-5944: Permission denied;
Access is
 denied at C:/Program Files/xampp/perl/site/lib/PPM.pm line 333


Emeka



> cpan> install Tk
>
> Then if that does not work, cut and past the relevant error messages into a
> message.
>
> Thanks. Good luck!
>
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>


-- 
*Satajanus  Nig. Ltd


*


Re: CPAN on Windows Box

2011-08-24 Thread timothy adigun
Emeka, I assumed you are using ActivePerl on Win OS.
Thanks.


Re: CPAN on Windows Box

2011-08-24 Thread timothy adigun
Hello Emeka,

>>Hello All
>>I tried this in order to install Perl-tk   cpan>install tk... But it
>>failed to work.

cpan> install Tk
should work as Praga and Jim mentioned, but if you don't have a C complier
and a make utility installed, your installation will evetually fail. Tkx
module may be installed, but not Tk.

a.) Try this below on your cmd, you should have Tk module installed.
ppm install http://www.bribes.org/perl/ppm/Tk.ppd

Regards.
Timothy


Re: CPAN on Windows Box

2011-08-23 Thread Jim Gibson
On 8/23/11 Tue  Aug 23, 2011  3:04 PM, "Emeka" 
scribbled:

> Hello All
> I tried this in order to install Perl-tk   cpan>install tk... But it
> failed to work.

You need to let us know what exactly what went wrong when you tried to
install the Tk module. It is next to impossible, otherwise.

However, in this case, I can tell you that case matters, so try installing
the "Tk" module:

cpan> install Tk

Then if that does not work, cut and past the relevant error messages into a
message.

Thanks. Good luck!



-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN on Windows Box

2011-08-23 Thread Parag Kalra
Try this:

cpan>install Tk

Parag

On Tue, Aug 23, 2011 at 3:04 PM, Emeka  wrote:

> Hello All
> I tried this in order to install Perl-tk   cpan>install tk... But it
> failed to work.
>
> Emeka
> --
> *Satajanus  Nig. Ltd
>
>
> *
>


Re: CPAN cannot install modules locally

2011-07-23 Thread Shlomi Fish
Hi Alok,

On Fri, 22 Jul 2011 22:07:15 -0400
Alok  wrote:

> Hi
> 
> I am trying to install MediaWiki::Bot module locally on my server (I am 
> not the admin).
> I am trying to use cpan command line interface for this.
> 
> I used following options before beginning installation:
> o conf makepl_args "LIBS=-L/home/foo/local/lib 
> INC=-I/home/foo/local/include PREFIX=/home/foo/local/"
> o conf commit
> 
> It turned out that MediaWiki::Bot requires bunch of other modules that 
> cpan tries to install. But I see that many  of them fail test cases 
> because they cannot detect each other. For example,
> 
> #   Failed test at t/warnings_exist.t line 36.
> #  got: 'Base class package "Tree::DAG_Node" is empty.'
> 

That's because they're not in Perl's @INC path.

Please use local::lib for that:

https://metacpan.org/module/local::lib

See:

http://perl-begin.org/topics/cpan/

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
My Aphorisms - http://www.shlomifish.org/humour.html

An original philosopher knows the right combination of ideas to steal.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: [cpan Q] Failure to finish installing using cpan [File::ReadBackwards

2009-09-28 Thread Kevin Phair

Harry Putnam wrote:

I wasn't able to figure out what is happening when cpan fails on
File::ReadBackwards:

I'm hoping someone will be able to see what the problem is.

Installing /usr/local/lib/perl5/site_perl/5.8.8/File/ReadBackwards.pm
Installing /usr/local/share/man/man3/File::ReadBackwards.3pm
Appending installation info to 
/usr/local/lib/perl5/5.8.8/i686-linux/perllocal.pod
make: *** No rule to make target `1'.  Stop.
  URI/File-ReadBackwards-1.04.tar.gz
  /usr/bin/make install 1 -- NOT OK
Failed during this command:
 URI/File-ReadBackwards-1.04.tar.gz   : install NO

  
Did you check to see if it was actually installed?  The above looks like 
it succesfully ran "make install", and then for some reason ran "make 
install 1", which failed.


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN issues

2009-08-14 Thread Philip Potter
2009/8/14 Steve Bertrand :
> Philip Potter wrote:
>> Dear all,
>>
>> I'm having trouble installing stuff on CPAN. I'm using the cpan script:
>> cpan script version 1.03
>> CPAN.pm version 1.7602
>>
>> It tells me there's a new CPAN.pm available, so I type install
>> Bundle::CPAN. After a lot of text, including some requests for
>> dependencies, I get:
>>
>> Recursive dependency detected:
>>     Bundle::CPAN
>>  => Test::Harness
>>  => A/AN/ANDYA/Test-Harness-3.17.tar.gz
>>  => File::Spec
>>  => S/SM/SMUELLER/PathTools-3.30.tar.gz
>>  => Scalar::Util
>>  => G/GB/GBARR/Scalar-List-Utils-1.21.tar.gz
>>  => Test::More
>>  => M/MS/MSCHWERN/Test-Simple-0.92.tar.gz
>>  => Test::Harness.
>> Cannot continue.
>>
>> What do I do now? How do I update CPAN?
>
> From what I've read, this is an issue that affects CentOS/RedHat, which
> apparently ship with a faulty shell.
>
> In fact, I performed the install via the CPAN shell on FreeBSD 7.2
> successfully just now as a test ("install Bundle::CPAN").
>
> Perhaps you could try:
>
> % perl -MCPAN -e shell
> % cpan> install CPAN
> % cpan> o conf commit
>
> Be advised that even though that seemed to work ok on a test box, I
> don't know the complete ramifications.

What do those commands do? Is $ perl -MCPAN -e shell different from $ cpan?

I tried

$ perl -MCPAN -e shell
cpan> install CPAN

and it failed on a test, so I repeated it grabbing output:

$ perl -MCPAN -e shell 2>&1 | tee output.txt
cpan> install CPAN

output is here:
http://www.doc.ic.ac.uk/~pgp/output.txt

As you can see, it asked for Test::Harness which I supplied. I guess
it builds ok?

It then goes back to CPAN where it fails on t/30shell.t where it times
out. Apparently this is on i[206]prog[r] whatever that means.

I had a look in the pod for t/30shell.t and poked around looking at
the testcases but I'm not sure why it's failing. What do you think?

Philip

-- 
"I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out
how to use my telephone."
  --Bjarne Stroustrup

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN issues

2009-08-14 Thread Steve Bertrand
Philip Potter wrote:
> Dear all,
> 
> I'm having trouble installing stuff on CPAN. I'm using the cpan script:
> cpan script version 1.03
> CPAN.pm version 1.7602
> 
> It tells me there's a new CPAN.pm available, so I type install
> Bundle::CPAN. After a lot of text, including some requests for
> dependencies, I get:
> 
> Recursive dependency detected:
> Bundle::CPAN
>  => Test::Harness
>  => A/AN/ANDYA/Test-Harness-3.17.tar.gz
>  => File::Spec
>  => S/SM/SMUELLER/PathTools-3.30.tar.gz
>  => Scalar::Util
>  => G/GB/GBARR/Scalar-List-Utils-1.21.tar.gz
>  => Test::More
>  => M/MS/MSCHWERN/Test-Simple-0.92.tar.gz
>  => Test::Harness.
> Cannot continue.
> 
> What do I do now? How do I update CPAN?

>From what I've read, this is an issue that affects CentOS/RedHat, which
apparently ship with a faulty shell.

In fact, I performed the install via the CPAN shell on FreeBSD 7.2
successfully just now as a test ("install Bundle::CPAN").

Perhaps you could try:

% perl -MCPAN -e shell
% cpan> install CPAN
% cpan> o conf commit

Be advised that even though that seemed to work ok on a test box, I
don't know the complete ramifications.

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: CPAN won't install YAML and others

2009-06-20 Thread Dennis G. Wicks



Bruce Ferrell wrote the following on 06/20/2009 01:38 PM:


Dennis G. Wicks wrote:

Greetings;

YAML is not installed on my Lenny system and when I try to install it
(with perl -MCPAN -e shell) I get the following errors after the source
has been unpacked. Any ideas?

Thanks for any help!
Dennis


[snip]


It looks like you don't have make



Right you are! It looks like all things installed by CPAN 
don't require make!


MANY Thanks!!
Dennis

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN won't install YAML and others

2009-06-20 Thread Bruce Ferrell


Dennis G. Wicks wrote:
> Greetings;
> 
> YAML is not installed on my Lenny system and when I try to install it
> (with perl -MCPAN -e shell) I get the following errors after the source
> has been unpacked. Any ideas?
> 
> Thanks for any help!
> Dennis
> 
> BTW :
>> cardinal:~# ls -l /root/.cpan/build/YAML-0.68-DEj5Ee/META.yml
>> -rw-r--r-- 1 501 501 381 2008-12-04 03:06
>> /root/.cpan/build/YAML-0.68-DEj5Ee/META.yml
> 
> and
> 
>> cardinal:~# ls -l
>> /root/.cpan/sources/authors/id/I/IN/INGY/YAML-0.68.tar.gz
>> -rw-r--r-- 1 root root 92676 2009-06-20 13:09
>> /root/.cpan/sources/authors/id/I/IN/INGY/YAML-0.68.tar.gz
> 
> Last part of CPAN output follows::
> 
>> Warning (usually harmless): 'YAML' not installed, will not store
>> persistent state
>>
>>   CPAN.pm: Going to build I/IN/INGY/YAML-0.68.tar.gz
>>
>> Checking if your kit is complete...
>> Looks good
>> Writing Makefile for YAML
>> Could not read '/root/.cpan/build/YAML-0.68-DEj5Ee/META.yml'. Falling
>> back to other methods to determine prerequisites
>> Can't exec "make": No such file or directory at
>> /usr/share/perl/5.10/CPAN.pm line 7698.
>>   INGY/YAML-0.68.tar.gz
>>   make -- NOT OK
>> Warning (usually harmless): 'YAML' not installed, will not store
>> persistent state
>> Running make test
>>   Can't test without successful make
>> Running make install
>>   Make had returned bad status, install seems impossible
>> Failed during this command:
>>  INGY/YAML-0.68.tar.gz: make NO
> 

It looks like you don't have make

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN not working for me

2009-04-11 Thread Gunnar Hjalmarsson

Clinton James wrote:
I'm trying to use CPAN to install modules on a Linux box as but it 
always fails. I'm logged in as root. Help appreciated.


cpan[1]> force install HTML::HTMLDoc




The output you posted, seems not to be the output from your first attempt.

These are the first two sentences in the DESCRIPTION section of the 
HTML::HTMLDoc POD:
"This Module provides an OO-interface to the htmldoc programm. To 
install this module you have to install the htmldoc program first."


I can't tell if that's the reason why the install failed the first time, 
but have you installed the htmldoc program?


To retry, I believe you first need to remove the 
HTML-HTMLDoc-0.10-8rfFZS directory.


HTH

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: cpan Audio::File fails

2009-03-23 Thread David Schmidt
Thanks for your help,

I installed said package and after that tried to install
Catalyst::Plugin::Upload::Audio::File, the module I actually want (it
depends on Audio::File) and got a very similiar error.

Writing Makefile for Catalyst::Plugin::Upload::Audio::File
cp lib/Catalyst/Plugin/Upload/Audio/File.pm
blib/lib/Catalyst/Plugin/Upload/Audio/File.pm
Manifying blib/man3/Catalyst::Plugin::Upload::Audio::File.3pm
 NHEINRIC/Catalyst-Plugin-Upload-Audio-File-0.01.tar.gz
 /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00_load.1/1 # Testing Catalyst::Plugin::Upload::Audio::File
0.01, Perl 5.008008, /usr/bin/perl
t/00_load.ok
t/01_basic1/48
#   Failed test 'test.flac, bitrate value matches'
#   at t/01_basic.t line 78.
#  got: '94910'
# expected: '91081'
Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid file?
Use of uninitialized value in int at
/usr/share/perl5/Audio/File/AudioProperties.pm line 62.
Use of uninitialized value in int at
/usr/share/perl5/Audio/File/AudioProperties.pm line 62.
Use of uninitialized value in int at
/usr/share/perl5/Audio/File/AudioProperties.pm line 62.
Use of uninitialized value in int at
/usr/share/perl5/Audio/File/AudioProperties.pm line 62.
Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid file?
t/01_basic35/48 # Looks like you failed 1 test of 48.
t/01_basic Dubious, test returned 1 (wstat 256, 0x100)

On Sun, Mar 22, 2009 at 10:48 PM, Owen  wrote:
>> On Sun, Mar 22, 2009 at 8:56 PM, Owen  wrote:
 Hello

 I repeatedly run into problems when installing modules and I havent
 yet figured out a way to consistently resolve them.

 I want to install Audio::File but the tests fail

 Any help is greatly appreciated.

 david

 Running make test
 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
 "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
 t/Audio-File1/49 Ogg::Vorbis::Header::PurePerl: Didn't find an
 ogg
 header - invalid file?
 Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid
 file?
>>>

 #   Failed test 'Audio::File::Ogg::AudioProperties::length()'
>>>
>>>
>>> My guess is that you are missing a header file.
>>>
>>> If you are using a distribution based system, look for something
>>> like
>>> libogg-dev or/and libvorbis-dev
>>>
>>
>> Thank you for your reply,
>> I did that already but without success.
>>
>> aptitude search libogg
>> i A libogg-dev                               - Ogg Bitstream Library
>> Development
>> p   libogg-ocaml                             - OCaml bindings for the
>> Ogg bitstream library
>> p   libogg-ocaml-dev                         - OCaml bindings for the
>> Ogg bitstream library
>> i   libogg-vorbis-decoder-perl               - An object-oriented Ogg
>> Vorbis decoder
>> i   libogg-vorbis-header-perl                - perl interface to Ogg
>> Vorbis information and commen
>> i   libogg-vorbis-header-pureperl-perl       - A pure Perl interface
>> to Ogg Vorbis information fie
>> i   libogg-vorbis-perl                       - Perl extension for Ogg
>> Vorbis streams
>> i   libogg0                                  - Ogg Bitstream Library
>> v   liboggz-dev                              -
>> i   liboggz1                                 - convenience interface
>> for Ogg stream I/O
>> p   liboggz1-dbg                             - convenience interface
>> for Ogg stream I/O debugging
>> i   liboggz1-dev                             - convenience interface
>> for Ogg stream I/O (developme
>>
>> In case you are not familiar with apt/debian, those packages with "i"
>> in the first column are installed on my system.
>>
>> I just wonder why cpan cant tell me what libs are missing or give any
>> other clue about whats going wrong.
>>
>> Anyway, Audio::File is still not working
>
>
>
>
>
> Fair enough, just looking at this Ubuntu pakage system, I see there is
> a liubaudio-file-perl
>
> Perl audio file abstraction library
> Audio::File abstracts a single audio file, independent of its format.
> Using this module you can access a files meta-info like title, album,
> etc. as well as the files audio-properties like its length and bitrate.
>
>
> Might be better to just install the prepackaged program?
>
>
>
> Owen
>
>



-- 
David Schmidt   |   http://www.fm5.at

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: cpan Audio::File fails

2009-03-23 Thread Owen
> On Sun, Mar 22, 2009 at 8:56 PM, Owen  wrote:
>>> Hello
>>>
>>> I repeatedly run into problems when installing modules and I havent
>>> yet figured out a way to consistently resolve them.
>>>
>>> I want to install Audio::File but the tests fail
>>>
>>> Any help is greatly appreciated.
>>>
>>> david
>>>
>>> Running make test
>>> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>>> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>>> t/Audio-File1/49 Ogg::Vorbis::Header::PurePerl: Didn't find an
>>> ogg
>>> header - invalid file?
>>> Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid
>>> file?
>>
>>>
>>> #   Failed test 'Audio::File::Ogg::AudioProperties::length()'
>>
>>
>> My guess is that you are missing a header file.
>>
>> If you are using a distribution based system, look for something
>> like
>> libogg-dev or/and libvorbis-dev
>>
>
> Thank you for your reply,
> I did that already but without success.
>
> aptitude search libogg
> i A libogg-dev   - Ogg Bitstream Library
> Development
> p   libogg-ocaml - OCaml bindings for the
> Ogg bitstream library
> p   libogg-ocaml-dev - OCaml bindings for the
> Ogg bitstream library
> i   libogg-vorbis-decoder-perl   - An object-oriented Ogg
> Vorbis decoder
> i   libogg-vorbis-header-perl- perl interface to Ogg
> Vorbis information and commen
> i   libogg-vorbis-header-pureperl-perl   - A pure Perl interface
> to Ogg Vorbis information fie
> i   libogg-vorbis-perl   - Perl extension for Ogg
> Vorbis streams
> i   libogg0  - Ogg Bitstream Library
> v   liboggz-dev  -
> i   liboggz1 - convenience interface
> for Ogg stream I/O
> p   liboggz1-dbg - convenience interface
> for Ogg stream I/O debugging
> i   liboggz1-dev - convenience interface
> for Ogg stream I/O (developme
>
> In case you are not familiar with apt/debian, those packages with "i"
> in the first column are installed on my system.
>
> I just wonder why cpan cant tell me what libs are missing or give any
> other clue about whats going wrong.
>
> Anyway, Audio::File is still not working





Fair enough, just looking at this Ubuntu pakage system, I see there is
a liubaudio-file-perl

Perl audio file abstraction library
Audio::File abstracts a single audio file, independent of its format.
Using this module you can access a files meta-info like title, album,
etc. as well as the files audio-properties like its length and bitrate.


Might be better to just install the prepackaged program?



Owen



-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: cpan Audio::File fails

2009-03-23 Thread David Schmidt
On Sun, Mar 22, 2009 at 8:56 PM, Owen  wrote:
>> Hello
>>
>> I repeatedly run into problems when installing modules and I havent
>> yet figured out a way to consistently resolve them.
>>
>> I want to install Audio::File but the tests fail
>>
>> Any help is greatly appreciated.
>>
>> david
>>
>> Running make test
>> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>> t/Audio-File1/49 Ogg::Vorbis::Header::PurePerl: Didn't find an ogg
>> header - invalid file?
>> Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid
>> file?
>
>>
>> #   Failed test 'Audio::File::Ogg::AudioProperties::length()'
>
>
> My guess is that you are missing a header file.
>
> If you are using a distribution based system, look for something like
> libogg-dev or/and libvorbis-dev
>

Thank you for your reply,
I did that already but without success.

aptitude search libogg
i A libogg-dev   - Ogg Bitstream Library
Development
p   libogg-ocaml - OCaml bindings for the
Ogg bitstream library
p   libogg-ocaml-dev - OCaml bindings for the
Ogg bitstream library
i   libogg-vorbis-decoder-perl   - An object-oriented Ogg
Vorbis decoder
i   libogg-vorbis-header-perl- perl interface to Ogg
Vorbis information and commen
i   libogg-vorbis-header-pureperl-perl   - A pure Perl interface
to Ogg Vorbis information fie
i   libogg-vorbis-perl   - Perl extension for Ogg
Vorbis streams
i   libogg0  - Ogg Bitstream Library
v   liboggz-dev  -
i   liboggz1 - convenience interface
for Ogg stream I/O
p   liboggz1-dbg - convenience interface
for Ogg stream I/O debugging
i   liboggz1-dev - convenience interface
for Ogg stream I/O (developme

In case you are not familiar with apt/debian, those packages with "i"
in the first column are installed on my system.

I just wonder why cpan cant tell me what libs are missing or give any
other clue about whats going wrong.

Anyway, Audio::File is still not working




-- 
David Schmidt   |   http://www.fm5.at

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: cpan Audio::File fails

2009-03-22 Thread Owen
> Hello
>
> I repeatedly run into problems when installing modules and I havent
> yet figured out a way to consistently resolve them.
>
> I want to install Audio::File but the tests fail
>
> Any help is greatly appreciated.
>
> david
>
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/Audio-File1/49 Ogg::Vorbis::Header::PurePerl: Didn't find an ogg
> header - invalid file?
> Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid
> file?

>
> #   Failed test 'Audio::File::Ogg::AudioProperties::length()'


My guess is that you are missing a header file.

If you are using a distribution based system, look for something like
libogg-dev or/and libvorbis-dev



Owen




-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN install module problem

2009-03-02 Thread Rob Dixon
howa wrote:
> 
> Why sometimes I can use a command to install Perl module, e.g.
> 
> perl -MCPAN -e "install Digest::MD5"
> 
> But sometimes can't?
> 
> e.g.
> 
> perl -MCPAN -e "install Archive::Zip"
>>> Can't locate object method "install" via package "Archive::Zip" at -e line 
>>> 1.
> 
> 
> Are there any reason?

This is something I haven't noticed before:

  > perl -MCPAN -MO=Deparse -e "install Digest::MD5"
  install('Digest::MD5');
  -e syntax OK

  > perl -MCPAN -MO=Deparse -e "install Archive::Zip"
  'Archive::Zip'->install;
  -e syntax OK


The problem is that the CPAN module loads Archive::Zip itself, so that Perl then
recognizes the module name as a class instead of a simple bareword.

The easiest fix is to force the semantics by using parentheses:

  > perl -MCPAN -MO=Deparse -e "install(Digest::MD5)"

and

  > perl -MCPAN -MO=Deparse -e "install(Archive::Zip)"


both of which will work fine.

HTH,

Rob

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN install module problem

2009-03-02 Thread howa
On Mar 2, 1:10 am, r...@i.frys.com (Ron Bergin) wrote:
> Since you're using double quotes, I assume that you're on Windows.  I
> suspect it has something to do with the way cmd is parsing the command
> before passing it to perl.

no matter I use single or double quote (on Linux), both does not
work...

what I want to do is issue the commands in a sh for job automation. I
don't want to enter the cpan shell and type onstall every time...


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN install module problem

2009-03-02 Thread Ron Bergin
On Feb 27, 9:03 pm, howac...@gmail.com (Howa) wrote:
> Hi,
>
> Why sometimes I can use a command to install Perl module, e.g.
>
> perl -MCPAN -e "install Digest::MD5"
>
> But sometimes can't?
>
> e.g.
>
> perl -MCPAN -e "install Archive::Zip"
>
> >> Can't locate object method "install" via package "Archive::Zip" at -e line 
> >> 1.
>
> Are there any reason?
>
> Thanks

Since you're using double quotes, I assume that you're on Windows.  I
suspect it has something to do with the way cmd is parsing the command
before passing it to perl.

If you enter the cpan shell and then issue install command, you can
avoid this problem.

e.g.,
this doesn't work, as you already know
C:\test>perl -MCPAN -e "install Archive::Zip"
Can't locate object method "install" via package "Archive::Zip" at -e
line 1.

this does work
C:\test>perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support enabled


cpan> install Archive::Zip
CPAN: Storable loaded ok
Going to read C:\Perl\cpan\Metadata
  Database was generated on Sun, 01 Mar 2009 11:26:52 GMT
Running install for module Archive::Zip
Running make for A/AD/ADAMK/Archive-Zip-1.26.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  
ftp://cpan-sj.viaverio.com/pub/CPAN/authors/id/A/AD/ADAMK/Archive-Zip-1.26.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
  ftp://cpan-sj.viaverio.com/pub/CPAN/authors/id/A/AD/ADAMK/CHECKSUMS
CPAN: Compress::Zlib loaded ok
Checksum for C:\Perl\cpan\sources\authors\id\A\AD\ADAMK\Archive-
Zip-1.26.tar.gz ok
Scanning cache C:\Perl\cpan\build for sizes
Archive-Zip-1.26/





--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: CPAN install module problem

2009-03-01 Thread Chas. Owens
On Sat, Feb 28, 2009 at 00:03, howa  wrote:
snip
> perl -MCPAN -e "install Archive::Zip"
>>> Can't locate object method "install" via package "Archive::Zip" at -e line 
>>> 1.
snip

Hmm, it looks like it is trying to use an indirect object method call
(that is it is trying to do this Archive::Zip->install() instead of
CPAN::install("Archive::Zip")).  I wouldn't worry about it if I were
you, I would just use the new(ish) cpan command instead:

cpan Archive::Zip

This does the same thing

perl -MCPAN -e "install Archive:Zip"

should do.


-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




RE: CPAN question

2008-11-19 Thread Stewart Anderson
> -Original Message-
> From: Kevin Murphy [mailto:[EMAIL PROTECTED]
> Sent: 18 November 2008 19:14
> To: beginners@perl.org
> Subject: CPAN question
> 
> Hi,
> 
> I'm a system administrator, not a programmer, and my only experience
> with Perl is setting up and maintaining a Bugzilla installation on an
> Ubuntu LAMP server.  I am now attempting to integrate our Active
> Directory with Request-Tracker to give it a test run but have gotten
> stuck in the mud with the installation of the ExternalAuth module.
> 
> What does one do when CPAN responds with: "Warning: Cannot install
> RT::Authen::ExternalAuth, don't know what it is."?  CPAN suggested I
run
> "i /RT::Authen::ExternalAuth/", which I did, but the response was:
> 
> 
> 
> "CPAN: Storable loaded ok (v2.15)
> 
> Going to read /root/.cpan/Metadata
> 
>   Database was generated on Mon, 17 Nov 2008 12:26:48 GMT
> 
> No objects found of any type for argument /RT::Authen::ExternalAuth/"
> 
> 
> 
> There are instructions to manually install the extension, but I would
> rather use CPAN and want to understand why it cannot find an extension
> that exists on the CPAN site.
> 
> 
> 
> Thanks

The  module readme suggests it is a manual  install process.
Stu



Information in this email including any attachments may be privileged, 
confidential and is intended exclusively for the addressee. The views expressed 
may not be official policy, but the personal views of the originator. If you 
have received it in error, please notify the sender by return e-mail and delete 
it from your system. You should not reproduce, distribute, store, retransmit, 
use or disclose its contents to anyone. Please note we reserve the right to 
monitor all e-mail communication through our internal and external networks. 
SKY and the SKY marks are trade marks of British Sky Broadcasting Group plc and 
are used under licence. British Sky Broadcasting Limited (Registration No. 
2906991), Sky Interactive Limited (Registration No. 3554332), Sky-In-Home 
Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited 
(Registration No. 2340150) are direct or indirect subsidiaries of British Sky 
Broadcasting Group plc (Registration No. 2247735). All of the companies 
mentioned in this paragraph are incorporated in England and Wales and share the 
same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan shell wrong

2008-10-16 Thread Sandy lone
On Wed, Oct 15, 2008 at 5:17 AM,  <[EMAIL PROTECTED]> wrote:
> I had a similar problem. Check out the contents of your urllist. This
> is what mine looked like:
>
>  cpan[1]> o conf urllist
>  urllist
>  0 []
>  1 [ftp://carroll.cac.psu.edu/pub/CPAN/]
>  2 [ftp://cpan-du.viaverio.com/pub/CPAN/]
>  3 [ftp://cpan-sj.viaverio.com/pub/CPAN/]
>  4 [ftp://cpan.calvin.edu/pub/CPAN]
>  Type 'o conf' to view all configuration items
>
> For some reason the first URL in my list got blown away. If this is
> your problem do the following and you should be all fix0rd:
>
>  cpan[2]> o conf urllist shift
>

Thanks.
The solution is really cool.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan shell wrong

2008-10-14 Thread james . conerly
I had a similar problem. Check out the contents of your urllist. This
is what mine looked like:

  cpan[1]> o conf urllist
  urllist
  0 []
  1 [ftp://carroll.cac.psu.edu/pub/CPAN/]
  2 [ftp://cpan-du.viaverio.com/pub/CPAN/]
  3 [ftp://cpan-sj.viaverio.com/pub/CPAN/]
  4 [ftp://cpan.calvin.edu/pub/CPAN]
  Type 'o conf' to view all configuration items

For some reason the first URL in my list got blown away. If this is
your problem do the following and you should be all fix0rd:

  cpan[2]> o conf urllist shift

Cheers


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan module installation on Mac OS Leopard

2008-08-23 Thread WetMogwai
Find ran for hours without finding those, but I found a partial
solution. If you open the CPAN shell and type:

o conf makepl_arg install_base=

it will install working modules. This is a partial solution because it
has to be done with each session. It doesn't work to run cpan non-
interactively. It forgets this setting when the CPAN shell is closed.
I have not yet found where it gets the default value for this
variable.

Now, I'm off on a search to find why I get an error from Growl.pm on a
variable that it is getting from itself, but that's a topic for a
different thread.

On Aug 19, 3:58 am, [EMAIL PROTECTED] (Xavier Mas) wrote:
> El Tuesday 19 August 2008 02:38:27 WetMogwai va escriure:
>
> > I'm having trouble with a Perl script. I installed Mac::Growl through
> > CPAN. It worked, but seemed to copy the final files to a place that
> > doesn't exist. I can't find it now. When I run my script, it says it
> > can't find Mac::Growl in @INC. How can I get CPAN to install modules
> > into directories that exist in @INC?
>
> > I'm using the perl and cpan that came with Mac OS Leopard.
>
> Look into perl directory you have installed in your computer, There must be a
> directory with the modules installed called pm, ppm or something similar. You
> can copy the .pm files of the module you want to install to that directory
> too.
>
> --
> Xavier Mas
>
> __
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por 
> minuto.http://es.voice.yahoo.com


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan module installation on Mac OS Leopard

2008-08-19 Thread Xavier Mas
El Tuesday 19 August 2008 02:38:27 WetMogwai va escriure:
> I'm having trouble with a Perl script. I installed Mac::Growl through
> CPAN. It worked, but seemed to copy the final files to a place that
> doesn't exist. I can't find it now. When I run my script, it says it
> can't find Mac::Growl in @INC. How can I get CPAN to install modules
> into directories that exist in @INC?
>
> I'm using the perl and cpan that came with Mac OS Leopard.

Look into perl directory you have installed in your computer, There must be a 
directory with the modules installed called pm, ppm or something similar. You 
can copy the .pm files of the module you want to install to that directory 
too.

-- 
Xavier Mas


__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan or perl -MCPAN ?

2008-04-04 Thread LesleyB
Thanks for the reply Yitze.

I simply wondered whether there was any benefit.  I haven't yet tried
the perl -MCPAN approach but have spent most of the day in cpan.  I
would expect to see perl -MCPAN in an anutomated approach somewhere I
guess.

I have successfully updated some modules locally using cpan but some
won't update e.g. due to being the 5.10 version and I'm on debian etch
with 5.8.8 still.  That indicates to me that either cpan or the module
writer doesn't accomodate the different perl distros automagically
i.e. try to find the latest in 5.8.8 rather than attempt a 5.10
download or have the module be graceful about the different
versions.

I had some fail to upgrade for other reasons - typically failures to
compile using the version of gcc installed - or other things missing
outside of what cpan can cope with.

I have at least updated those I actually wanted to update. :)

For anyone curious I found these techniques useful - start cpan from
the command line and type in r.  You'll get a list of installed
modules for which there are updates.  You can also upgrade all these
by entering upgrade on its own or upgrade  to upgrade a
specific module.

Regards

Lesley


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan or perl -MCPAN ?

2008-04-03 Thread Chas. Owens
On Thu, Apr 3, 2008 at 7:35 AM, LesleyB <[EMAIL PROTECTED]> wrote:
snip
>  Which method is considered better - using cpan as a command at the
>  command line or using 'perl -MCPAN -e ..'' ?
snip

The cpan script was added in Perl 5.8.1.  It is a command line
interface to the CPAN module, so it is not significantly different
from perl -MCPAN -e ''.

snip
>  Does using CPAN by either method above ensure the latest version of
>  any given module or does it give the latest module for the particular
>  version of Perl?.
snip

Modules are not stored by Perl version, they are stored by their own
versions, so you get the latest version if you do not specify a
specific version by using the relative path to the tar ball on the
CPAN mirror.

This installs Version 0.02:
perl -MCPAN -e 'install Acme::Lisp'

This installs Version 0.01:
perl -MCPAN -e 'install AMBS/Acme/Acme-Lisp-0.01'

snip
>  I'm running 5.8 and am aware 5.10 is out there - I would hope modules
>  would fall gracefully back to 5.8.8 but am aware this might not happen
>  for some modules.
snip

Very few (if any) modules use the new features of Perl 5.10.  In fact,
many modules are designed to work with versions of Perl all the way
back to version 5.005 (aka 5.5) which was last released back in 1999.
If you are worried about whether a given module is well supported with
your version of Perl on your Platform, you can always go to the
module's CPAN page and click on "Perl/Platform Version Matrix".

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan or perl -MCPAN ?

2008-04-03 Thread yitzle
I'm just guessing here, but I'm going to suggest that both methods
ultimately call the same code and are therefore equivalent. Though the
cpan command takes arguments, so it might speed stuff up.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: CPAN auxiliary pages & indexing

2007-11-19 Thread Dr.Ruud
"Karl Erisman" schreef:

> What conditions on a CPAN module must hold in order for cpantesters
> and cpanform to create pages for that dist?  My module, App::Smbxfer,
> is indexed and in the module list.  It shows up on most of the CPAN
> pages (i.e. it is on the other CPAN search pages, ANNOCPAN, RT,
> CPANTS, ...) but not on http://testers.cpan.org/show/App-Smbxfer.html
> -OR- http://www.cpanforum.com/dist/App-Smbxfer.  Kinda curious.

Better ask on module-authors.

news:perl.module-authors

mailto:module-authors(AT)perl.org

-- 
Affijn, Ruud

"Gewoon is een tijger."

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: CPAN Module Installation

2007-10-07 Thread Jeff Pang
2007/10/7, yitzle <[EMAIL PROTECTED]>:
> Is there some way to turn off the tests that get performed after a
> module is installed?

I don't think to turn off 'make test' is a good idea.
But on the other hand if you really don't like make test,you can force
to make install it.


> Does CPAN shell check to see if a module is already installed before
> trying to install it?
>

Yes.If the module installed on the host is already the newest
version,cpan shell does't re-install it.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan command line

2007-09-28 Thread Paul Lalli
On Sep 28, 12:32 pm, [EMAIL PROTECTED] (Bobby) wrote:
> On Friday 28 September 2007 12:26:08 Paul Lalli wrote:
> > > [EMAIL PROTECTED] (Bobby) wrote:
> > > > > What is the command to tell cpan to accept the default/suggested
> > > > > values?
> > When you run the cpan set up command, it will ask you if you're "ready
> > for manual configuration".  Say no.  That will cause it to use the
> > default values.

> Thanks, though I'm not sure we are talking about the same thing.

You're right, we weren't. :-)

> When installing modules it sometimes ask if you want additional modules as
> well. At that point I need it not to ask that but just go ahead and do what
> it thinks is best.

Start up your cpan shell, and type:
o conf prerequisites_policy follow
o conf commit

That will tell cpan to go ahead and just download whatever modules it
needs in order to install the module you're trying to install.

Paul Lalli


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan command line

2007-09-28 Thread Bobby
On Friday 28 September 2007 12:26:08 Paul Lalli wrote:
> On Sep 28, 9:26 am, [EMAIL PROTECTED] (Bobby) wrote:
> > On Friday 28 September 2007 06:01:31 Srinivas wrote:
> > > just hit "Enter"
> > >
> > > -srini
> > >
> > > Bobby wrote:
> > > > Hi,
> > > >
> > > > What is the command to tell cpan to accept the default/suggested
> > > > values?
> >
> > No. Command line option so you don't have to be there and press Enter.
>
> When you run the cpan set up command, it will ask you if you're "ready
> for manual configuration".  Say no.  That will cause it to use the
> default values.
>
> Paul Lalli

Thanks, though I'm not sure we are talking about the same thing.

When installing modules it sometimes ask if you want additional modules as 
well. At that point I need it not to ask that but just go ahead and do what 
it thinks is best.

-- 

Bobby

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan command line

2007-09-28 Thread Paul Lalli
On Sep 28, 9:26 am, [EMAIL PROTECTED] (Bobby) wrote:
> On Friday 28 September 2007 06:01:31 Srinivas wrote:
>
> > just hit "Enter"
>
> > -srini
>
> > Bobby wrote:
> > > Hi,
>
> > > What is the command to tell cpan to accept the default/suggested values?
>
> No. Command line option so you don't have to be there and press Enter.

When you run the cpan set up command, it will ask you if you're "ready
for manual configuration".  Say no.  That will cause it to use the
default values.

Paul Lalli


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan command line

2007-09-28 Thread Bobby
On Friday 28 September 2007 06:01:31 Srinivas wrote:
> just hit "Enter"
>
> -srini
>
> Bobby wrote:
> > Hi,
> >
> > What is the command to tell cpan to accept the default/suggested values?

No. Command line option so you don't have to be there and press Enter.

-- 

Bobby

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan command line

2007-09-28 Thread Srinivas

just hit "Enter"

-srini

Bobby wrote:

Hi,

What is the command to tell cpan to accept the default/suggested values?

  



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




RE: CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-26 Thread RICHARD FERNANDEZ
 

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> > I'm using a URL of the form ftp://MyCpanMirror/u02/CPAN/
> 
> Is your mirror server running Apache or some http server?  I 
> have an internal mirror that I connect to via http and it 
> works like a charm.
> 

Hi David,

Yes that box has Apache running on it, and that's the direction I'll be
going in today.
Still, I'd like to figure out the FTP thing if only just for
completeness :)

Thanks!

richf

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-25 Thread Mumia W.

On 06/25/2007 12:40 PM, RICHARD FERNANDEZ wrote:

[...]
I'm not sure where else to go with this. It looks like I can eventually
get what I need installed, but not without a long bumpy ride first.
[...]


A nice feature for someone to add to CPAN.pm would be the option to set 
the preferred ftp option.




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-25 Thread usenet
On Jun 25, 8:32 am, [EMAIL PROTECTED] (Richard Fernandez) wrote:
> I'm trying to use the CPAN shell to install some modules from our
> internal CPAN mirror.
> I'm using a URL of the form ftp://MyCpanMirror/u02/CPAN/

Is your mirror server running Apache or some http server?  I have an
internal mirror that I connect to via http and it works like a charm.


--
The best way to get a good answer is to ask a good question.
David Filmer (http://DavidFilmer.com)


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




RE: CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-25 Thread RICHARD FERNANDEZ
Hi Tom,

Thanks for the response. 

> It's undocumented, but maybe try this:
> 
>   BEGIN { $CPAN::DEBUG = 512; } # FTP?
> 

Not sure where to plug in this BEGIN {}...



>   perl -MNet::Netrc -lwe 'print join " ", 
> Net::Netrc->lookup("MyCpanMirror")->lpa'
>

It looks like Net::Netrc is working:
# perl -MNet::Netrc -lwe 'print join(" ",
Net::Netrc->lookup("MyCpanMirror")->lpa)'
Use of uninitialized value in join or string at -e line 1.
cpan XpasswdX 

I've also tested Net::FTP separately, and it works as advertised with
.netrc.
 
> If you're still able to use the ftp command to manually log 
> in to your mirror, you should be able to configure CPAN to 
> use that, as a workaround. I say you should, but I don't know 
> how tenaciously it may try to use Net::FTP (or whatever is 
> broken) instead.
> 

As it turns out, if I wait patiently for all the LWP/Net::FTP timeouts,
eventually CPAN resorts to /usr/bin/ftp which does read my .netrc. My
modules do eventually get installed but not w/o several admonitions that
using /usr/bin/ftp may cause "...problems that are hard to diagnose"

I'm not sure where else to go with this. It looks like I can eventually
get what I need installed, but not without a long bumpy ride first.

Thanks for the feedback.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-25 Thread Tom Phoenix

On 6/25/07, RICHARD FERNANDEZ <[EMAIL PROTECTED]> wrote:


I'm trying to use the CPAN shell to install some modules from our
internal CPAN mirror.
I'm using a URL of the form ftp://MyCpanMirror/u02/CPAN/ , and I have a
valid .netrc configured with a user and password for the mirror box.

At first I was able to query/install modules easily, but then I did an
"install Bundle::CPAN", and now I can't log into my CPAN mirror. To be
specific, LWP and Net::FTP are attempting to use an anonymous login,
which is not allowed, instead of trying to log in via the user
information contained in .netrc.


Sounds like somebody goofed, and assumed that all CPAN mirrors allow
anonymous access. You probably need to file a bug report, but let's
see how far we can get first.

It's undocumented, but maybe try this:

 BEGIN { $CPAN::DEBUG = 512; } # FTP?


I've read the docs for CPAN, LWP::UserAgent, and Net::FTP, but I don't
see how to change this behavior. I was under the impression that if a
.netrc was available, Net::FTP at least, would use it for
authentication.


That's my impression as well. Does Net::Netrc work for you from the
command line, maybe something like this?

 perl -MNet::Netrc -lwe 'print join " ",
Net::Netrc->lookup("MyCpanMirror")->lpa'

If you're still able to use the ftp command to manually log in to your
mirror, you should be able to configure CPAN to use that, as a
workaround. I say you should, but I don't know how tenaciously it may
try to use Net::FTP (or whatever is broken) instead.

Good luck with it!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




RE: CPAN shell (LWP, Net::FTP) won't authenticate properly

2007-06-25 Thread RICHARD FERNANDEZ
 
One other thing. I am able to successfully login to the mirror box using
command line FTP and netrc for authentication.

richf

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: CPAN and Windows

2007-06-02 Thread Paul Lalli
On Jun 1, 4:38 pm, [EMAIL PROTECTED] (Ebarras) wrote:
> I am _Very_ new to perl, and programing in general, so keep that in
> mind. I am trying to use some CPAN modules with ActivePerl, and I am
> having a difficult time of it. Is there a tool or something to
> integrate these modules into perl for windows?

Go to your Start Menu->Programs, select ActiveState ActivePerl, then
Documentation.  Now on the left hand frame, scroll down until you find
"perlmodinstall".  That document details how to install modules, for
various operating systems, including Windows.

In summary: if the module has an ActiveState distrobution, use it.
Fire up the included 'ppm' utility and just grab the module that way.
If not,  you'll have to get yourself a copy of 'nmake', and depending
on the module you want to install, possibly a C compiler.  More
information about how and where to get these are available in that
document I mentioned above.

Paul Lalli


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: CPAN and Windows

2007-06-01 Thread [EMAIL PROTECTED]
On Jun 1, 9:38 pm, [EMAIL PROTECTED] (Ebarras) wrote:
> I am _Very_ new to perl, and programing in general, so keep that in
> mind. I am trying to use some CPAN modules with ActivePerl, and I am
> having a difficult time of it. Is there a tool or something to
> integrate these modules into perl for windows?

ActivePerl come with a PPM (Perl Package Manager). You can access the
PPM by typing 'ppm' in the cmd or find the link in the Start->All
Programs Menu->ActivePerl.  Once the PPM window appears, just search
for the module you're looking for. Replace the :: in Module names with
- e.g. Net::FTP becomes Net-FTP.

Dean


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: CPAN and Windows

2007-06-01 Thread Ken Foskey
On Fri, 2007-06-01 at 20:38 +, ebarras wrote:
> I am _Very_ new to perl, and programing in general, so keep that in
> mind. I am trying to use some CPAN modules with ActivePerl, and I am
> having a difficult time of it. Is there a tool or something to
> integrate these modules into perl for windows?

Look for ppm Perl Package Manager and install with that.

-- 
Ken Foskey
FOSS developer


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan question

2007-05-14 Thread Robert Hicks

Xavier Noria wrote:

On May 14, 2007, at 3:50 PM, Robert Hicks wrote:

I am working on a Perl 5.6.0 project and went to use "cpan" at the 
command line and behold it was not there. I download the 5.6.1 tar 
file and behold "cpan" the command line program wasn't in there either.


Did it not come with 5.6.0/5.6.1?

I don't see where I can get it either...


Nope, cpan(1) was added in 5.8.1. You can use the traditional

  perl -MCPAN -e 'install Module'

with that Perl.

-- fxn


Thank you very much!

Robert

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan question

2007-05-14 Thread Chas Owens

On 5/14/07, Xavier Noria <[EMAIL PROTECTED]> wrote:
snip

   perl -MCPAN -e 'install Module'

snip

or

perl -MCPAN -e shell

If you prefer and interactive version of CPAN.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan question

2007-05-14 Thread Xavier Noria

On May 14, 2007, at 3:50 PM, Robert Hicks wrote:

I am working on a Perl 5.6.0 project and went to use "cpan" at the  
command line and behold it was not there. I download the 5.6.1 tar  
file and behold "cpan" the command line program wasn't in there  
either.


Did it not come with 5.6.0/5.6.1?

I don't see where I can get it either...


Nope, cpan(1) was added in 5.8.1. You can use the traditional

  perl -MCPAN -e 'install Module'

with that Perl.

-- fxn


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: CPAN installs

2007-01-16 Thread Kevin Viel

Wiggins d'Anconia wrote:

Kevin Viel wrote:

I am attempting to install modules on a Solaris v10 computer for which 
I do not have root privileges.  I see in MyConfig.pm that the build 
directory is local:


'build_dir' => q[/home/kviel/.cpan/build]

Where does it install the (built) module?

Thank you,

Kevin




The build_dir doesn't mean a lot in this case, assuming you are asking 
what I think you are asking. Instead you want to specify an install 
location in the makepl_arg and or mbuildpl_arg settings. For instance,


makepl_arg = LIB=~/local/lib PREFIX=~/local/lib
mbuildpl_arg = --install_base /home/user/local/lib

Check perldoc CPAN for information about 'o conf'. HTH,

http://danconia.org


Thanks Wiggins.

I attempted to use o conf  , but did not seem to 
have success.  In particular, I was unsure of how to use:


o conf  [unshift|push|splice] 

It seems I'd need to use this since I had LIB and PREFIX.  Could someone 
provide an example?


So, I used o conf init and I have the following in my MyConfig.pm:

  'make_arg' => q[LIB=~/local/lib PREFIX=~/local/lib],
  'make_install_arg' => q[--install_base /home/kviel/local/lib],
  'makepl_arg' => q[LIB=~/local/lib PREFIX=~/local/lib],


but still obtain an apparent failure:

Failed Test  Stat Wstat Total Fail  Failed  List of Failed
---
base/message.t 952   2.11%  86 89
html/form-param.t   2   51224   48 200.00%  1-24
html/form.t 2   512   122  244 200.00%  1-122
local/autoload-get.t11 100.00%  1
local/autoload.t11 100.00%  1
local/get.t 2   512 24 200.00%  1-2
local/http-get.t   206  30.00%  1-2 5-7 20
local/http.t   186  33.33%  1-2 5-7 18
robot/ua-get.t  82  25.00%  3 5
robot/ua.t  72  28.57%  3 5
Failed 10/30 test scripts, 66.67% okay. 168/799 subtests failed, 78.97% 
okay.

make: *** [test] Error 29
  /usr/local/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force



I used:

cpan> install LWP::Simple

Thanks for any help or advice.

Kevin

--
Kevin Viel
Department of Genetics   [EMAIL PROTECTED]
Southwest Foundation for Biomedical Research phone:  (210)258-9884
P.O. Box 760549  fax:(210)258-9444
San Antonio, TX 78245-0549

Kevin Viel
PhD Candidate
Department of Epidemiology
Rollins School of Public Health
Emory University
Atlanta, GA 30322

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: CPAN installs

2007-01-15 Thread Wiggins d'Anconia

Kevin Viel wrote:
I am attempting to install modules on a Solaris v10 computer for which I 
do not have root privileges.  I see in MyConfig.pm that the build 
directory is local:


'build_dir' => q[/home/kviel/.cpan/build]

Where does it install the (built) module?

Thank you,

Kevin




The build_dir doesn't mean a lot in this case, assuming you are asking 
what I think you are asking. Instead you want to specify an install 
location in the makepl_arg and or mbuildpl_arg settings. For instance,


makepl_arg = LIB=~/local/lib PREFIX=~/local/lib
mbuildpl_arg = --install_base /home/user/local/lib

Check perldoc CPAN for information about 'o conf'. HTH,

http://danconia.org

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: cpan and make test

2006-09-12 Thread Tom Phoenix

On 9/12/06, Umar Draz <[EMAIL PROTECTED]> wrote:


  some time i got erorr on make test when i use cpan -i 
is it possible to bypass ?


Sure, if you don't care whether your modules work properly or not. In
the long run, though, it's probably worth fixing the bugs. Cheers!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: CPAN::Shell install into customer dir

2006-06-26 Thread JupiterHost.Net



Anthony Ettinger wrote:


Isn't it PERL_PREFIX?


Perhaps, I'll give it a go once I figure out why its still using the 
global config and not the user's :)


Thanks for the input Anthony!


On 6/24/06, JupiterHost.Net <[EMAIL PROTECTED]> wrote:


Howdy all :)

I've a plugin installer that installs certain Perl modules:

This is what it uses,

  CPAN::Shell->expand('Module', $module_name)->install();

which works fine as long as root is running it.

What I'd like to do is install the modules as an unprivileged user into
/home/$user/perl

I tried setting $ENV{'PREFIX'}, $ENV{'PERL5LIB'}, to no avail.

Any one have any ideas if that can be done codewise without reverting to
a shell command

(
  a) I want to use a module not shell out a command
  b) I want to use CPAN so it follows dependencies instead of
Makefile.PL  -> make etc etc

Any insight into what I've missed would be absolutely excellent :)

TIA!

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 








--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: CPAN::Shell install into customer dir

2006-06-24 Thread Anthony Ettinger

Isn't it PERL_PREFIX?

On 6/24/06, JupiterHost.Net <[EMAIL PROTECTED]> wrote:

Howdy all :)

I've a plugin installer that installs certain Perl modules:

This is what it uses,

  CPAN::Shell->expand('Module', $module_name)->install();

which works fine as long as root is running it.

What I'd like to do is install the modules as an unprivileged user into
/home/$user/perl

I tried setting $ENV{'PREFIX'}, $ENV{'PERL5LIB'}, to no avail.

Any one have any ideas if that can be done codewise without reverting to
a shell command

(
  a) I want to use a module not shell out a command
  b) I want to use CPAN so it follows dependencies instead of
Makefile.PL  -> make etc etc

Any insight into what I've missed would be absolutely excellent :)

TIA!

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 






--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: cpan module installation using Activestate perl package manager

2006-03-14 Thread Sonika Sachdeva
Hi,

I installed File::Tail using nmake. Now when I run my perl script I get the
following error for File::stat which was running successfully before.
Subroutine import redefined at c:/Perl/lib/File/stat.pm line 25.
Subroutine populate redefined at c:/Perl/lib/File/stat.pm line 35.
Subroutine lstat redefined at c:/Perl/lib/File/stat.pm line 45.
Subroutine stat redefined at c:/Perl/lib/File/stat.pm line 47.
function 'new' already defined in package File::stat at
c:/Perl/lib/File/stat.pm line 29
Compilation failed in require at c:/Perl/site/lib/FILE/Tail.pm line 19.
BEGIN failed--compilation aborted at c:/Perl/site/lib/FILE/Tail.pm line 19.
Compilation failed in require at scanlog_ver3.2.pl line 5.
BEGIN failed--compilation aborted at scanlog_ver3.2.pl line 5.

Please suggest . This was a perfectly working script before.

Thanx,



On 3/14/06, Paul Ohashi <[EMAIL PROTECTED]> wrote:
>
> perl -MCPAN -e "install FILE::TAIL"
>
> -Original Message-
> From: Sonika Sachdeva [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 14, 2006 11:06 AM
> To: beginners@perl.org
> Subject: cpan module installation using Activestate perl package manager
>
> Hi,
>
> How do i install FILE::TAIL using activestate perl doing a search using
> perl package manager doesnt show File::Tail module in its repository
>
> thanks,
>


RE: cpan module installation using Activestate perl package manager

2006-03-14 Thread Paul Ohashi
perl -MCPAN -e "install FILE::TAIL" 

-Original Message-
From: Sonika Sachdeva [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 14, 2006 11:06 AM
To: beginners@perl.org
Subject: cpan module installation using Activestate perl package manager

Hi,

How do i install FILE::TAIL using activestate perl doing a search using
perl package manager doesnt show File::Tail module in its repository

thanks,

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: cpan module installation using Activestate perl package manager

2006-03-14 Thread Chas Owens
On 3/14/06, Sonika Sachdeva <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How do i install FILE::TAIL using activestate perl
> doing a search using perl package manager doesnt show File::Tail module in
> its repository
>
> thanks,

It looks like ActiveState does not have this module prepackaged.  If
you pay for support you may be able to get them to package it for you;
however, it is a pure Perl module so you can install it yourself
manually or using CPAN.

To install with CPAN run the following:

perl -MCPAN -e "install File::Tail"

and answer any questions it asks you.

To install manually download these two files
The module:
http://search.cpan.org/CPAN/authors/id/M/MG/MGRABNAR/File-Tail-0.99.3.tar.gz

a make utility for Microsoft OSes
http://download.microsoft.com/download/vc15/patch/1.52/w95/en-us/nmake15.exe

* Decompress nmake15.exe
* put nmake.exe in a directory in your path (C:\windows\system32 is good)
* Decompress File-Tail-0.99.3.tar.gz (winzip can handle tarballs)
* change directory into the resulting directory and type "perl
Makefile.PL".  This will create the makefiles that nmake will use test
and install the module
* type "nmake".  This will build the installation directory and create
the documentation
* type "nmake test".  This will run any tests the Module author has
written to make sure the module works.
* type "nmake install".  This will install the module in your Perl library.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: cpan message

2006-03-09 Thread Xavier Noria


On Mar 9, 2006, at 8:45, Owen wrote:


This message pops up when a new CPAN.pm is available

There's a new CPAN.pm version (v1.87) available!
  [Current version is v1.83]
  You might want to try
install Bundle::CPAN
reload cpan
  without quitting the current session. It should be a seamless  
upgrade

  while we are running...


What I don't understand is how it is meant to be installed "while  
we are running"


Yeah, that means that you can upgrade Bundle::CPAN and make the  
upgrade effective without quitting the session.


That's worth mentioning because CPAN.pm, who is running the shell, is  
already loaded into the interpreter, so a change in the .pms in the  
disk has nothing to do with the code already in memory. The message  
says CPAN.pm developers did indeed implement a "reload".


Of course, as with any other distribution you can just upgrade  
Bundle::CPAN and quit, next time you launch cpan the upgraded CPAN.pm  
will run, as usual.


-- fxn


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: CPAN for the first time

2006-02-28 Thread Tom Phoenix
On 2/28/06, Gallagher, Tim (NE) <[EMAIL PROTECTED]> wrote:

> I am having troubles getting Perl modules installed on
> my Linux box using Cpan.  So the module that I need is  Net::SSH::Perl,
> so I go "cpan> install  Net::SSH::Perl" and it says that everything
> installed correctly. "Net::SSH::Perl is up to date."

> Can't locate Crypt/DH.pm in @INC

It looks as if you need to install the Crypt::DH module, which is
available on CPAN. But installing Bundle::SSH should give you
everything you need for SSH, including Crypt::DH. Does installing the
bundle fix anything?

> This error looks that there is a dependency problem and I thought cpan
> takes care of dependency problems like Active States PPM.

Well, it tries. But it's not a perfect system, and it will always be
possible to install a module without all of its prerequisites. That's
part of the reason for the bundles, in fact.

Good luck with it!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




RE: CPAN module for file upload/download

2005-10-25 Thread Dhanashri Bhate
Thanks a million Chris!
I could use this module very well for the "file upload" part!
Now working on the file download, which is giving me some trouble...
I'm trying it on Windows, with Active Perl 5.8.7, and when I run the program
to download a file using this, my computer just starts beeping loudly :(
Anyway... I'm still trying :)

I have a question! 
For this module, are there know known compatibility issues with older
versions of Perl? (I'm using 5.8.7).

Thanks again!

Dhanashri

-Original Message-
From: Chris Devers [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 24, 2005 5:57 PM
To: Dhanashri Bhate
Cc: beginners@perl.org
Subject: Re: CPAN module for file upload/download

On Mon, 24 Oct 2005, Dhanashri Bhate wrote:

> Could anyone please suggest what module is available on CPAN for this?

Take a look at WWW::Mechanize.



-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Re: CPAN module for file upload/download

2005-10-24 Thread Chris Devers

On Mon, 24 Oct 2005, Dhanashri Bhate wrote:


Could anyone please suggest what module is available on CPAN for this?


Take a look at WWW::Mechanize.



--
Chris Devers

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: CPAN

2005-03-27 Thread Offer Kaye
On Sun, 27 Mar 2005 14:52:01 +0300, Octavian Rasnita wrote:
> Hi,
> 
> Does anyone know why CPAN shell cannot use the FTP addresses I defined?
> 
> I saw that it waits very much time for each one, then tells that that
> address was not accessible and passes to the next one, waits a lot again,
> and so on.
> 
> It works fine with http addresses however.
> 
> Thanks.
> 
> Teddy
> 

Possibly you are being blocked by a firewall. Try setting the
environment variable FTP_PASSIVE, e.g.:
In (t)c-shell:
  setenv FTP_PASSIVE 1 
In (ba)sh:
   export FTP_PASSIVE=1

If this doesn't work, make sure that in CPAN/Config.pm, the various
ftp program options are blanks:
  'ftp' => q[],
  'ftp_proxy' => q[],
  'ncftp' => q[],
  'ncftpget' => q[],

and that you have LWP installed, so that CPAN uses LWP::UserAgent
instead. Now your ftp addresses should work fine.

-- 
Offer Kaye

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




RE: cpan slow ?

2005-01-21 Thread Manav Mathur

Now, Its running fine here too. 

|-Original Message-
|From: Chris Brown [mailto:[EMAIL PROTECTED]
|Sent: Friday, January 21, 2005 3:56 PM
|To: beginners@perl.org
|Subject: Re: cpan slow ?
|
|
|I was having problems (in Peterborough, UK) but it all seems to be 
|running fine again now.
|
|On Friday 21 Jan 2005 09:51, zentara wrote:
|> On Thu, 20 Jan 2005 23:18:20 +0530, [EMAIL PROTECTED] (Harsh Busa)
|> wrote:
|> 
|> >hi 
|> >
|> >i m trying to connect to search.cpan.org (from india ) and getting 502
|> >Bad Gateway since almost 2 days ...  anyone else facing the same issue
|> >?
|> >
|> >Harsh 
|> 
|> Same here from Michigan, USA.  I've been able to get modules from the
|> straight listing however, with no delay.
|> 
|> -- 
|> I'm not really a human, but I play one on earth.
|> http://zentara.net/japh.html
|> 
|
|-- 
|To unsubscribe, e-mail: [EMAIL PROTECTED]
|For additional commands, e-mail: [EMAIL PROTECTED]
|<http://learn.perl.org/> <http://learn.perl.org/first-response>
|
|

*
Disclaimer:  

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*
Visit us at http://www.mahindrabt.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Re: cpan slow ?

2005-01-21 Thread Chris Brown
I was having problems (in Peterborough, UK) but it all seems to be running fine 
again now.

On Friday 21 Jan 2005 09:51, zentara wrote:
> On Thu, 20 Jan 2005 23:18:20 +0530, [EMAIL PROTECTED] (Harsh Busa)
> wrote:
> 
> >hi 
> >
> >i m trying to connect to search.cpan.org (from india ) and getting 502
> >Bad Gateway since almost 2 days ...  anyone else facing the same issue
> >?
> >
> >Harsh 
> 
> Same here from Michigan, USA.  I've been able to get modules from the
> straight listing however, with no delay.
> 
> -- 
> I'm not really a human, but I play one on earth.
> http://zentara.net/japh.html
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




RE: cpan slow ?

2005-01-20 Thread Manav Mathur

Im facing the same issue. again from India. yesterday didnt go on the site
but today, there's a definite problem

Manav

|-Original Message-
|From: Harsh Busa [mailto:[EMAIL PROTECTED]
|Sent: Thursday, January 20, 2005 11:18 PM
|To: beginners@perl.org
|Subject: cpan slow ?
|
|
|hi
|
|i m trying to connect to search.cpan.org (from india ) and getting 502
|Bad Gateway since almost 2 days ...  anyone else facing the same issue
|?
|
|Harsh
|--
|__
|http://www.ebackend.com/blog
|
|--
|To unsubscribe, e-mail: [EMAIL PROTECTED]
|For additional commands, e-mail: [EMAIL PROTECTED]
| 
|
|


*
Disclaimer:  

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*
Visit us at http://www.mahindrabt.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




RE: CPAN

2005-01-11 Thread Thomas Bätzler
Daniel <[EMAIL PROTECTED]>
> I made a mistake when setting up CPAN, I chose Central 
> America as my Continent, then the only option was to chose 
> Costa Rica as my Country.
>  Not that I have anything against Costa Rica, very lovely 
> place will visit soon, but would like a ftp server closer to 
> my real home.  I looked thru the h option and the perldocs, 
> but cannot figure out how to reload my info.  Please help!!

In interactive mode ("perl -MCPAN -eshell") run "o conf init".

HTH,
Thomas

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




  1   2   3   >