<?xml version="1.0" encoding="windows-1252"?>
<node id="24256" title="difficulty using CPAN.pm" created="2000-07-25 08:24:25" updated="2005-07-28 07:46:03">
<type id="115">
perlquestion</type>
<author id="14909">
ybiC</author>
<data>
<field name="doctext">
I'm finally stepping beyond the Perl standard distribution into the promised land of CPAN. &amp;nbsp; Or trying to, anyway - problems with &lt;i&gt;make&lt;/i&gt; stop me dead in my tracks.

&lt;p&gt;
Found &lt;i&gt;perl -MCPAN -e shell;&lt;/i&gt; syntax at [Aighearach]'s good post &lt;a href="index.pl?node_id=14036"&gt;My Favorite Module:CPAN&lt;/a&gt;, and got through FirstTime questions with only minor confusion. &amp;nbsp; But when I try to install any module or even to upgrade CPAN, the following errors result &amp;#040;after LWP loads and fetches&amp;#041;:
&lt;code&gt;
Can't exec "/usr/bin/make":No such file or directory at -e line NNNN
/usr/bin/make -- NOT OK
Running make test
Oops, make had returned bad status.
&lt;/code&gt;

Jump back to &amp;quot;Favorite Module CPAN&amp;quot; post, which suggests the following action: &lt;i&gt;&amp;quot;If &lt;b&gt;make test&lt;/b&gt; fails, you can probably go to $HOME/.cpan/build and &lt;b&gt;make install&lt;/b&gt;&amp;quot;&lt;/i&gt;. &amp;nbsp; A few different variations on that all gen this error: &lt;tt&gt;*** No rule to make target `install'. Stop.&lt;/tt&gt; &amp;nbsp;

&lt;p&gt;
PM search for CPAN turns up these nodes and more, but no answers.
&lt;br&gt;&lt;a href="index.pl?node_id=1099"&gt;perlman:lib:CPAN&lt;/a&gt;
&lt;br&gt;&lt;a href="index.pl?node_id=1281"&gt;perlman:CPAN::FirstTime&lt;/a&gt;
&lt;br&gt;&lt;a href="index.pl?node_id=796"&gt;What's MakeMaker?&lt;/a&gt;

&lt;p&gt;
Can you tell I'm frazzled - even left the Monastery to search &lt;a href="http://www.deja.com/qs.xp?QRY=No+rule+to+make+target&amp;DBS=1&amp;OP=dnquery.xp&amp;maxhits=100&amp;LNG=english&amp;defaultOp=and&amp;showsort=score"&gt;Deja.com&lt;/a&gt; and struck out. &amp;nbsp;&amp;nbsp;&amp;lt;grin&amp;gt;

&lt;p&gt;
System I'm working on is
&lt;br&gt; * Perl 5.00404
&lt;br&gt; * Debian 2.1
&lt;br&gt; * &lt;i&gt;not&lt;/i&gt; behind firewall or proxy.
&lt;br&gt; * &lt;tt&gt;/usr/bin/make&lt;/tt&gt; v3.77

&lt;p&gt;
I humbly request illumination and edification from Wiser Monks Than I&lt;font size="-7"&gt; &amp;#040;TM&amp;#041;&lt;/font&gt;
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cpan-impaired,
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[ybiC]</field>
</data>
</node>
