perl.cpan.discuss http://www.nntp.perl.org/group/perl.cpan.discuss/ ... Copyright 1998-2013 perl.org Thu, 20 Jun 2013 04:03:35 +0000 ask@perl.org Re: Looking to find CPAN module functionality to avoid even moreCPAN duplication by Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 &gt; given some simple tests<br/>&gt; and/or descriptions, find out if there&#39;s already some modules out<br/>&gt; there?<br/>Let other programmers have a look at the tests and descriptions whether<br/>that reminds someone of existing solutions.<br/><br/>Post to the list module-authors, to &lt;http://prepan.org/&gt; and<br/>&lt;http://perlmonks.org/?node=Meditations&gt;. Please be mindful to mark the<br/>cross-posts as such.<br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/03/msg655.html Tue, 19 Mar 2013 21:38:43 +0000 Looking to find CPAN module functionality to avoid even more CPAN duplication by Dana Diederich In short, there&#39;s a series of Perl modules that I end up re-implementing at<br/>every company I end up working at. This time around, I want to develop<br/>them as CPAN modules. Except:<br/><br/>A lot of this is pretty simple, straightforward stuff, and I feel there&#39;s<br/>at least a fair chance some of it already exists, at least in a form that&#39;s<br/>close enough to what I&#39;m looking for.<br/><br/>I have rolled through the thousands of CPAN modules, but there&#39;s a good<br/>chance I&#39;m missing some possible duplication.<br/><br/>My question: what&#39;s the best way for me to, given some simple tests and/or<br/>descriptions, find out if there&#39;s already some modules out there? This<br/>seems like a lazy request, and perhaps it is, but I&#39;m asking the question<br/>in case there is such a resource.<br/><br/>Thanks!<br/><br/>Cheers,<br/>-Dana<br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/03/msg654.html Tue, 12 Mar 2013 16:15:45 +0000 Re: needing to change default compiler? by Andreas Koenig Christopher Howard &lt;cmhoward2@alaska.edu&gt; writes:<br/><br/>&gt; From inside the CPAN shell, I attempted &#39;install DBI&#39;, but eventual the<br/>&gt; build fails with:<br/><br/>Try it from outside the CPAN shell. The CPAN shell does nothing but wrap<br/>the usual incantation:<br/><br/>perl Makefile.PL<br/>make<br/>make test<br/>make install<br/><br/>I do not expect that this will work better but it makes it more obvious<br/>where you have to tweak things: with parameters to &#39;perl Makefile.PL&#39;.<br/>You will find the ExtUtils::MakeMaker documentation indispensable. When<br/>your default compiler is not the right one you will most probably need<br/>more than one such parameter. For a start I&#39;d try<br/><br/>perl Makefile.PL CC=yourcc<br/><br/>Good luck,<br/>-- <br/>andreas<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/01/msg653.html Wed, 16 Jan 2013 04:39:54 +0000 needing to change default compiler? by Christopher Howard Hi. I&#39;m not even going to pretend to be a Perl programmer (I used it years<br/>ago once.) However, I am trying to use CPAN to install a newer version of<br/>the DBI module, because the application I am trying to run needs a newer<br/>version than the one installed on the system (I have no admin privileges).<br/>From inside the CPAN shell, I attempted &#39;install DBI&#39;, but eventual the<br/>build fails with:<br/><br/>code:<br/>--------<br/>/usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap<br/>/usr/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap Perl.xs &gt; Perl.xsc<br/>&amp;&amp; mv Perl.xsc Perl.c<br/>cc -c -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING<br/>-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64<br/>-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector<br/>-funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe<br/>-DVERSION=\&quot;1.623\&quot; -DXS_VERSION=\&quot;1.623\&quot; -fPIC<br/>&quot;-I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE&quot; -W -Wall<br/>-Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare<br/>-Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c<br/>pgcc-Error-Unknown switch: -fno-strict-aliasing<br/>pgcc-Error-Unknown switch: -pipe<br/>pgcc-Error-Unknown switch: -fmessage-length=0<br/>pgcc-Error-Unknown switch: -Wall<br/>pgcc-Error-Unknown switch: -fstack-protector<br/>pgcc-Error-Unknown switch: -funwind-tables<br/>pgcc-Error-Unknown switch: -fasynchronous-unwind-tables<br/>pgcc-Error-Unknown switch: -Wall<br/>pgcc-Error-Unknown switch: -pipe<br/>pgcc-Error-Unknown switch: -W<br/>pgcc-Error-Unknown switch: -Wall<br/>pgcc-Error-Unknown switch: -Wpointer-arith<br/>pgcc-Error-Unknown switch: -Wbad-function-cast<br/>pgcc-Error-Unknown switch: -Wno-comment<br/>pgcc-Error-Unknown switch: -Wno-sign-compare<br/>pgcc-Error-Unknown switch: -Wno-cast-qual<br/>pgcc-Error-Unknown switch: -Wmissing-noreturn<br/>pgcc-Error-Unknown switch: -Wno-unused-parameter<br/>make: *** [Perl.o] Error 1<br/> TIMB/DBI-1.623.tar.gz<br/> /usr/bin/make -- NOT OK<br/>Warning (usually harmless): &#39;YAML&#39; not installed, will not store persistent<br/>state<br/>Prepending /u1/uaf/cmhoward2/.cpan/build/Test-Simple-0.98-qIMiFo/blib/arch<br/>/u1/uaf/cmhoward2/.cpan/build/Test-Simple-0.98-qIMiFo/blib/lib<br/>/u1/uaf/cmhoward2/.cpan/build/ExtUtils-MakeMaker-6.64-V7EmM3/blib/arch<br/>/u1/uaf/cmhoward2/.cpan/build/ExtUtils-MakeMaker-6.64-V7EmM3/blib/lib to<br/>PERL5LIB for &#39;test&#39;<br/>Running make test<br/> Can&#39;t test without successful make<br/>Running make install<br/> Make had returned bad status, install seems impossible<br/>Failed during this command:<br/> MSCHWERN/ExtUtils-MakeMaker-6.64.tar.gz : install NO<br/> MSCHWERN/Test-Simple-0.98.tar.gz : install NO<br/> TIMB/DBI-1.623.tar.gz : make NO<br/>--------<br/><br/>It seems that &quot;pgcc&quot; does not recognize these switches, so why is cpan<br/>using pgcc instead of gcc? If this is the problem, how do I change CPAN&#39;s<br/>default compiler?<br/><br/>I am working on a SUSE Linux system with Perl 5.10. The CPAN shell version<br/>seems to be 1.9205.<br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/01/msg652.html Wed, 16 Jan 2013 00:29:44 +0000 Re: How to install PDF Lib? (Issues installing with CPAN) by Denis BUCHER Le 08.01.2013 00:26, Denis BUCHER (lists) a &eacute;crit :<br/>&gt;&gt;&gt;&gt; That might be it. [0] suggests there is a --with-perl option for<br/>&gt;&gt;&gt;&gt; PDFLib-Lite.<br/>&gt;&gt;&gt;&gt;<br/>&gt;&gt;&gt;&gt; [0]<br/>&gt;&gt;&gt;&gt; http://www.freebsd.org/cgi/cvsweb.cgi/ports/print/pdflib/Makefile?rev=1.65;content-type=text%2Fplain <br/>&gt;&gt;&gt;&gt;<br/>&gt;&gt;&gt; By default, it says &quot;/Perl language binding for PDFlib: yes/&quot;, and with<br/>&gt;&gt;&gt; &quot;./configure --with-perl=/usr/bin/perl&quot; it looks the same.<br/>&gt;&gt;&gt; (I did make clean, make, make install and tried cpan again)<br/>&gt;&gt; Enabling this option should create pdflib_pl.pm. If it doesn&#39;t exist,<br/>&gt;&gt; I&#39;m not sure of any other methods for debugging this problem.<br/>&gt; Yes that&#39;s strange because pdflib_pl.pm is only found in the original <br/>&gt; unzipped directory :<br/>&gt; # find / -name pdflib_pl.pm<br/>&gt; /root/PDFlib-Lite-7.0.5p3/bind/pdflib/perl/pdflib_pl.pm<br/>Do you know if there is maybe another perl mailing-list where someone <br/>would have an idea about this strange problem ?<br/>Or maybe we could use another solution to generate PDF from perl ?<br/><br/>Anyway, thank you very much for all your help :-)<br/><br/>Denis<br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/01/msg651.html Tue, 08 Jan 2013 16:57:23 +0000 Re: How to install PDF Lib? (Issues installing with CPAN) by Denis BUCHER Le 08.01.2013 00:22, milki a &eacute;crit :<br/>&gt; On 00:16 Tue 08 Jan , Denis BUCHER (lists) wrote:<br/>&gt;&gt;&gt; That might be it. [0] suggests there is a --with-perl option for<br/>&gt;&gt;&gt; PDFLib-Lite.<br/>&gt;&gt;&gt;<br/>&gt;&gt;&gt; [0]<br/>&gt;&gt;&gt; http://www.freebsd.org/cgi/cvsweb.cgi/ports/print/pdflib/Makefile?rev=1.65;content-type=text%2Fplain<br/>&gt;&gt; By default, it says &quot;/Perl language binding for PDFlib: yes/&quot;, and with<br/>&gt;&gt; &quot;./configure --with-perl=/usr/bin/perl&quot; it looks the same.<br/>&gt;&gt; (I did make clean, make, make install and tried cpan again)<br/>&gt; Enabling this option should create pdflib_pl.pm. If it doesn&#39;t exist,<br/>&gt; I&#39;m not sure of any other methods for debugging this problem.<br/>Yes that&#39;s strange because pdflib_pl.pm is only found in the original <br/>unzipped directory :<br/># find / -name pdflib_pl.pm<br/>/root/PDFlib-Lite-7.0.5p3/bind/pdflib/perl/pdflib_pl.pm<br/><br/>Denis<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/01/msg650.html Mon, 07 Jan 2013 23:26:45 +0000 Re: How to install PDF Lib? (Issues installing with CPAN) by milki On 00:16 Tue 08 Jan , Denis BUCHER (lists) wrote:<br/>&gt; &gt; That might be it. [0] suggests there is a --with-perl option for<br/>&gt; &gt; PDFLib-Lite.<br/>&gt; &gt;<br/>&gt; &gt; [0]<br/>&gt; &gt; http://www.freebsd.org/cgi/cvsweb.cgi/ports/print/pdflib/Makefile?rev=1.65;content-type=text%2Fplain<br/>&gt; <br/>&gt; By default, it says &quot;/Perl language binding for PDFlib: yes/&quot;, and with <br/>&gt; &quot;./configure --with-perl=/usr/bin/perl&quot; it looks the same.<br/>&gt; (I did make clean, make, make install and tried cpan again)<br/><br/>Enabling this option should create pdflib_pl.pm. If it doesn&#39;t exist,<br/>I&#39;m not sure of any other methods for debugging this problem.<br/><br/>-- <br/>milki<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/01/msg649.html Mon, 07 Jan 2013 23:22:14 +0000 Re: How to install PDF Lib? (Issues installing with CPAN) by Denis BUCHER Le 07.01.2013 23:55, milki a &eacute;crit :<br/>&gt; On 23:30 Mon 07 Jan , Denis BUCHER (lists) wrote:<br/>&gt;&gt; Le 07.01.2013 21:25, milki a ?crit :<br/>&gt;&gt;&gt; On 21:17 Mon 07 Jan , Denis BUCHER (lists) wrote:<br/>&gt;&gt;&gt;&gt; Le 07.01.2013 19:32, milki a ?crit :<br/>&gt;&gt;&gt;&gt;&gt; On 18:25 Mon 07 Jan , Denis BUCHER (lists) wrote:<br/>&gt;&gt;&gt;&gt;&gt;&gt; PDFLib requires the pdflib package from http://www.pdflib.com/<br/>&gt;&gt;&gt;&gt;&gt;&gt; version 4.0 or higher to be installed, and the perl interface<br/>&gt;&gt;&gt;&gt;&gt;&gt; &quot;pdflib_pl.pm&quot; enabled to be able to work properly. Please install<br/>&gt;&gt;&gt;&gt;&gt;&gt; that before trying to install this module.<br/>&gt;&gt;&gt;&gt;&gt; A simple google search yielded [0] which seems to indicate there are a<br/>&gt;&gt;&gt;&gt;&gt; couple more steps needed. It suggests using pecl as well as indicates<br/>&gt;&gt;&gt;&gt;&gt; there should be another prompt for the installation path of pdflib.<br/>&gt;&gt;&gt;&gt;&gt;<br/>&gt;&gt;&gt;&gt;&gt; [0] http://imountain.com/blog/2008/06/20/howto-install-pdflitepdflib-on-a-centosrhel-server/<br/>&gt;&gt;&gt;&gt; Dear Milki,<br/>&gt;&gt;&gt;&gt;<br/>&gt;&gt;&gt;&gt; Thanks for your reply, I knew about that page, but at first I didn&#39;t try<br/>&gt;&gt;&gt;&gt; pecl because I don&#39;t need PDFLib for PHP.<br/>&gt;&gt;&gt;&gt; Now I followed your suggestion and tried, but same problem: I still get<br/>&gt;&gt;&gt;&gt; the same message...<br/>&gt;&gt;&gt; Hm. That makes sense to ignore pecl then. Is the installation not asking<br/>&gt;&gt;&gt; you for the installation path for pdflib? Did the pdflib install the<br/>&gt;&gt;&gt; libpdf.so file correctly?<br/>&gt;&gt; No it didn&#39;t ask for path, but yes it looks like libpdf.so was correctly<br/>&gt;&gt; installed :<br/>&gt;&gt; # find / -name libpdf.so<br/>&gt;&gt; /usr/local/lib/libpdf.so<br/>&gt;&gt;<br/>&gt;&gt; Is the problem now maybe to have &quot;/the perl interface &quot;pdflib_pl.pm&quot;<br/>&gt;&gt; enabled to be able to work properly/&quot; ?<br/>&gt; That might be it. [0] suggests there is a --with-perl option for<br/>&gt; PDFLib-Lite.<br/>&gt;<br/>&gt; [0]<br/>&gt; http://www.freebsd.org/cgi/cvsweb.cgi/ports/print/pdflib/Makefile?rev=1.65;content-type=text%2Fplain<br/><br/>By default, it says &quot;/Perl language binding for PDFlib: yes/&quot;, and with <br/>&quot;./configure --with-perl=/usr/bin/perl&quot; it looks the same.<br/>(I did make clean, make, make install and tried cpan again)<br/><br/>Denis<br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/01/msg648.html Mon, 07 Jan 2013 23:16:47 +0000 Re: How to install PDF Lib? (Issues installing with CPAN) by milki On 23:30 Mon 07 Jan , Denis BUCHER (lists) wrote:<br/>&gt; Le 07.01.2013 21:25, milki a ?crit :<br/>&gt; &gt; On 21:17 Mon 07 Jan , Denis BUCHER (lists) wrote:<br/>&gt; &gt;&gt; Le 07.01.2013 19:32, milki a ?crit :<br/>&gt; &gt;&gt;&gt; On 18:25 Mon 07 Jan , Denis BUCHER (lists) wrote:<br/>&gt; &gt;&gt;&gt;&gt; PDFLib requires the pdflib package from http://www.pdflib.com/<br/>&gt; &gt;&gt;&gt;&gt; version 4.0 or higher to be installed, and the perl interface<br/>&gt; &gt;&gt;&gt;&gt; &quot;pdflib_pl.pm&quot; enabled to be able to work properly. Please install<br/>&gt; &gt;&gt;&gt;&gt; that before trying to install this module.<br/>&gt; &gt;&gt;&gt; A simple google search yielded [0] which seems to indicate there are a<br/>&gt; &gt;&gt;&gt; couple more steps needed. It suggests using pecl as well as indicates<br/>&gt; &gt;&gt;&gt; there should be another prompt for the installation path of pdflib.<br/>&gt; &gt;&gt;&gt;<br/>&gt; &gt;&gt;&gt; [0] http://imountain.com/blog/2008/06/20/howto-install-pdflitepdflib-on-a-centosrhel-server/<br/>&gt; &gt;&gt; Dear Milki,<br/>&gt; &gt;&gt;<br/>&gt; &gt;&gt; Thanks for your reply, I knew about that page, but at first I didn&#39;t try<br/>&gt; &gt;&gt; pecl because I don&#39;t need PDFLib for PHP.<br/>&gt; &gt;&gt; Now I followed your suggestion and tried, but same problem: I still get<br/>&gt; &gt;&gt; the same message...<br/>&gt; &gt; Hm. That makes sense to ignore pecl then. Is the installation not asking<br/>&gt; &gt; you for the installation path for pdflib? Did the pdflib install the<br/>&gt; &gt; libpdf.so file correctly?<br/>&gt; No it didn&#39;t ask for path, but yes it looks like libpdf.so was correctly <br/>&gt; installed :<br/>&gt; # find / -name libpdf.so<br/>&gt; /usr/local/lib/libpdf.so<br/>&gt; <br/>&gt; Is the problem now maybe to have &quot;/the perl interface &quot;pdflib_pl.pm&quot; <br/>&gt; enabled to be able to work properly/&quot; ?<br/><br/>That might be it. [0] suggests there is a --with-perl option for<br/>PDFLib-Lite.<br/><br/>[0]<br/>http://www.freebsd.org/cgi/cvsweb.cgi/ports/print/pdflib/Makefile?rev=1.65;content-type=text%2Fplain<br/><br/>-- <br/>milki<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/01/msg647.html Mon, 07 Jan 2013 22:55:24 +0000 Re: How to install PDF Lib? (Issues installing with CPAN) by Denis BUCHER Le 07.01.2013 21:25, milki a &eacute;crit :<br/>&gt; On 21:17 Mon 07 Jan , Denis BUCHER (lists) wrote:<br/>&gt;&gt; Le 07.01.2013 19:32, milki a ?crit :<br/>&gt;&gt;&gt; On 18:25 Mon 07 Jan , Denis BUCHER (lists) wrote:<br/>&gt;&gt;&gt;&gt; PDFLib requires the pdflib package from http://www.pdflib.com/<br/>&gt;&gt;&gt;&gt; version 4.0 or higher to be installed, and the perl interface<br/>&gt;&gt;&gt;&gt; &quot;pdflib_pl.pm&quot; enabled to be able to work properly. Please install<br/>&gt;&gt;&gt;&gt; that before trying to install this module.<br/>&gt;&gt;&gt; A simple google search yielded [0] which seems to indicate there are a<br/>&gt;&gt;&gt; couple more steps needed. It suggests using pecl as well as indicates<br/>&gt;&gt;&gt; there should be another prompt for the installation path of pdflib.<br/>&gt;&gt;&gt;<br/>&gt;&gt;&gt; [0] http://imountain.com/blog/2008/06/20/howto-install-pdflitepdflib-on-a-centosrhel-server/<br/>&gt;&gt; Dear Milki,<br/>&gt;&gt;<br/>&gt;&gt; Thanks for your reply, I knew about that page, but at first I didn&#39;t try<br/>&gt;&gt; pecl because I don&#39;t need PDFLib for PHP.<br/>&gt;&gt; Now I followed your suggestion and tried, but same problem: I still get<br/>&gt;&gt; the same message...<br/>&gt; Hm. That makes sense to ignore pecl then. Is the installation not asking<br/>&gt; you for the installation path for pdflib? Did the pdflib install the<br/>&gt; libpdf.so file correctly?<br/>No it didn&#39;t ask for path, but yes it looks like libpdf.so was correctly <br/>installed :<br/># find / -name libpdf.so<br/>/usr/local/lib/libpdf.so<br/><br/>Is the problem now maybe to have &quot;/the perl interface &quot;pdflib_pl.pm&quot; <br/>enabled to be able to work properly/&quot; ?<br/><br/>Denis<br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/01/msg646.html Mon, 07 Jan 2013 22:31:05 +0000 Re: How to install PDF Lib? (Issues installing with CPAN) by milki On 21:17 Mon 07 Jan , Denis BUCHER (lists) wrote:<br/>&gt; Le 07.01.2013 19:32, milki a ?crit :<br/>&gt; &gt; On 18:25 Mon 07 Jan , Denis BUCHER (lists) wrote:<br/>&gt; &gt;&gt; PDFLib requires the pdflib package from http://www.pdflib.com/<br/>&gt; &gt;&gt; version 4.0 or higher to be installed, and the perl interface<br/>&gt; &gt;&gt; &quot;pdflib_pl.pm&quot; enabled to be able to work properly. Please install<br/>&gt; &gt;&gt; that before trying to install this module.<br/>&gt; &gt; A simple google search yielded [0] which seems to indicate there are a<br/>&gt; &gt; couple more steps needed. It suggests using pecl as well as indicates<br/>&gt; &gt; there should be another prompt for the installation path of pdflib.<br/>&gt; &gt;<br/>&gt; &gt; [0] http://imountain.com/blog/2008/06/20/howto-install-pdflitepdflib-on-a-centosrhel-server/<br/>&gt; Dear Milki,<br/>&gt; <br/>&gt; Thanks for your reply, I knew about that page, but at first I didn&#39;t try <br/>&gt; pecl because I don&#39;t need PDFLib for PHP.<br/>&gt; Now I followed your suggestion and tried, but same problem: I still get <br/>&gt; the same message...<br/><br/>Hm. That makes sense to ignore pecl then. Is the installation not asking<br/>you for the installation path for pdflib? Did the pdflib install the<br/>libpdf.so file correctly?<br/><br/>-- <br/>milki<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/01/msg645.html Mon, 07 Jan 2013 20:25:59 +0000 Re: How to install PDF Lib? (Issues installing with CPAN) by Denis BUCHER Le 07.01.2013 19:32, milki a &eacute;crit :<br/>&gt; On 18:25 Mon 07 Jan , Denis BUCHER (lists) wrote:<br/>&gt;&gt; PDFLib requires the pdflib package from http://www.pdflib.com/<br/>&gt;&gt; version 4.0 or higher to be installed, and the perl interface<br/>&gt;&gt; &quot;pdflib_pl.pm&quot; enabled to be able to work properly. Please install<br/>&gt;&gt; that before trying to install this module.<br/>&gt; A simple google search yielded [0] which seems to indicate there are a<br/>&gt; couple more steps needed. It suggests using pecl as well as indicates<br/>&gt; there should be another prompt for the installation path of pdflib.<br/>&gt;<br/>&gt; [0] http://imountain.com/blog/2008/06/20/howto-install-pdflitepdflib-on-a-centosrhel-server/<br/>Dear Milki,<br/><br/>Thanks for your reply, I knew about that page, but at first I didn&#39;t try <br/>pecl because I don&#39;t need PDFLib for PHP.<br/>Now I followed your suggestion and tried, but same problem: I still get <br/>the same message...<br/><br/>Denis<br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/01/msg644.html Mon, 07 Jan 2013 20:17:53 +0000 Re: How to install PDF Lib? (Issues installing with CPAN) by milki On 18:25 Mon 07 Jan , Denis BUCHER (lists) wrote:<br/>&gt; PDFLib requires the pdflib package from http://www.pdflib.com/<br/>&gt; version 4.0 or higher to be installed, and the perl interface<br/>&gt; &quot;pdflib_pl.pm&quot; enabled to be able to work properly. Please install<br/>&gt; that before trying to install this module.<br/>&gt; <br/>&gt; Denis<br/>&gt; <br/>&gt; P.S. Our server runs under CentOS 5.8<br/><br/>A simple google search yielded [0] which seems to indicate there are a<br/>couple more steps needed. It suggests using pecl as well as indicates<br/>there should be another prompt for the installation path of pdflib.<br/><br/>[0] http://imountain.com/blog/2008/06/20/howto-install-pdflitepdflib-on-a-centosrhel-server/<br/><br/>-- <br/>milki<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/01/msg643.html Mon, 07 Jan 2013 18:32:14 +0000 How to install PDF Lib? (Issues installing with CPAN) by Denis BUCHER Dear all,<br/><br/>I am trying to install PDF Lib but it doesn&#39;t work or I&#39;m doing <br/>something wrong.<br/><br/>This is what I did :<br/><br/>|cpan&gt; install PDF::Template<br/>cpan&gt; installPDFLib|<br/><br/>But it says :<br/><br/> PDFLib requires the pdflib package from http://www.pdflib.com/<br/> version 4.0 or higher to be installed, and the perl interface<br/> &quot;pdflib_pl.pm&quot; enabled to be able to work properly. Please install<br/> that before trying to install this module.<br/><br/>Therefore I unzipped PDFlib-Lite-7.0.5p3.tar.gz, ./configure, make, make <br/>install.<br/><br/>But still the same message !<br/><br/>And by the way, I don&#39;t have any clue on how to install pdflib_pl.pm ?<br/><br/>Any help would be appreciated !<br/><br/>Thanks a lot in advance<br/><br/>Denis<br/><br/>P.S. Our server runs under CentOS 5.8<br/><br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2013/01/msg642.html Mon, 07 Jan 2013 17:25:20 +0000 Re: How specify a specific version of module to "cpan" command? by nimectos Steffen Schwigon &lt;ss5@renormalist.net&gt; wrote:<br/><br/>&gt;Hi!<br/>&gt;<br/>&gt;nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; writes:<br/>&gt;&gt; My question is, how can I specify the desired version to the <br/>&gt;&gt; &quot;cpan&quot; command? I didn&#39;t see how in &quot;man cpan&quot; or in the <br/>&gt;&gt; cpan.org FAQ.<br/>&gt;<br/>&gt;You could give the last part of the download link consisting of the<br/>&gt;AUTHOR name and the versioned filename:<br/>&gt;<br/>&gt; cpan SHLOMIF/XML-LibXML-2.0002.tar.gz<br/>&gt;<br/>&gt;Admittedly you need to find out this name in advance on (meta)cpan.org<br/>&gt;because the author might be different per version.<br/>&gt;<br/>Thank you very much, that got me past the problem - it turned out that<br/>there were a few other modules I had to treat similarly.<br/><br/>Is there some other method - a way to tell the cpan command &quot;I know that<br/>your downloaded module lists will show newer versions, but pretend that<br/>these versions are the latest for these modules&quot;? I like to feed the same<br/>long module list to cpan a second time and see that everything is already<br/>installed properly but that doesn&#39;t work with the method above, it always<br/>installs it again even if already installed.<br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/12/msg641.html Fri, 21 Dec 2012 09:27:21 +0000 Re: How specify a specific version of module to "cpan" command? by Steffen Schwigon Hi!<br/><br/>nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; writes:<br/>&gt; My question is, how can I specify the desired version to the <br/>&gt; &quot;cpan&quot; command? I didn&#39;t see how in &quot;man cpan&quot; or in the <br/>&gt; cpan.org FAQ.<br/><br/>You could give the last part of the download link consisting of the<br/>AUTHOR name and the versioned filename:<br/><br/> cpan SHLOMIF/XML-LibXML-2.0002.tar.gz<br/><br/>Admittedly you need to find out this name in advance on (meta)cpan.org<br/>because the author might be different per version.<br/><br/>Kind regards,<br/>Steffen <br/>-- <br/>Steffen Schwigon &lt;ss5@renormalist.net&gt;<br/>Perl benchmarks &lt;http://perlformance.net&gt;<br/>Dresden Perl Mongers &lt;http://dresden-pm.org/&gt;<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/12/msg640.html Wed, 19 Dec 2012 13:49:23 +0000 How specify a specific version of module to "cpan" command? by nimectos I am installing on CentOS 5.7 a list of modules via &quot;cpan moduleA <br/>moduleB&quot; etc. I have done this before with the same list of <br/>modules. Now the process is failing on XML::LibXML, apparently<br/>due to a known problem per:<br/><br/>https://rt.cpan.org/Public/Bug/Display.html?id=81739<br/><br/>I can see that on previous successfully built units, the version <br/>of that module was 2.0002. The one that CPAN gives me now is <br/>2.0014.<br/><br/>My question is, how can I specify the desired version to the <br/>&quot;cpan&quot; command? I didn&#39;t see how in &quot;man cpan&quot; or in the <br/>cpan.org FAQ.<br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/12/msg639.html Wed, 19 Dec 2012 09:01:57 +0000 Re: problems installing Algorithm::SVM and Algorithm::SVMLight by milki On 00:03 Mon 15 Oct , Martin Gellner wrote:<br/>&gt; in order to make Algorithm::SVM work under &quot;Linux dsksdy <br/>&gt; 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 x86_64 <br/>&gt; x86_64 x86_64 GNU/Linux&quot; the following 2 includes must be added in <br/>&gt; bindings.cpp:<br/>&gt; <br/>&gt; #include &lt;cstdlib&gt;<br/>&gt; #include &lt;cstring&gt;<br/>&gt; <br/>&gt; Else it will give errors as above.<br/><br/>Hi Martin,<br/><br/>You should be contacting the module authors listed in perldocs<br/><br/>Algorithm::SVM - <br/><br/>Matthew Laird &lt;matt@brinkman.mbb.sfu.ca&gt; Alexander K. Seewald<br/>&lt;alex@seewald.at&gt;<br/><br/>Algorithm::SVMLight -<br/><br/>Ken Williams, &lt;kwilliams@cpan.org&gt;<br/><br/>via the rt bug trackers<br/>https://rt.cpan.org/Public/Dist/Display.html?Name=Algorithm-SVM<br/>https://rt.cpan.org/Public/Dist/Display.html?Name=Algorithm-SVMLight<br/><br/>which are linked from their respective cpan pages<br/><br/>-- <br/>milki<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/10/msg638.html Tue, 16 Oct 2012 12:54:17 +0000 problems installing Algorithm::SVM and Algorithm::SVMLight by Martin Gellner in order to make Algorithm::SVM work under &quot;Linux dsksdy <br/>3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 x86_64 <br/>x86_64 x86_64 GNU/Linux&quot; the following 2 includes must be added in <br/>bindings.cpp:<br/><br/>#include &lt;cstdlib&gt;<br/>#include &lt;cstring&gt;<br/><br/>Else it will give errors as above.<br/><br/>Martin<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/10/msg637.html Tue, 16 Oct 2012 12:24:23 +0000 Re: Tk::EntryDialog module not indexed by PAUSE by Andreas Koenig Indraniel Das &lt;indraniel@gmail.com&gt; writes:<br/><br/>&gt; http://cpan.perl.org/authors/id/R/RK/RKIES/Tk-EntryDialog-0.10.tar.gz<br/>&gt;<br/>&gt; How would one add the above module to the CPAN index?<br/><br/>The maintainer or a pause admin can go to his pause page and click on<br/>the reindex page and cause a rerun of the indexer. A mail with<br/>diagnostics will then be sent the maintainer.<br/><br/>As a pause admin I just did that and the indexing was successful.<br/><br/>Thank you for the report!<br/>-- <br/>andreas<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/09/msg636.html Thu, 27 Sep 2012 23:25:41 +0000 Tk::EntryDialog module not indexed by PAUSE by Indraniel Das I&#39;ve noticed that the Tk::EntryDialog module (Tk-EntryDialog-0.10<br/>distribution) is available on search.cpan.org via the author page:<br/><br/>http://search.cpan.org/~rkies/<br/><br/>but not on equivalent page in metacpan.org:<br/><br/>https://metacpan.org/author/RKIES<br/><br/>Upon further investigation, it seems that the distribution has not been in<br/>indexed by pause, or at least it is not in the following file:<br/>http://cpan.perl.org/modules/02packages.details.txt<br/><br/>However, I can see the module directly in CPAN via :<br/><br/>http://cpan.perl.org/authors/id/R/RK/RKIES/Tk-EntryDialog-0.10.tar.gz<br/><br/>How would one add the above module to the CPAN index?<br/><br/>-Indraniel<br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/09/msg635.html Thu, 27 Sep 2012 14:15:07 +0000 cpan msg: 'YAML' not installed.../install YAML / YAML is up to date(0.80)' ???? by Linda Walsh <br/><br/><br/>I see this message in my cpan builds that doesn&#39;t make sense.<br/><br/>On one hand I see:<br/>Checking if your kit is complete...<br/>Looks good<br/>Writing Makefile for IO::Pty::Easy<br/>Writing MYMETA.yml and MYMETA.json<br/>cp lib/IO/Pty/Easy.pm blib/lib/IO/Pty/Easy.pm<br/>Manifying blib/man3/IO::Pty::Easy.3pm<br/> DOY/IO-Pty-Easy-0.09.tar.gz<br/> /usr/bin/make -j -j -- OK<br/>&#39;YAML&#39; not installed, will not store persistent state<br/>---------------------<br/>I thought YAML should be installed... so... I try installing it:<br/><br/><br/> &gt; install YAML<br/>YAML is up to date (0.80).<br/><br/>So What&#39;s up ?? I&#39;ve seen this before on other installs as well...<br/><br/>YAML is installed/uptodate, but it&#39;s not installed?<br/><br/>I did a &#39;force install&#39; on YAML to force it to &#39;reinstall&#39;, -- same message.<br/><br/>Should I be getting that message?<br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/04/msg634.html Fri, 13 Apr 2012 15:14:56 +0000 Re: WGDAVIS missing cpan modules by andreas.koenig.7os6VVqR &gt;&gt;&gt;&gt;&gt; On Tue, 6 Mar 2012 10:50:39 -0800, milki &lt;milki@rescomp.berkeley.edu&gt; said:<br/><br/> &gt; I just noticed that WGDAVIS has no cpan modules listed anymore [0].<br/> &gt; Could this be an indexing error or were they in fact removed?<br/><br/>The directory is really completely gone.<br/><br/>-- <br/>andreas<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/03/msg633.html Tue, 06 Mar 2012 12:49:25 +0000 WGDAVIS missing cpan modules by milki I just noticed that WGDAVIS has no cpan modules listed anymore [0].<br/>Could this be an indexing error or were they in fact removed? The<br/>modules are still present in backpan. The email address for the author<br/>is also invalid.<br/><br/>[0] https://metacpan.org/author/WGDAVIS <br/>[1] http://backpan.perl.org/authors/id/W/WG/WGDAVIS/ <br/><br/>-- <br/>milki<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/03/msg632.html Tue, 06 Mar 2012 10:50:46 +0000 SOAP::Packager namespace conflict with the one from SOAP.pm by Mark Hedges <br/>I work with a large CPAN installation. SOAP.pm and<br/>SOAP::Lite both come with a SOAP::Packager module. So, one<br/>or the other of them breaks.<br/><br/>Should the dist upload process detect this, and refuse to<br/>index a distribution where its contents conflict with the<br/>names of packages in other distributions?<br/><br/>-Mark<br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/02/msg631.html Fri, 10 Feb 2012 05:31:07 +0000 SOAP::Packager namespace conflict with the one from SOAP.pm by hedges-cpan-temp-1684 <br/>I work with a large CPAN installation. SOAP.pm and<br/>SOAP::Lite both come with a SOAP::Packager module. So, one<br/>or the other of them breaks.<br/><br/>Should the dist upload process detect this, and refuse to<br/>index a distribution where its contents conflict with the<br/>names of packages in other distributions?<br/><br/>-Mark<br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/02/msg630.html Thu, 09 Feb 2012 16:16:04 +0000 Re: Where's Protocol-Modbus? by andreas.koenig.7os6VVqR &gt;&gt;&gt;&gt;&gt; On Sat, 04 Feb 2012 03:30:17 -0800, nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; said:<br/><br/> &gt; On search.cpan.org I can find Protocol::Modbus and it looks like a typical<br/> &gt; module. I can download it, it&#39;s passed tests (including my matching Perl<br/> &gt; version and platform), etc. But using &quot;cpan&quot;, it can&#39;t find it, unlike<br/> &gt; many other modules I&#39;ve retrieved via &quot;cpan&quot;. I looked in the CPAN FAQ<br/> &gt; but it didn&#39;t mention this situation. What&#39;s up?<br/><br/>The file COSIMO/Protocol-Modbus-0.05.tar.gz contains world writeable<br/>files and directories. PAUSE (the Perl Authors Upload Server) refuses to<br/>index such files because they pose a security hazard on the end user.<br/>The usual procedure for pause is to provide a replacement file without<br/>world writables that then can be indexed. Such a file did not exist when<br/>I looked, so maybe something went wrong when pause tried it the first<br/>time. I just scheduled such an indexing job and in a few hours you<br/>should be able to access Protocol::Modbus via one of the CPAN shells as<br/>you would expect.<br/><br/>@cosimo: it would be nice if you could upload a replacement that has no<br/>world writeable files.<br/><br/>http://blogs.perl.org/users/chorny/2011/07/how-to-get-rid-of-withoutworldwriteables.html<br/><br/>@nimectos: Thank you for reporting this.<br/><br/>-- <br/>andreas<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/02/msg629.html Sat, 04 Feb 2012 06:42:26 +0000 Re: Where's Protocol-Modbus? by Shawn H Corey On 12-02-04 06:30 AM, nimectos wrote:<br/>&gt; On search.cpan.org I can find Protocol::Modbus and it looks like a typical<br/>&gt; module. I can download it, it&#39;s passed tests (including my matching Perl<br/>&gt; version and platform), etc. But using &quot;cpan&quot;, it can&#39;t find it, unlike<br/>&gt; many other modules I&#39;ve retrieved via &quot;cpan&quot;. I looked in the CPAN FAQ<br/>&gt; but it didn&#39;t mention this situation. What&#39;s up?<br/>&gt;<br/><br/>What happens when you enter this?<br/><br/>perldoc -l Protocol::Modbus<br/><br/><br/>-- <br/>Just my 0.00000002 million dollars worth,<br/> Shawn<br/><br/>Programming is as much about organization and communication<br/>as it is about coding.<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/02/msg628.html Sat, 04 Feb 2012 05:25:14 +0000 Where's Protocol-Modbus? by nimectos On search.cpan.org I can find Protocol::Modbus and it looks like a typical<br/>module. I can download it, it&#39;s passed tests (including my matching Perl<br/>version and platform), etc. But using &quot;cpan&quot;, it can&#39;t find it, unlike<br/>many other modules I&#39;ve retrieved via &quot;cpan&quot;. I looked in the CPAN FAQ<br/>but it didn&#39;t mention this situation. What&#39;s up?<br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2012/02/msg627.html Sat, 04 Feb 2012 03:30:37 +0000 Re: Offline CPAN use by nimectos nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; wrote:<br/><br/>&gt;Steffen Schwigon &lt;ss5@renormalist.net&gt; wrote:<br/>&gt;<br/>&gt;&gt;nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; writes:<br/>&gt;&gt;&gt; I want to point CPAN or some tool to the module .tar.gz files I want<br/>&gt;&gt;&gt; to add, and get them installed.<br/>&gt;&gt;<br/>&gt;&gt;If you already have the .tgz files,then you just need to unpack them by<br/>&gt;&gt;yourself and then use &#147;cpan .&#148; inside such a subdir:<br/>&gt;&gt;<br/>&gt;&gt; cd /tmp/<br/>&gt;&gt; tar xzf Some-Lib.tar.gz # or -Z/-j for unzip/bunzip2 etc.<br/>&gt;&gt; cd /tmp/Some-Lib<br/>&gt;&gt; cpan .<br/>&gt;&gt;<br/>&gt;&gt;Kind regards,<br/>&gt;&gt;Steffen <br/>&gt;<br/>&gt;Thank you SO much - that&#39;s the solution I needed! I did see &quot;cpan .&quot; in<br/>&gt;the man CPAN page but it immediately talks about downloading dependencies<br/>&gt;so I&#39;d skipped it thinking it was little different than regular cpan use.<br/>&gt;<br/>&gt;I came up with this for my current simple needs of a handful of packages,<br/>&gt;with no dependencies I don&#39;t already have installed, all are .tar.gz, and<br/>&gt;I only need installs, not upgrades:<br/>&gt;<br/>&gt;for MOD_ARCHIVE in *.tar.gz<br/>&gt;do<br/>&gt; ARCH_CONTENT=`tar -xzvf $MOD_ARCHIVE 2&gt; /dev/null`<br/>&gt; [ $? -ne 0 ] &amp;&amp; echo &quot;ERROR: Could not extract $MOD_ARCHIVE,<br/>&gt;skipping.&quot; &amp;&amp; continue<br/>&gt; ARCH_DIR=`echo &quot;$ARCH_CONTENT&quot; | head -1 | sed -r &#39;s_^([^/]+)/.*_\1_&#39;`<br/>&gt; [ $? -ne 0 -o &quot;$ARCH_DIR&quot; == &quot;&quot; ] &amp;&amp; echo &quot;ERROR: Could not determine<br/>&gt;archive dir for $MOD_ARCHIVE, skipping.&quot; &amp;&amp; continue<br/>&gt; pushd $ARCH_DIR &amp;&gt; /dev/null<br/>&gt; MOD_NAME=`grep -hP &quot;^[ \t]+&#39;*NAME&#39;*[ \t]*=&gt;&quot; * 2&gt; /dev/null | sed -r<br/>&gt;&quot;s/.*NAME.*[^&#39;]+&#39;([^&#39;]+)&#39;.*/\1/&quot; | sed -r<br/>&gt;&quot;s/.*NAME.*.*q\[([^]]+)\].*/\1/&quot;`<br/>&gt; [ $? -ne 0 -o &quot;$MOD_NAME&quot; == &quot;&quot; ] &amp;&amp; echo &quot;ERROR: Could not determine<br/>&gt;module name for $MOD_ARCHIVE, skipping.&quot; &amp;&amp; popd &amp;&gt; /dev/null &amp;&amp; continue<br/>&gt; CHECK_CMD=&quot;use $MOD_NAME; exit 0;&quot;<br/>&gt; perl -e &#39;$CHECK_CMD&#39; &amp;&gt; /dev/null<br/>&gt; if [ $? -eq 0 ]<br/>&gt; then<br/>&gt; echo &quot;Already installed: $MOD_NAME&quot;<br/>&gt; else<br/>&gt; echo &quot;Installing: $MOD_NAME from $MOD_ARCHIVE ...&quot;<br/>&gt; nice cpan . &gt;&gt; ../cpan-stdout.log 2&gt;&gt;../cpan-stderr.log<br/>&gt; [ $? -ne 0 ] &amp;&amp; echo &quot;ERROR: &#39;cpan .&#39; returned error doing<br/>&gt;$MOD_NAME, see *.log.&quot;<br/>&gt; fi<br/>&gt; popd &amp;&gt; /dev/null<br/>&gt;done<br/>&gt;<br/>&gt;<br/>&gt;<br/><br/>Correcting myself: change two CHECK lines to this:<br/> CHECK_CMD=&quot;perl -e &#39;use $MOD_NAME; exit 0;&#39; &amp;&gt; /dev/null&quot;<br/> eval $CHECK_CMD<br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2011/12/msg626.html Wed, 07 Dec 2011 02:27:43 +0000 Re: Offline CPAN use by nimectos Steffen Schwigon &lt;ss5@renormalist.net&gt; wrote:<br/><br/>&gt;nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; writes:<br/>&gt;&gt; I want to point CPAN or some tool to the module .tar.gz files I want<br/>&gt;&gt; to add, and get them installed.<br/>&gt;<br/>&gt;If you already have the .tgz files,then you just need to unpack them by<br/>&gt;yourself and then use &#147;cpan .&#148; inside such a subdir:<br/>&gt;<br/>&gt; cd /tmp/<br/>&gt; tar xzf Some-Lib.tar.gz # or -Z/-j for unzip/bunzip2 etc.<br/>&gt; cd /tmp/Some-Lib<br/>&gt; cpan .<br/>&gt;<br/>&gt;Kind regards,<br/>&gt;Steffen <br/><br/>Thank you SO much - that&#39;s the solution I needed! I did see &quot;cpan .&quot; in<br/>the man CPAN page but it immediately talks about downloading dependencies<br/>so I&#39;d skipped it thinking it was little different than regular cpan use.<br/><br/>I came up with this for my current simple needs of a handful of packages,<br/>with no dependencies I don&#39;t already have installed, all are .tar.gz, and<br/>I only need installs, not upgrades:<br/><br/>for MOD_ARCHIVE in *.tar.gz<br/>do<br/> ARCH_CONTENT=`tar -xzvf $MOD_ARCHIVE 2&gt; /dev/null`<br/> [ $? -ne 0 ] &amp;&amp; echo &quot;ERROR: Could not extract $MOD_ARCHIVE,<br/>skipping.&quot; &amp;&amp; continue<br/> ARCH_DIR=`echo &quot;$ARCH_CONTENT&quot; | head -1 | sed -r &#39;s_^([^/]+)/.*_\1_&#39;`<br/> [ $? -ne 0 -o &quot;$ARCH_DIR&quot; == &quot;&quot; ] &amp;&amp; echo &quot;ERROR: Could not determine<br/>archive dir for $MOD_ARCHIVE, skipping.&quot; &amp;&amp; continue<br/> pushd $ARCH_DIR &amp;&gt; /dev/null<br/> MOD_NAME=`grep -hP &quot;^[ \t]+&#39;*NAME&#39;*[ \t]*=&gt;&quot; * 2&gt; /dev/null | sed -r<br/>&quot;s/.*NAME.*[^&#39;]+&#39;([^&#39;]+)&#39;.*/\1/&quot; | sed -r<br/>&quot;s/.*NAME.*.*q\[([^]]+)\].*/\1/&quot;`<br/> [ $? -ne 0 -o &quot;$MOD_NAME&quot; == &quot;&quot; ] &amp;&amp; echo &quot;ERROR: Could not determine<br/>module name for $MOD_ARCHIVE, skipping.&quot; &amp;&amp; popd &amp;&gt; /dev/null &amp;&amp; continue<br/> CHECK_CMD=&quot;use $MOD_NAME; exit 0;&quot;<br/> perl -e &#39;$CHECK_CMD&#39; &amp;&gt; /dev/null<br/> if [ $? -eq 0 ]<br/> then<br/> echo &quot;Already installed: $MOD_NAME&quot;<br/> else<br/> echo &quot;Installing: $MOD_NAME from $MOD_ARCHIVE ...&quot;<br/> nice cpan . &gt;&gt; ../cpan-stdout.log 2&gt;&gt;../cpan-stderr.log<br/> [ $? -ne 0 ] &amp;&amp; echo &quot;ERROR: &#39;cpan .&#39; returned error doing<br/>$MOD_NAME, see *.log.&quot;<br/> fi<br/> popd &amp;&gt; /dev/null<br/>done<br/><br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2011/12/msg625.html Mon, 05 Dec 2011 22:15:55 +0000 Re: Offline CPAN use by Steffen Schwigon nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; writes:<br/>&gt; I want to point CPAN or some tool to the module .tar.gz files I want<br/>&gt; to add, and get them installed.<br/><br/>If you already have the .tgz files,then you just need to unpack them by<br/>yourself and then use &ldquo;cpan .&rdquo; inside such a subdir:<br/><br/> cd /tmp/<br/> tar xzf Some-Lib.tar.gz # or -Z/-j for unzip/bunzip2 etc.<br/> cd /tmp/Some-Lib<br/> cpan .<br/><br/>Kind regards,<br/>Steffen <br/>-- <br/>Steffen Schwigon &lt;ss5@renormalist.net&gt;<br/>Dresden Perl Mongers &lt;http://dresden-pm.org/&gt;<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2011/12/msg624.html Mon, 05 Dec 2011 02:28:06 +0000 Re: Offline CPAN use by nimectos andreas.koenig.7os6VVqR@franz.ak.mind.de (Andreas J. Koenig) wrote:<br/><br/>&gt;&gt;&gt;&gt;&gt;&gt; On Sat, 03 Dec 2011 02:23:45 -0800, nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; said:<br/>&gt;<br/>&gt; &gt; nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; wrote:<br/>&gt; &gt;&gt; andreas.koenig.7os6VVqR@franz.ak.mind.de (Andreas J. Koenig) wrote:<br/>&gt; &gt;&gt; <br/>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wed, 29 Jun 2011 23:35:22 -0700, nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; said:<br/>&gt; &gt;&gt;&gt; <br/>&gt; &gt;&gt;&gt; &gt; I finally succeeded, with some difficulties.<br/>&gt; &gt;&gt;&gt; <br/>&gt; &gt;&gt;&gt; &gt; First, the CPAN version (v1.7602) provided with that distro is apparently<br/>&gt; &gt;&gt;&gt; &gt; broken.<br/>&gt; &gt;&gt;&gt; <br/>&gt; &gt;&gt;&gt; Eight years and more than 120 releases have accumulated on top of this<br/>&gt; &gt;&gt;&gt; version. Pity you have to work with such old stuff.<br/>&gt; &gt;&gt; <br/>&gt; &gt;&gt; Thank you for the response.<br/>&gt; &gt;&gt; <br/>&gt; &gt;&gt; I need a stable distro, CentOS seems like a good choice, CentOS 6<br/>&gt; &gt;&gt; isn&#39;t out quite yet.<br/>&gt; &gt;&gt; <br/>&gt; &gt;&gt;&gt; &gt; [...]<br/>&gt; &gt;&gt;&gt; <br/>&gt; &gt;&gt;&gt; &gt; Then I installed needed modules via &quot;cpan module module ...&quot;. That went<br/>&gt; &gt;&gt;&gt; &gt; fine, but it still prompts:<br/>&gt; &gt;&gt;&gt; &gt; - MIME::Lite &quot;Add prereqs?&quot; prompt for extra external modules.<br/>&gt; &gt;&gt;&gt; &gt; - Crypt::SSLeay prompts for install path and live tests.<br/>&gt; &gt;&gt;&gt; <br/>&gt; &gt;&gt;&gt; &gt; How can I pre-set the answers to those?<br/>&gt; &gt;&gt;&gt; <br/>&gt; &gt;&gt;&gt; Make sure you have a recent CPAN.pm and read the manpage section<br/>&gt; &gt;&gt;&gt; <br/>&gt; &gt;&gt;&gt; Configuration for individual distributions (Distroprefs)<br/>&gt; &gt;&gt; <br/>&gt; &gt;&gt; That&#39;s good but but seems complex for my needs; I think I&#39;ll just<br/>&gt; &gt;&gt; use autoexpect/expect with the cpan command.<br/>&gt; &gt;&gt; <br/>&gt; &gt;&gt;&gt; &gt; So I was thinking of just archiving the installed modules from the source<br/>&gt; &gt;&gt;&gt; &gt; machine and unarchiving on the destination, e.g. just tar up:<br/>&gt; &gt;&gt;&gt; &gt; /usr/lib/perl5/*<br/>&gt; &gt;&gt;&gt; &gt; /usr/lib64/perl5/*<br/>&gt; &gt;&gt;&gt; &gt; and restore on the target (ignoring module docs). Would that work? (I&#39;d<br/>&gt; &gt;&gt;&gt; &gt; still unarchive the .cpan sources so they are present, just wouldn&#39;t build<br/>&gt; &gt;&gt;&gt; &gt; them via cpan commands).<br/>&gt; &gt;&gt;&gt; <br/>&gt; &gt;&gt;&gt; If the architectures are sufficiently similar it&#39;s likely to work.<br/>&gt; &gt;&gt; <br/>&gt; &gt;&gt; Thanks, I&#39;ll try it at some point.<br/>&gt; &gt;&gt; <br/>&gt; &gt;&gt;&gt; &gt; CPAN question: how can I list all installed modules? The closest I could<br/>&gt; &gt;&gt;&gt; &gt; find is the &quot;r&quot; command, but it&#39;s not clear if that is listing every<br/>&gt; &gt;&gt;&gt; &gt; installed modules, or just those that are candidates for upgrades.<br/>&gt; &gt;&gt;&gt; <br/>&gt; &gt;&gt;&gt; You&#39;re looking for for &#39;autobundle&#39;. Much to my surprise, &#39;r&#39; is<br/>&gt; &gt;&gt;&gt; undocumented indeed. Will be in the next release. And yes, it only lists<br/>&gt; &gt;&gt;&gt; upgradeable modules.<br/>&gt; &gt;&gt; <br/>&gt; &gt;&gt; OK, I&#39;d tried autobundle and seen the output, but thought there<br/>&gt; &gt;&gt; might be a separate command that didn&#39;t create the actual bundle<br/>&gt; &gt;&gt; file. I&#39;ll just use autobundle and manually clean out the Bundle<br/>&gt; &gt;&gt; directory periodically.<br/>&gt; &gt;&gt; <br/>&gt; &gt;&gt; <br/>&gt;<br/>&gt; &gt; Following up on my own post here: archiving .cpan, and archiving perl<br/>&gt; &gt; library directories, works fine for installing the built CPAN and modules<br/>&gt; &gt; on another [identical] machine, by simply unarchiving those bundles.<br/>&gt;<br/>&gt; &gt; Now I am at another phase: a machine built this way needs a few more CPAN<br/>&gt; &gt; modules installed, and has no network access. How do I install? If I had<br/>&gt; &gt; network access I would do e.g.:<br/>&gt;<br/>&gt; &gt; cpan List::Util List::MoreUtils XML::Simple<br/>&gt;<br/>&gt; &gt; So I tried:<br/>&gt;<br/>&gt; &gt; cpan Scalar-List-Utils-1.23.tar.gz<br/>&gt;<br/>&gt; &gt; which doesn&#39;t work; then I tried:<br/>&gt;<br/>&gt; &gt; cpan GBARR/Scalar-List-Utils-1.23.tar.gz<br/>&gt;<br/>&gt; &gt; which wanted network access and failed.<br/>&gt;<br/>&gt; &gt; I am aware of Mini but don&#39;t need a mirror - I just need a reasonably<br/>&gt; &gt; simple way to add a few more Perl modules to a unit that already has many<br/>&gt; &gt; modules installed via cpan. Perhaps I actually need some tool other than<br/>&gt; &gt; cpan for this purpose and am just not aware of it.<br/>&gt;<br/>&gt;The section &#39;Floppy, Zip, Offline Mode&#39; in the CPAN.pm manpage addresses<br/>&gt;this. The section is very old predates mini and local::lib and I&#39;m not<br/>&gt;sure what the best solution today would be. It makes me grin to find the<br/>&gt;word floppy again. Not many people have still the option to use floppies<br/>&gt;nowadays:)<br/>&gt;<br/>&gt;You say you do not need a mirror but depending on the way how you<br/>&gt;transport the data to the networked machine, a full mirror on a USB<br/>&gt;stick might be the most convenient solution.<br/><br/>Thanks for the response. That man page section seems to assume that you<br/>want the whole CPAN on portable media. But the machine already has a full<br/>CPAN installed - I don&#39;t want to replace it, I want to add to it. So it<br/>doesn&#39;t make sense to change keep_source_where, I want to point CPAN or<br/>some tool to the module .tar.gz files I want to add, and get them<br/>installed.<br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2011/12/msg623.html Sat, 03 Dec 2011 21:26:58 +0000 Re: Offline CPAN use by andreas.koenig.7os6VVqR &gt;&gt;&gt;&gt;&gt; On Sat, 03 Dec 2011 02:23:45 -0800, nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; said:<br/><br/> &gt; nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; wrote:<br/> &gt;&gt; andreas.koenig.7os6VVqR@franz.ak.mind.de (Andreas J. Koenig) wrote:<br/> &gt;&gt; <br/> &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wed, 29 Jun 2011 23:35:22 -0700, nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; said:<br/> &gt;&gt;&gt; <br/> &gt;&gt;&gt; &gt; I finally succeeded, with some difficulties.<br/> &gt;&gt;&gt; <br/> &gt;&gt;&gt; &gt; First, the CPAN version (v1.7602) provided with that distro is apparently<br/> &gt;&gt;&gt; &gt; broken.<br/> &gt;&gt;&gt; <br/> &gt;&gt;&gt; Eight years and more than 120 releases have accumulated on top of this<br/> &gt;&gt;&gt; version. Pity you have to work with such old stuff.<br/> &gt;&gt; <br/> &gt;&gt; Thank you for the response.<br/> &gt;&gt; <br/> &gt;&gt; I need a stable distro, CentOS seems like a good choice, CentOS 6<br/> &gt;&gt; isn&#39;t out quite yet.<br/> &gt;&gt; <br/> &gt;&gt;&gt; &gt; [...]<br/> &gt;&gt;&gt; <br/> &gt;&gt;&gt; &gt; Then I installed needed modules via &quot;cpan module module ...&quot;. That went<br/> &gt;&gt;&gt; &gt; fine, but it still prompts:<br/> &gt;&gt;&gt; &gt; - MIME::Lite &quot;Add prereqs?&quot; prompt for extra external modules.<br/> &gt;&gt;&gt; &gt; - Crypt::SSLeay prompts for install path and live tests.<br/> &gt;&gt;&gt; <br/> &gt;&gt;&gt; &gt; How can I pre-set the answers to those?<br/> &gt;&gt;&gt; <br/> &gt;&gt;&gt; Make sure you have a recent CPAN.pm and read the manpage section<br/> &gt;&gt;&gt; <br/> &gt;&gt;&gt; Configuration for individual distributions (Distroprefs)<br/> &gt;&gt; <br/> &gt;&gt; That&#39;s good but but seems complex for my needs; I think I&#39;ll just<br/> &gt;&gt; use autoexpect/expect with the cpan command.<br/> &gt;&gt; <br/> &gt;&gt;&gt; &gt; So I was thinking of just archiving the installed modules from the source<br/> &gt;&gt;&gt; &gt; machine and unarchiving on the destination, e.g. just tar up:<br/> &gt;&gt;&gt; &gt; /usr/lib/perl5/*<br/> &gt;&gt;&gt; &gt; /usr/lib64/perl5/*<br/> &gt;&gt;&gt; &gt; and restore on the target (ignoring module docs). Would that work? (I&#39;d<br/> &gt;&gt;&gt; &gt; still unarchive the .cpan sources so they are present, just wouldn&#39;t build<br/> &gt;&gt;&gt; &gt; them via cpan commands).<br/> &gt;&gt;&gt; <br/> &gt;&gt;&gt; If the architectures are sufficiently similar it&#39;s likely to work.<br/> &gt;&gt; <br/> &gt;&gt; Thanks, I&#39;ll try it at some point.<br/> &gt;&gt; <br/> &gt;&gt;&gt; &gt; CPAN question: how can I list all installed modules? The closest I could<br/> &gt;&gt;&gt; &gt; find is the &quot;r&quot; command, but it&#39;s not clear if that is listing every<br/> &gt;&gt;&gt; &gt; installed modules, or just those that are candidates for upgrades.<br/> &gt;&gt;&gt; <br/> &gt;&gt;&gt; You&#39;re looking for for &#39;autobundle&#39;. Much to my surprise, &#39;r&#39; is<br/> &gt;&gt;&gt; undocumented indeed. Will be in the next release. And yes, it only lists<br/> &gt;&gt;&gt; upgradeable modules.<br/> &gt;&gt; <br/> &gt;&gt; OK, I&#39;d tried autobundle and seen the output, but thought there<br/> &gt;&gt; might be a separate command that didn&#39;t create the actual bundle<br/> &gt;&gt; file. I&#39;ll just use autobundle and manually clean out the Bundle<br/> &gt;&gt; directory periodically.<br/> &gt;&gt; <br/> &gt;&gt; <br/><br/> &gt; Following up on my own post here: archiving .cpan, and archiving perl<br/> &gt; library directories, works fine for installing the built CPAN and modules<br/> &gt; on another [identical] machine, by simply unarchiving those bundles.<br/><br/> &gt; Now I am at another phase: a machine built this way needs a few more CPAN<br/> &gt; modules installed, and has no network access. How do I install? If I had<br/> &gt; network access I would do e.g.:<br/><br/> &gt; cpan List::Util List::MoreUtils XML::Simple<br/><br/> &gt; So I tried:<br/><br/> &gt; cpan Scalar-List-Utils-1.23.tar.gz<br/><br/> &gt; which doesn&#39;t work; then I tried:<br/><br/> &gt; cpan GBARR/Scalar-List-Utils-1.23.tar.gz<br/><br/> &gt; which wanted network access and failed.<br/><br/> &gt; I am aware of Mini but don&#39;t need a mirror - I just need a reasonably<br/> &gt; simple way to add a few more Perl modules to a unit that already has many<br/> &gt; modules installed via cpan. Perhaps I actually need some tool other than<br/> &gt; cpan for this purpose and am just not aware of it.<br/><br/>The section &#39;Floppy, Zip, Offline Mode&#39; in the CPAN.pm manpage addresses<br/>this. The section is very old predates mini and local::lib and I&#39;m not<br/>sure what the best solution today would be. It makes me grin to find the<br/>word floppy again. Not many people have still the option to use floppies<br/>nowadays:)<br/><br/>You say you do not need a mirror but depending on the way how you<br/>transport the data to the networked machine, a full mirror on a USB<br/>stick might be the most convenient solution.<br/><br/>-- <br/>andreas<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2011/12/msg622.html Sat, 03 Dec 2011 09:13:32 +0000 Re: Offline CPAN use by nimectos nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; wrote:<br/><br/>&gt;andreas.koenig.7os6VVqR@franz.ak.mind.de (Andreas J. Koenig) wrote:<br/>&gt;<br/>&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wed, 29 Jun 2011 23:35:22 -0700, nimectos &lt;tt4g-xtsy@dea.spamcon.org&gt; said:<br/>&gt;&gt;<br/>&gt;&gt; &gt; I finally succeeded, with some difficulties.<br/>&gt;&gt;<br/>&gt;&gt; &gt; First, the CPAN version (v1.7602) provided with that distro is apparently<br/>&gt;&gt; &gt; broken.<br/>&gt;&gt;<br/>&gt;&gt;Eight years and more than 120 releases have accumulated on top of this<br/>&gt;&gt;version. Pity you have to work with such old stuff.<br/>&gt;<br/>&gt;Thank you for the response.<br/>&gt;<br/>&gt;I need a stable distro, CentOS seems like a good choice, CentOS 6<br/>&gt;isn&#39;t out quite yet.<br/>&gt;<br/>&gt;&gt; &gt; [...]<br/>&gt;&gt;<br/>&gt;&gt; &gt; Then I installed needed modules via &quot;cpan module module ...&quot;. That went<br/>&gt;&gt; &gt; fine, but it still prompts:<br/>&gt;&gt; &gt; - MIME::Lite &quot;Add prereqs?&quot; prompt for extra external modules.<br/>&gt;&gt; &gt; - Crypt::SSLeay prompts for install path and live tests.<br/>&gt;&gt;<br/>&gt;&gt; &gt; How can I pre-set the answers to those?<br/>&gt;&gt;<br/>&gt;&gt;Make sure you have a recent CPAN.pm and read the manpage section<br/>&gt;&gt;<br/>&gt;&gt; Configuration for individual distributions (Distroprefs)<br/>&gt;<br/>&gt;That&#39;s good but but seems complex for my needs; I think I&#39;ll just<br/>&gt;use autoexpect/expect with the cpan command.<br/>&gt;<br/>&gt;&gt; &gt; So I was thinking of just archiving the installed modules from the source<br/>&gt;&gt; &gt; machine and unarchiving on the destination, e.g. just tar up:<br/>&gt;&gt; &gt; /usr/lib/perl5/*<br/>&gt;&gt; &gt; /usr/lib64/perl5/*<br/>&gt;&gt; &gt; and restore on the target (ignoring module docs). Would that work? (I&#39;d<br/>&gt;&gt; &gt; still unarchive the .cpan sources so they are present, just wouldn&#39;t build<br/>&gt;&gt; &gt; them via cpan commands).<br/>&gt;&gt;<br/>&gt;&gt;If the architectures are sufficiently similar it&#39;s likely to work.<br/>&gt;<br/>&gt;Thanks, I&#39;ll try it at some point.<br/>&gt;<br/>&gt;&gt; &gt; CPAN question: how can I list all installed modules? The closest I could<br/>&gt;&gt; &gt; find is the &quot;r&quot; command, but it&#39;s not clear if that is listing every<br/>&gt;&gt; &gt; installed modules, or just those that are candidates for upgrades.<br/>&gt;&gt;<br/>&gt;&gt;You&#39;re looking for for &#39;autobundle&#39;. Much to my surprise, &#39;r&#39; is<br/>&gt;&gt;undocumented indeed. Will be in the next release. And yes, it only lists<br/>&gt;&gt;upgradeable modules.<br/>&gt;<br/>&gt;OK, I&#39;d tried autobundle and seen the output, but thought there<br/>&gt;might be a separate command that didn&#39;t create the actual bundle<br/>&gt;file. I&#39;ll just use autobundle and manually clean out the Bundle<br/>&gt;directory periodically.<br/>&gt;<br/>&gt;<br/><br/>Following up on my own post here: archiving .cpan, and archiving perl<br/>library directories, works fine for installing the built CPAN and modules<br/>on another [identical] machine, by simply unarchiving those bundles.<br/><br/>Now I am at another phase: a machine built this way needs a few more CPAN<br/>modules installed, and has no network access. How do I install? If I had<br/>network access I would do e.g.:<br/><br/>cpan List::Util List::MoreUtils XML::Simple<br/><br/>So I tried:<br/><br/>cpan Scalar-List-Utils-1.23.tar.gz<br/><br/>which doesn&#39;t work; then I tried:<br/><br/>cpan GBARR/Scalar-List-Utils-1.23.tar.gz<br/><br/>which wanted network access and failed.<br/><br/>I am aware of Mini but don&#39;t need a mirror - I just need a reasonably<br/>simple way to add a few more Perl modules to a unit that already has many<br/>modules installed via cpan. Perhaps I actually need some tool other than<br/>cpan for this purpose and am just not aware of it.<br/><br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2011/12/msg621.html Sat, 03 Dec 2011 02:24:14 +0000 Re: [Perldl] Troubles with CPAN indexing of PDL::NetCDF andPDL::Graphics::PLplot by Doug Hunt Hi again, Andreas:<br/><br/>After the latest mirror update, now my cpan command shows the correct <br/>index:<br/><br/>$ cpan<br/><br/>...<br/><br/>cpan[2]&gt; reload index<br/>CPAN: Storable loaded ok (v2.22)<br/>Going to read &#39;/home/cosmicops/.cpan/Metadata&#39;<br/> Database was generated on Tue, 29 Nov 2011 03:32:34 GMT<br/><br/>...<br/><br/>cpan[3]&gt; i /PDL::NetCDF/<br/>Module id = PDL::NetCDF<br/> DESCRIPTION Reads/Writes NetCDF files from/to PDL objs<br/> CPAN_USERID DHUNT (Douglas Hunt &lt;dhunt@ucar.edu&gt;)<br/> CPAN_VERSION 4.15<br/> CPAN_FILE D/DH/DHUNT/PDL-NetCDF-4.15.tar.gz<br/> DSLIP_STATUS RdcOp <br/>(released,developer,C,object-oriented,Standard-Perl)<br/> INST_FILE (not installed)<br/><br/>Very cool! I&#39;ve been fighting this problem for some months now.<br/><br/>Thanks, Andreas!<br/><br/>--Doug<br/><br/><br/>dhunt@ucar.edu<br/>Software Engineer<br/>UCAR - COSMIC, Tel. (303) 497-2611<br/><br/>On Tue, 29 Nov 2011, Doug Hunt wrote:<br/><br/>&gt; WooHoo!<br/>&gt;<br/>&gt; --Doug<br/>&gt;<br/>&gt; dhunt@ucar.edu<br/>&gt; Software Engineer<br/>&gt; UCAR - COSMIC, Tel. (303) 497-2611<br/>&gt;<br/>&gt; On Tue, 29 Nov 2011, Andreas J. Koenig wrote:<br/>&gt;<br/>&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Mon, 28 Nov 2011 16:05:05 -0700 (MST), Doug Hunt &lt;dhunt@ucar.edu&gt; <br/>&gt;&gt;&gt;&gt;&gt;&gt;&gt; said:<br/>&gt;&gt;<br/>&gt;&gt; &gt; but I still don&#39;t see an index from cpan:<br/>&gt;&gt; <br/>&gt;&gt; I found (and removed[0]) a long forgotten sanity check in the pause<br/>&gt;&gt; indexer which prevented the inclusion into 02packages.details.txt, the<br/>&gt;&gt; file that publishes the index and now, finally, I see<br/>&gt;&gt; <br/>&gt;&gt; % grep NetCDF /home/ftp/pub/PAUSE/modules/02packages.details.txt<br/>&gt;&gt; PDL::NetCDF 4.15 D/DH/DHUNT/PDL-NetCDF-4.15.tar.gz<br/>&gt;&gt; <br/>&gt;&gt; And I can ask the CPAN shell:<br/>&gt;&gt; <br/>&gt;&gt; cpan[6]&gt; m PDL::NetCDF<br/>&gt;&gt; Module id = PDL::NetCDF<br/>&gt;&gt; DESCRIPTION Reads/Writes NetCDF files from/to PDL objs<br/>&gt;&gt; CPAN_USERID DHUNT (Douglas Hunt &lt;dhunt@ucar.edu&gt;)<br/>&gt;&gt; CPAN_VERSION 4.15<br/>&gt;&gt; CPAN_FILE D/DH/DHUNT/PDL-NetCDF-4.15.tar.gz<br/>&gt;&gt; UPLOAD_DATE 2011-11-28<br/>&gt;&gt; DSLIP_STATUS RdcOp (released,developer,C,object-oriented,Standard-Perl)<br/>&gt;&gt; INST_FILE (not installed)<br/>&gt;&gt; <br/>&gt;&gt; <br/>&gt;&gt; Thanks for not giving up on this one!<br/>&gt;&gt; <br/>&gt;&gt; And sorry for the mess,<br/>&gt;&gt; -- <br/>&gt;&gt; andreas<br/>&gt;&gt; <br/>&gt;&gt; [0]<br/>&gt;&gt; https://github.com/andk/pause/commit/ae6379f6a49cc640679821522cab5da10f5e5482<br/>&gt;&gt; <br/>&gt;<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2011/11/msg620.html Tue, 29 Nov 2011 13:16:52 +0000 Re: [Perldl] Troubles with CPAN indexing of PDL::NetCDF andPDL::Graphics::PLplot by Doug Hunt WooHoo!<br/><br/>--Doug<br/><br/>dhunt@ucar.edu<br/>Software Engineer<br/>UCAR - COSMIC, Tel. (303) 497-2611<br/><br/>On Tue, 29 Nov 2011, Andreas J. Koenig wrote:<br/><br/>&gt;&gt;&gt;&gt;&gt;&gt; On Mon, 28 Nov 2011 16:05:05 -0700 (MST), Doug Hunt &lt;dhunt@ucar.edu&gt; said:<br/>&gt;<br/>&gt; &gt; but I still don&#39;t see an index from cpan:<br/>&gt;<br/>&gt; I found (and removed[0]) a long forgotten sanity check in the pause<br/>&gt; indexer which prevented the inclusion into 02packages.details.txt, the<br/>&gt; file that publishes the index and now, finally, I see<br/>&gt;<br/>&gt; % grep NetCDF /home/ftp/pub/PAUSE/modules/02packages.details.txt<br/>&gt; PDL::NetCDF 4.15 D/DH/DHUNT/PDL-NetCDF-4.15.tar.gz<br/>&gt;<br/>&gt; And I can ask the CPAN shell:<br/>&gt;<br/>&gt; cpan[6]&gt; m PDL::NetCDF<br/>&gt; Module id = PDL::NetCDF<br/>&gt; DESCRIPTION Reads/Writes NetCDF files from/to PDL objs<br/>&gt; CPAN_USERID DHUNT (Douglas Hunt &lt;dhunt@ucar.edu&gt;)<br/>&gt; CPAN_VERSION 4.15<br/>&gt; CPAN_FILE D/DH/DHUNT/PDL-NetCDF-4.15.tar.gz<br/>&gt; UPLOAD_DATE 2011-11-28<br/>&gt; DSLIP_STATUS RdcOp (released,developer,C,object-oriented,Standard-Perl)<br/>&gt; INST_FILE (not installed)<br/>&gt;<br/>&gt;<br/>&gt; Thanks for not giving up on this one!<br/>&gt;<br/>&gt; And sorry for the mess,<br/>&gt; -- <br/>&gt; andreas<br/>&gt;<br/>&gt; [0]<br/>&gt; https://github.com/andk/pause/commit/ae6379f6a49cc640679821522cab5da10f5e5482<br/>&gt;<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2011/11/msg619.html Tue, 29 Nov 2011 08:15:08 +0000 Re: [Perldl] Troubles with CPAN indexing of PDL::NetCDF andPDL::Graphics::PLplot by Doug Hunt Hi David: OK, thanks--I&#39;ll wait until tomorrow to check &#39;cpan&#39;.<br/><br/>--Doug<br/><br/>dhunt@ucar.edu<br/>Software Engineer<br/>UCAR - COSMIC, Tel. (303) 497-2611<br/><br/>On Mon, 28 Nov 2011, David Mertens wrote:<br/><br/>&gt; Doug, all -<br/>&gt; <br/>&gt; To be clear, when I fire up CPAN and type the command you supply, I get this output:<br/>&gt; <br/>&gt; cpan[1]&gt; i /PDL::NetCDF/<br/>&gt; CPAN: Storable loaded ok (v2.27)<br/>&gt; Reading &#39;/home/visitors/dcmertens/.cpan/Metadata&#39;<br/>&gt; &nbsp; Database was generated on Tue, 08 Nov 2011 06:29:47 GMT<br/>&gt; CPAN: LWP::UserAgent loaded ok (v6.02)<br/>&gt; CPAN: Time::HiRes loaded ok (v1.972101)<br/>&gt; Fetching with LWP:<br/>&gt; http://cpan.msi.umn.edu/authors/01mailrc.txt.gz<br/>&gt; Reading &#39;/home/visitors/dcmertens/.cpan/sources/authors/01mailrc.txt.gz&#39;<br/>&gt; CPAN: Compress::Zlib loaded ok (v2.033)<br/>&gt; ............................................................................DONE<br/>&gt; Fetching with LWP:<br/>&gt; http://cpan.msi.umn.edu/modules/02packages.details.txt.gz<br/>&gt; Reading &#39;/home/visitors/dcmertens/.cpan/sources/modules/02packages.details.txt.gz&#39;<br/>&gt; &nbsp; Database was generated on Mon, 28 Nov 2011 06:29:30 GMT<br/>&gt; ............................................................................DONE<br/>&gt; Fetching with LWP:<br/>&gt; http://cpan.msi.umn.edu/modules/03modlist.data.gz<br/>&gt; Reading &#39;/home/visitors/dcmertens/.cpan/sources/modules/03modlist.data.gz&#39;<br/>&gt; ............................................................................DONE<br/>&gt; Writing /home/visitors/dcmertens/.cpan/Metadata<br/>&gt; Module id = PDL::NetCDF<br/>&gt; &nbsp;&nbsp;&nbsp; DESCRIPTION&nbsp; Reads/Writes NetCDF files from/to PDL objs<br/>&gt; &nbsp;&nbsp;&nbsp; CPAN_USERID&nbsp; DHUNT (Douglas Hunt &lt;dhunt@ucar.edu&gt;)<br/>&gt; &nbsp;&nbsp;&nbsp; CPAN_VERSION undef<br/>&gt; &nbsp;&nbsp;&nbsp; CPAN_FILE&nbsp;&nbsp;&nbsp; Contact Author Douglas Hunt &lt;dhunt@ucar.edu&gt;<br/>&gt; &nbsp;&nbsp;&nbsp; DSLIP_STATUS RdcOp (released,developer,C,object-oriented,Standard-Perl)<br/>&gt; &nbsp;&nbsp;&nbsp; INST_FILE&nbsp;&nbsp;&nbsp; (not installed)<br/>&gt; <br/>&gt; Notice the emphasized line. If I understand this correctly, this means that the packages file was last updated this mornig at<br/>&gt; 06:29:30, GMT. I believe that if you check back after the package list has been updated to a time-stamp after you submitted the<br/>&gt; new module, it should have the correct information.<br/>&gt; <br/>&gt; David<br/>&gt; <br/>&gt; On Mon, Nov 28, 2011 at 6:02 PM, David Mertens &lt;dcmertens.perl@gmail.com&gt; wrote:<br/>&gt; I could be wrong here, but I was under the impression that it can take many hours for the various CPAN mirrors to<br/>&gt; update. How much time did you give them to update?<br/>&gt;<br/>&gt; David<br/>&gt;<br/>&gt; On Mon, Nov 28, 2011 at 5:05 PM, Doug Hunt &lt;dhunt@ucar.edu&gt; wrote:<br/>&gt; Hi again, Andreas!<br/>&gt;<br/>&gt; I submitted this an hour or so ago. &nbsp;I got this reassuring email from PAUSE:<br/>&gt;<br/>&gt; ------------------%&lt;-----------------------------------------------------------<br/>&gt; The following report has been written by the PAUSE namespace indexer.<br/>&gt; &nbsp;Please contact modules@perl.org if there are any open questions.<br/>&gt;<br/>&gt; &nbsp;User: DHUNT (Douglas Hunt)<br/>&gt; &nbsp;Distribution file: PDL-NetCDF-4.15.tar.gz<br/>&gt; &nbsp;Number of files: 13<br/>&gt; &nbsp;*.pm files: 0<br/>&gt; &nbsp;README: PDL-NetCDF-4.15/README<br/>&gt; &nbsp;META.yml: PDL-NetCDF-4.15/META.yml<br/>&gt; &nbsp;YAML-Parser: YAML::XS 0.32<br/>&gt; &nbsp;META-driven index: yes<br/>&gt; &nbsp;Timestamp of file: Mon Nov 28 21:58:52 2011 UTC<br/>&gt; &nbsp;Time of this run: Mon Nov 28 22:00:27 2011 UTC<br/>&gt;<br/>&gt; Status of this distro: OK<br/>&gt; =========================<br/>&gt;<br/>&gt; The following packages (grouped by status) have been found in the distro:<br/>&gt;<br/>&gt; Status: Successfully indexed<br/>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;============================<br/>&gt;<br/>&gt; &nbsp; &nbsp; module: PDL::NetCDF<br/>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;version: 4.15<br/>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;in file: netcdf.pd<br/>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;status: indexed<br/>&gt;<br/>&gt; __END__<br/>&gt; ------------------%&lt;-----------------------------------------------------------<br/>&gt;<br/>&gt; but I still don&#39;t see an index from cpan:<br/>&gt;<br/>&gt; ------------------%&lt;-----------------------------------------------------------<br/>&gt; nolock_cpan[2]&gt; i /PDL::NetCDF/<br/>&gt; Module id = PDL::NetCDF<br/>&gt; &nbsp; &nbsp;DESCRIPTION &nbsp;Reads/Writes NetCDF files from/to PDL objs<br/>&gt; &nbsp; &nbsp;CPAN_USERID &nbsp;DHUNT (Douglas Hunt &lt;dhunt@ucar.edu&gt;)<br/>&gt; &nbsp; &nbsp;CPAN_VERSION undef<br/>&gt; &nbsp; &nbsp;CPAN_FILE &nbsp; &nbsp;Contact Author Douglas Hunt &lt;dhunt@ucar.edu&gt;<br/>&gt; &nbsp; &nbsp;DSLIP_STATUS RdcOp (released,developer,C,object-oriented,Standard-Perl)<br/>&gt; &nbsp; &nbsp;INST_FILE &nbsp; &nbsp;(not installed)<br/>&gt; <br/>&gt; (as opposed to, for example):<br/>&gt; nolock_cpan[3]&gt; i /Term::ReadLine::Perl/<br/>&gt; Module id = Term::ReadLine::Perl<br/>&gt; &nbsp; &nbsp;DESCRIPTION &nbsp;GNU Readline history and completion in Perl<br/>&gt; &nbsp; &nbsp;CPAN_USERID &nbsp;ILYAZ (Ilya Zakharevich &lt;cpan@ilyaz.org&gt;)<br/>&gt; &nbsp; &nbsp;CPAN_VERSION 1.0303<br/>&gt; &nbsp; &nbsp;CPAN_FILE &nbsp; &nbsp;I/IL/ILYAZ/modules/Term-ReadLine-Perl-1.0303.tar.gz<br/>&gt; &nbsp; &nbsp;DSLIP_STATUS RdpO? (released,developer,perl,object-oriented,)<br/>&gt; &nbsp; &nbsp;INST_FILE &nbsp; &nbsp;(not installed)<br/>&gt; ------------------%&lt;-----------------------------------------------------------<br/>&gt; <br/>&gt; So, I think I&#39;m stuck where I&#39;ve always been.<br/>&gt; <br/>&gt; Any ideas or suggestions welcome!<br/>&gt; <br/>&gt; Regards,<br/>&gt; <br/>&gt; &nbsp;Doug<br/>&gt; <br/>&gt; <br/>&gt; dhunt@ucar.edu<br/>&gt; Software Engineer<br/>&gt; UCAR - COSMIC, Tel. (303) 497-2611<br/>&gt; <br/>&gt; On Mon, 28 Nov 2011, Andreas J. Koenig wrote:<br/>&gt;<br/>&gt; On Mon, 28 Nov 2011 13:15:16 -0700 (MST),<br/>&gt; Doug Hunt &lt;dhunt@ucar.edu&gt; said:<br/>&gt; <br/>&gt;<br/>&gt; &nbsp;&gt; [...]<br/>&gt; &nbsp;&gt; provides:<br/>&gt; &nbsp;&gt; &nbsp; &nbsp; PDL::NetCDF:<br/>&gt; &nbsp;&gt; &nbsp; &nbsp; &nbsp; &nbsp; file: &nbsp; &nbsp; netcdf.pd<br/>&gt; &nbsp;&gt; &nbsp; &nbsp; &nbsp; &nbsp; version: &nbsp;4.15<br/>&gt; &nbsp;&gt; [...]<br/>&gt; &nbsp;&gt; ------------------%&lt;---------------------------------------------------<br/>&gt;<br/>&gt; &nbsp;&gt; Does this look right to you? &nbsp;If so, I&#39;ll submit this to CPAN and see<br/>&gt; &nbsp;&gt; what happens.<br/>&gt;<br/>&gt; Yes, this looks familiar to me, please try it out and complain<br/>&gt; immediately to me if it doesn&#39;t work.<br/>&gt;<br/>&gt; &nbsp;&gt; Thanks!<br/>&gt;<br/>&gt; You&#39;re welcome!<br/>&gt;<br/>&gt; --<br/>&gt; andreas<br/>&gt; <br/>&gt; <br/>&gt; _______________________________________________<br/>&gt; Perldl mailing list<br/>&gt; Perldl@jach.hawaii.edu<br/>&gt; http://mailman.jach.hawaii.edu/mailman/listinfo/perldl<br/>&gt; <br/>&gt; <br/>&gt; <br/>&gt; <br/>&gt; --<br/>&gt; Sent via my carrier pigeon.<br/>&gt; <br/>&gt; <br/>&gt; <br/>&gt; <br/>&gt; --<br/>&gt; Sent via my carrier pigeon.<br/>&gt; <br/>&gt;<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2011/11/msg618.html Tue, 29 Nov 2011 08:13:10 +0000 Re: [Perldl] Troubles with CPAN indexing of PDL::NetCDF and PDL::Graphics::PLplot by andreas.koenig.7os6VVqR &gt;&gt;&gt;&gt;&gt; On Mon, 28 Nov 2011 16:05:05 -0700 (MST), Doug Hunt &lt;dhunt@ucar.edu&gt; said:<br/><br/> &gt; but I still don&#39;t see an index from cpan:<br/><br/>I found (and removed[0]) a long forgotten sanity check in the pause<br/>indexer which prevented the inclusion into 02packages.details.txt, the<br/>file that publishes the index and now, finally, I see<br/><br/>% grep NetCDF /home/ftp/pub/PAUSE/modules/02packages.details.txt<br/>PDL::NetCDF 4.15 D/DH/DHUNT/PDL-NetCDF-4.15.tar.gz<br/><br/>And I can ask the CPAN shell:<br/><br/>cpan[6]&gt; m PDL::NetCDF<br/>Module id = PDL::NetCDF<br/> DESCRIPTION Reads/Writes NetCDF files from/to PDL objs<br/> CPAN_USERID DHUNT (Douglas Hunt &lt;dhunt@ucar.edu&gt;)<br/> CPAN_VERSION 4.15<br/> CPAN_FILE D/DH/DHUNT/PDL-NetCDF-4.15.tar.gz<br/> UPLOAD_DATE 2011-11-28<br/> DSLIP_STATUS RdcOp (released,developer,C,object-oriented,Standard-Perl)<br/> INST_FILE (not installed)<br/><br/><br/>Thanks for not giving up on this one!<br/><br/>And sorry for the mess,<br/>-- <br/>andreas<br/><br/>[0]<br/>https://github.com/andk/pause/commit/ae6379f6a49cc640679821522cab5da10f5e5482<br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2011/11/msg617.html Mon, 28 Nov 2011 23:01:18 +0000 Re: [Perldl] Troubles with CPAN indexing of PDL::NetCDF and PDL::Graphics::PLplot by David Mertens I could be wrong here, but I was under the impression that it can take many<br/>hours for the various CPAN mirrors to update. How much time did you give<br/>them to update?<br/><br/>David<br/><br/>On Mon, Nov 28, 2011 at 5:05 PM, Doug Hunt &lt;dhunt@ucar.edu&gt; wrote:<br/><br/>&gt; Hi again, Andreas!<br/>&gt;<br/>&gt; I submitted this an hour or so ago. I got this reassuring email from<br/>&gt; PAUSE:<br/>&gt;<br/>&gt; ------------------%&lt;----------**------------------------------**<br/>&gt; -------------------<br/>&gt; The following report has been written by the PAUSE namespace indexer.<br/>&gt; Please contact modules@perl.org if there are any open questions.<br/>&gt;<br/>&gt; User: DHUNT (Douglas Hunt)<br/>&gt; Distribution file: PDL-NetCDF-4.15.tar.gz<br/>&gt; Number of files: 13<br/>&gt; *.pm files: 0<br/>&gt; README: PDL-NetCDF-4.15/README<br/>&gt; META.yml: PDL-NetCDF-4.15/META.yml<br/>&gt; YAML-Parser: YAML::XS 0.32<br/>&gt; META-driven index: yes<br/>&gt; Timestamp of file: Mon Nov 28 21:58:52 2011 UTC<br/>&gt; Time of this run: Mon Nov 28 22:00:27 2011 UTC<br/>&gt;<br/>&gt; Status of this distro: OK<br/>&gt; =========================<br/>&gt;<br/>&gt; The following packages (grouped by status) have been found in the distro:<br/>&gt;<br/>&gt; Status: Successfully indexed<br/>&gt; ============================<br/>&gt;<br/>&gt; module: PDL::NetCDF<br/>&gt; version: 4.15<br/>&gt; in file: netcdf.pd<br/>&gt; status: indexed<br/>&gt;<br/>&gt; __END__<br/>&gt; ------------------%&lt;----------**------------------------------**<br/>&gt; -------------------<br/>&gt;<br/>&gt; but I still don&#39;t see an index from cpan:<br/>&gt;<br/>&gt; ------------------%&lt;----------**------------------------------**<br/>&gt; -------------------<br/>&gt; nolock_cpan[2]&gt; i /PDL::NetCDF/<br/>&gt;<br/>&gt; Module id = PDL::NetCDF<br/>&gt; DESCRIPTION Reads/Writes NetCDF files from/to PDL objs<br/>&gt; CPAN_USERID DHUNT (Douglas Hunt &lt;dhunt@ucar.edu&gt;)<br/>&gt; CPAN_VERSION undef<br/>&gt; CPAN_FILE Contact Author Douglas Hunt &lt;dhunt@ucar.edu&gt;<br/>&gt; DSLIP_STATUS RdcOp (released,developer,C,object-**<br/>&gt; oriented,Standard-Perl)<br/>&gt; INST_FILE (not installed)<br/>&gt;<br/>&gt; (as opposed to, for example):<br/>&gt; nolock_cpan[3]&gt; i /Term::ReadLine::Perl/<br/>&gt; Module id = Term::ReadLine::Perl<br/>&gt; DESCRIPTION GNU Readline history and completion in Perl<br/>&gt; CPAN_USERID ILYAZ (Ilya Zakharevich &lt;cpan@ilyaz.org&gt;)<br/>&gt; CPAN_VERSION 1.0303<br/>&gt; CPAN_FILE I/IL/ILYAZ/modules/Term-**ReadLine-Perl-1.0303.tar.gz<br/>&gt; DSLIP_STATUS RdpO? (released,developer,perl,**object-oriented,)<br/>&gt; INST_FILE (not installed)<br/>&gt; ------------------%&lt;----------**------------------------------**<br/>&gt; -------------------<br/>&gt;<br/>&gt; So, I think I&#39;m stuck where I&#39;ve always been.<br/>&gt;<br/>&gt; Any ideas or suggestions welcome!<br/>&gt;<br/>&gt; Regards,<br/>&gt;<br/>&gt; Doug<br/>&gt;<br/>&gt;<br/>&gt;<br/>&gt; dhunt@ucar.edu<br/>&gt; Software Engineer<br/>&gt; UCAR - COSMIC, Tel. (303) 497-2611<br/>&gt;<br/>&gt; On Mon, 28 Nov 2011, Andreas J. Koenig wrote:<br/>&gt;<br/>&gt; On Mon, 28 Nov 2011 13:15:16 -0700 (MST), Doug Hunt &lt;dhunt@ucar.edu&gt;<br/>&gt;&gt;&gt;&gt;&gt;&gt;&gt; said:<br/>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br/>&gt;&gt;&gt;&gt;&gt;&gt;<br/>&gt;&gt; &gt; [...]<br/>&gt;&gt; &gt; provides:<br/>&gt;&gt; &gt; PDL::NetCDF:<br/>&gt;&gt; &gt; file: netcdf.pd<br/>&gt;&gt; &gt; version: 4.15<br/>&gt;&gt; &gt; [...]<br/>&gt;&gt; &gt; ------------------%&lt;----------**------------------------------**<br/>&gt;&gt; -----------<br/>&gt;&gt;<br/>&gt;&gt; &gt; Does this look right to you? If so, I&#39;ll submit this to CPAN and see<br/>&gt;&gt; &gt; what happens.<br/>&gt;&gt;<br/>&gt;&gt; Yes, this looks familiar to me, please try it out and complain<br/>&gt;&gt; immediately to me if it doesn&#39;t work.<br/>&gt;&gt;<br/>&gt;&gt; &gt; Thanks!<br/>&gt;&gt;<br/>&gt;&gt; You&#39;re welcome!<br/>&gt;&gt;<br/>&gt;&gt; --<br/>&gt;&gt; andreas<br/>&gt;&gt;<br/>&gt;&gt;<br/>&gt; ______________________________**_________________<br/>&gt; Perldl mailing list<br/>&gt; Perldl@jach.hawaii.edu<br/>&gt; http://mailman.jach.hawaii.**edu/mailman/listinfo/perldl&lt;http://mailman.jach.hawaii.edu/mailman/listinfo/perldl&gt;<br/>&gt;<br/><br/><br/><br/>-- <br/>Sent via my carrier pigeon.<br/><br/> http://www.nntp.perl.org/group/perl.cpan.discuss/2011/11/msg616.html Mon, 28 Nov 2011 20:56:49 +0000