aegidel has asked for the wisdom of the Perl Monks concerning the following question:

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

Replies are listed 'Best First'.
Re: CPANPLUS make for deb arch always fails
by Anonymous Monk on Jan 15, 2011 at 21:17 UTC
      Hi AnonymousMonk,

      thanks for the link. Could you pinpoint that? As reading through all resolved and current bugs hasn't helped me yet. I know about some difficulties about ModNames with underscores and some more (cf id 47388) but even sifting through that code doesn't solve my issue. Also, no hits on "site_install" and "pure_perl" || "pure_perl" and "perl_install" on RT.

      any hints? thx