Oh Monks, oh my monks!

Seeking

wisdom on the following:

Trying to install any module with CPANPLUS fails with this error:

/usr/bin/make install DESTDIR=/home/aegidel/.cpanplus/5.10.1/build/HTM +L-Parser-3.68/debian/tmp PREFIX=/usr make[1]: Entering directory `/home/aegidel/.cpanplus/5.10.1/build/HTML +-Parser-3.68' make[1]: *** Keine Regel vorhanden, um das Target »pure_site«, benötigt von »pure_install«, zu erstellen. Schluss. make[1]: Leaving directory `/home/aegidel/.cpanplus/5.10.1/build/HTML- +Parser-3.68' make: *** [install-stamp] Fehler 2 dpkg-buildpackage: Fehler: Fehler-Exitstatus von fakeroot debian/rules + binary war 2

Running as user aegidel under sudo from ~aegidel. Running cpan2dist w/ standard settings on the source gives same error.

Changing INSTALLDIRS=site to INSTALLDIRS=perl in CPANPLUS::Config::System changes the error to "no rule found to build target 'pure_perl' needed by 'pure_install'", alas make doesn't build either.

perl: 5.10.1 on Debian 6
cpanplus: v. 0.9011
cpanplus::dist::deb: v. 0.12
module::build: v 0.340201
extutils::makemaker: v. 6.55_02
make: gnu make 3.81 (libc.2.11.2) on a 2.6.36-2.dmz.5-liquorix-68

Ah, sudoing with cpan shell works a charm, but i want those debian packages (o:

Gratefull for any help! I'm lost.. Thanks for looking into this.

chris

In reply to CPANPLUS make for deb arch always fails by aegidel

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.