Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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')" -- \ Rijndael.pm blib\lib\Crypt\Rijndael.pm \ lib/Crypt/Rijndael.pm blib\lib\Crypt\Rijndael.pm to undefined at C:/strawberry/perl/lib/ExtUtils/Install.pm 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.

Comment on compilation problem
Download Code
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 (Canon) 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.

    Cheers,
    Rob
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/Install.pm line 1208 make: *** [pm_to_blib] Error 2 E:\Applications\OS\Crypt-Rijndael-1.09>
        E:\Applications\OS\Crypt-Rijndael-1.09>make

        You need to run dmake, not make

        Cheers,
        Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://946668]
Approved by GrandFather
Front-paged by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2014-09-17 08:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (66 votes), past polls