Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

compilation problem

by jlnh (Novice)
on Jan 06, 2012 at 21:34 UTC ( #946668=perlquestion: print w/replies, xml ) Need Help??
jlnh has asked for the wisdom of the Perl Monks concerning the following question:

What's wrong?

========== C:\strawberry\perl\bin\perl.exe -MExtUtils::Install -e "pm_to_blib({{@ +ARGV}}, 'blib\lib\auto', q[], '755')" -- \ blib\lib\Crypt\ \ lib/Crypt/ blib\lib\Crypt\ to undefined at C:/strawberry/perl/lib/ExtUtils/ line 1208 make: *** [pm_to_blib] Error 2 E:\Applications\OS\Crypt-Rijndael-1.09>perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x +86-multi-thread ==========
Thanks for your help.

Replies are listed 'Best First'.
Re: compilation problem
by mbethke (Hermit) on Jan 06, 2012 at 23:25 UTC

    What I can think of right now:

    • You're not saying what you're trying to achieve. Does the standard module installation not work?
    • It's unclear what your ExtUtils::Install version is.
    • In my version, pm_to_blib wants source and destination as key and value respectively in a hashref passed as first argument. Your call has one set of curlies too much around @ARGV for that to work.
Re: compilation problem
by syphilis (Chancellor) on Jan 07, 2012 at 00:57 UTC
    make: *** [pm_to_blib] Error 2

    What command did you run to generate that (and the preceding) output ?
    We possibly need to see a bit more of what came before.

    Something is definitely not right. Crypt-Rijndael-1.09 builds fine for me with Strawberry Perl (portable), perl-5.14.2.

Re: compilation problem
by Anonymous Monk on Jan 07, 2012 at 01:27 UTC

    Do you have any autoruns configured?

    You need to show all output from perl Makefile.PL && dmake test

    after doing a  dmake realclean of course :)

      Yes, the installation with cpanm Module::Name is working properly.

      E:\Applications\OS\Crypt-Rijndael-1.09>perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Crypt::Rijndael Writing MYMETA.yml and MYMETA.json E:\Applications\OS\Crypt-Rijndael-1.09>make to undefined at C:/strawberry/perl/lib/ExtUtils/ line 1208 make: *** [pm_to_blib] Error 2 E:\Applications\OS\Crypt-Rijndael-1.09>

        You need to run dmake, not make


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://946668]
Approved by GrandFather
Front-paged by toolic
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-11-20 08:57 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (286 votes). Check out past polls.