t/7-check-dynaloader............................NOK 1# Failed test + (t/7-check-dynaloader.t at line 27) t/7-check-dynaloader............................NOK 2# Failed test + (t/7-check-dynaloader.t at line 32) # got: undef # expected: '/usr/lib/perl5/5.8.0/i386-linux-thread-multi/' # Looks like you failed 2 tests of 2. t/7-check-dynaloader............................dubious Test returned status 2 (wstat 512, 0x200) Scalar found where operator expected at (eval 158) line 1, near "'int' + $__val" (Missing operator before $__val?) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay
Any ideas? I get this error with 0.83 and 0.84.

Update: Actually I think I have an XY problem here. I was originally trying to build perl-ldap using cpan2rpm and it was hanging. I looked at the script that hung and guessed (wrongly) that I needed to install Module::Install because the script started with use inc::Module::Install;. That's how I got started trying to install Module::ScanDeps.

The cause of the hang was that cpan2rpm doesn't play nice with Module::Install's auto_install_now() because Makefile.PL is run in the background. In my environment (VMware host-only network w/o Internet connection) auto_install_now() goes into an infinite loop because I don't have CPAN set up and it keeps asking for a MIRRORED.BY URL and getting EOF. I'm using cpanflute2 from RPM::Specfile now and it doesn't have that problem. Is that the preferred tool for converting Perl modules to RPMs?

I was getting a lot of dependency failures trying to install cpanflute2 packages until I added the "--noperlreqs" option. Now I still get dependency failures on perl(perl). Is there a way to turn that off also? I sent a patch to the RPM::Specfile maintainer to create dependencies on perl instead of perl(perl).

perl 5.8 taints $0??? OK, I can handle that with Cwd::abs_path() and a regex. Confusing if you're not expecting it, though.

In reply to cpan2rpm replacement [was: Module::ScanDeps test failure] by jdalbec

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.