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

How to install pp, Wx module in 64 bit windows7 system

by ckj (Chaplain)
on Jul 14, 2012 at 08:18 UTC ( #981782=perlquestion: print w/ replies, xml ) Need Help??
ckj has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, I'm fed up of getting the error messages that this module couldn't be installed for 64 bit. Modules like pp, Wx and many more where I am getting same error while installing through any way. Now if I install these modules in 32 bits, it's working fine. Can someone guide me that is there any short cut for these modules to install in 64 bit machine.
cpan> install pp Running install for module 'pp' Running make for R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz Checksum for C:\Perl64\cpan\sources\authors\id\R\RS\RSCHUPP\PAR-Packer +-1.013.tar .gz ok PAR-Packer-1.013/ PAR-Packer-1.013/myldr/ PAR-Packer-1.013/myldr/run_with_inc.pl PAR-Packer-1.013/myldr/encode_append.pl PAR-Packer-1.013/myldr/Dynamic.in PAR-Packer-1.013/myldr/sha1.c.PL PAR-Packer-1.013/myldr/boot.c PAR-Packer-1.013/myldr/winres/ PAR-Packer-1.013/myldr/winres/pp.ico PAR-Packer-1.013/myldr/winres/pp.rc PAR-Packer-1.013/myldr/winres/pp.manifest PAR-Packer-1.013/myldr/Makefile.PL PAR-Packer-1.013/myldr/env.c PAR-Packer-1.013/myldr/internals.c PAR-Packer-1.013/myldr/main.c PAR-Packer-1.013/myldr/file2c.pl PAR-Packer-1.013/myldr/usernamefrompwuid.c PAR-Packer-1.013/myldr/mktmpdir.h PAR-Packer-1.013/myldr/utils.c PAR-Packer-1.013/myldr/mktmpdir.c PAR-Packer-1.013/myldr/Static.in PAR-Packer-1.013/MANIFEST.SKIP PAR-Packer-1.013/contrib/ PAR-Packer-1.013/contrib/stdio/ PAR-Packer-1.013/contrib/stdio/Stdio_readme.txt PAR-Packer-1.013/contrib/stdio/Stdio.pm PAR-Packer-1.013/contrib/gui_pp/ PAR-Packer-1.013/contrib/gui_pp/gpp_readme.txt PAR-Packer-1.013/contrib/gui_pp/gpp PAR-Packer-1.013/contrib/pare/ PAR-Packer-1.013/contrib/pare/pare_readme.txt PAR-Packer-1.013/contrib/pare/pare PAR-Packer-1.013/contrib/procedural_pp/ PAR-Packer-1.013/contrib/procedural_pp/pp_old PAR-Packer-1.013/contrib/automated_pp_test/ PAR-Packer-1.013/contrib/automated_pp_test/automated_pp_test.pl PAR-Packer-1.013/contrib/automated_pp_test/hello_tk.pl PAR-Packer-1.013/contrib/automated_pp_test/hi.ico PAR-Packer-1.013/contrib/automated_pp_test/pipe_a_command.pm PAR-Packer-1.013/contrib/automated_pp_test/prior_to_test.pm PAR-Packer-1.013/contrib/automated_pp_test/remove_file_and_try_executa +ble_again. pm PAR-Packer-1.013/contrib/automated_pp_test/test_in_further_subdir.pm PAR-Packer-1.013/contrib/extract_embedded/ PAR-Packer-1.013/contrib/extract_embedded/extract-embedded.pl PAR-Packer-1.013/contrib/docs/ PAR-Packer-1.013/contrib/docs/where_is_it.txt PAR-Packer-1.013/contrib/docs/who_am_i.txt PAR-Packer-1.013/inc/ PAR-Packer-1.013/inc/Module/ PAR-Packer-1.013/inc/Module/Install.pm PAR-Packer-1.013/inc/Module/Install/ PAR-Packer-1.013/inc/Module/Install/Win32.pm PAR-Packer-1.013/inc/Module/Install/Makefile.pm PAR-Packer-1.013/inc/Module/Install/WriteAll.pm PAR-Packer-1.013/inc/Module/Install/PAR.pm PAR-Packer-1.013/inc/Module/Install/Fetch.pm PAR-Packer-1.013/inc/Module/Install/Include.pm PAR-Packer-1.013/inc/Module/Install/Metadata.pm PAR-Packer-1.013/inc/Module/Install/Can.pm PAR-Packer-1.013/inc/Module/Install/Base.pm PAR-Packer-1.013/script/ PAR-Packer-1.013/script/pp PAR-Packer-1.013/script/par.pl PAR-Packer-1.013/script/tkpp PAR-Packer-1.013/script/parl.pod PAR-Packer-1.013/t/ PAR-Packer-1.013/t/20-pp.t PAR-Packer-1.013/t/30-current_exec.t PAR-Packer-1.013/t/00-pod.t PAR-Packer-1.013/t/test-proc PAR-Packer-1.013/t/40-packer_cd_option.t PAR-Packer-1.013/t/90-rt59710.t PAR-Packer-1.013/t/10-parl-generation.t PAR-Packer-1.013/Makefile.PL PAR-Packer-1.013/package/ PAR-Packer-1.013/package/parl.nsi PAR-Packer-1.013/ChangeLog PAR-Packer-1.013/lib/ PAR-Packer-1.013/lib/PAR/ PAR-Packer-1.013/lib/PAR/Packer.pm PAR-Packer-1.013/lib/PAR/StrippedPARL/ PAR-Packer-1.013/lib/PAR/StrippedPARL/Base.pm PAR-Packer-1.013/lib/PAR/Filter/ PAR-Packer-1.013/lib/PAR/Filter/PodStrip.pm PAR-Packer-1.013/lib/PAR/Filter/Bleach.pm PAR-Packer-1.013/lib/PAR/Filter/PatchContent.pm PAR-Packer-1.013/lib/PAR/Filter/Bytecode.pm PAR-Packer-1.013/lib/PAR/Filter/Obfuscate.pm PAR-Packer-1.013/lib/PAR/Filter.pm PAR-Packer-1.013/lib/pp.pm PAR-Packer-1.013/lib/App/ PAR-Packer-1.013/lib/App/Packer/ PAR-Packer-1.013/lib/App/Packer/PAR.pm PAR-Packer-1.013/TODO PAR-Packer-1.013/MANIFEST PAR-Packer-1.013/README PAR-Packer-1.013/AUTHORS PAR-Packer-1.013/META.yml CPAN.pm: Going to build R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz It looks like you don't have a C compiler and make utility installed. + Trying to install dmake and the MinGW gcc compiler using the Perl Package Man +ager. This may take a a few minutes... ppm.bat install failed: Can't find any package that provides MinGW It looks like the installation of dmake and MinGW has failed. You wil +l not be able to run Makefile commands or compile C extension code. Please che +ck your internet connection and your proxy settings! Fetching 'PAR-Packer-1.013-MSWin32-x64-multi-thread-5.14.2.par' from w +ww.cpan.or g... Fetching failed: No compiler found, won't generate 'script/parl.exe'! The required 'nmake' executable not found, fetching it... Fetching 'Nmake15.exe' from download.microsoft.com...
Error pop up window says: Unsupported 16-bit Application : The program or feature "Nmake.exe" cannot start or run due to incompatibility with 64-bit versions of windows.

Comment on How to install pp, Wx module in 64 bit windows7 system
Download Code
Re: How to install pp, Wx module in 64 bit windows7 system
by marto (Chancellor) on Jul 14, 2012 at 08:21 UTC

    If you don't demonstrate the problems you are experiencing, how do you expect anyone to provide advice? How do I post a question effectively?

    Update: Please mark posts as being updated.

Re: How to install pp, Wx module in 64 bit windows7 system
by Anonymous Monk on Jul 14, 2012 at 08:42 UTC
Re: How to install pp, Wx module in 64 bit windows7 system
by syphilis (Canon) on Jul 14, 2012 at 08:51 UTC
    It looks like you don't have a C compiler and make utility installed

    Apparently you don't have a suitable C compiler installed for this build of perl - and, despite the advice to the contrary, you won't get one via ppm. (For 32-bit builds of ActivePerl you will but, alas, not for their 64-bit builds.)

    You can:
    a) install a 64-bit Microsoft Compiler and use it;
    or
    b) install a 64-bit build of MinGW, and then install ExtUtils::FakeConfig;
    or
    c) switch to a 64-bit build of Strawberry Perl (which comes with a 64-bit compiler).

    I guess there are other options - but those are the main ones, and the ones that come first to mind.

    Cheers,
    Rob
Re: How to install pp, Wx module in 64 bit windows7 system
by marto (Chancellor) on Jul 14, 2012 at 08:53 UTC

        "Only green checkmarks are available, meaning, its only available in 32-bit version"

        More accurately, only the 32bit version is available from ActivateState, which is why I provided cjk with this link as a reference. This is why I suggest they install the 64bit version themselves, or use a distribution which ships with it and linked to a thread where I previously pointed them towards Strawberry Perl.

        "Try Citrus GCC (mingw-w64) for Perl"

        I don't have this issue.

Re: How to install pp, Wx module in 64 bit windows7 system
by BrowserUk (Pope) on Jul 14, 2012 at 09:44 UTC
    Error pop up window says: Unsupported 16-bit Application : The program or feature "Nmake.exe" cannot start or run due to incompatibility with 64-bit versions of windows.

    That's as a result of CPAN (still!) stupidly insisting on installing an ancient and broken version of nmake that hasn't been usable to build perl for a decade or more:Fetching 'Nmake15.exe' from download.microsoft.com...

    What's worse, it will even do this when you actually do have a modern, working version installed and on the path! Simply because it can't find it. Which isn't surprising given that it looks in the stupidest places and doesn't look in the obvious ones.

    So, in the event that you actually do have a compiler correctly installed, it may be that all you need to do is hack the CPAN module to make it look in the right place for it.

    Or, skip that dratted module (and its ilk) and simply download the packages yourself and type the 4 short commands required to build, test & install them at the command line. (This is my preferred option, as it usually takes less time to do it myself, than CPAN takes to download the 70MB of worthless crap it insists on downloading everytime, before it'll even attempt to do anything.)


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      Error pop up window says: Unsupported 16-bit Application : The program or feature "Nmake.exe" cannot start or run due to incompatibility with 64-bit versions of windows.

      That's as a result of CPAN (still!) stupidly insisting on installing an ancient and broken version of nmake that hasn't been usable to build perl for a decade or more:Fetching 'Nmake15.exe' from download.microsoft.com...

      Unbelievable. Why not download a copy of dmake? I think the last time I tried, dmake can run a nmake syntax makefile since nmake is a very small subset of dmake's syntax.
        Why not download a copy of dmake?

        Personally, I think that would just muddy the waters. Whilst it would work for installing pure Perl modules, it would fall over again as soon as it requires a compiler. Better to simply not install anything, but rather point them at some url that will explain what is needed.

        The worst part of it is that it still does it even when you have a good version of nmake installed, because it insists of looking for it in some specific directory (/usr/bin or somewhere equally arbitrary and ridiculous). If it simple tried to invoke it and let the path find it, it would avoid breaking good installs.

        Of course, there is simply no point at all in downloading that ancient 16-bit tool that doesn't run under anything since 95/98/me, so I suppose dmake might get people started. You'd probably have to rename it to be nmake.exe though?


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

        The start of some sanity?

        I think the last time I tried, dmake can run a nmake syntax makefile

        That doesn't work for me - in relation to building perl modules, at least. I get the error:
        dmake: Error: -- `c:\_32\perl_vc7\5.10.0\libConfig.pm' not found, and + can't be made
        ExtUtils/MM_Win32.pm caters for this difference with:
        sub init_DIRFILESEP { my($self) = shift; # The ^ makes sure its not interpreted as an escape in nmake $self->{DIRFILESEP} = $self->is_make_type('nmake') ? '^\\' : $self->is_make_type('dmake') ? '\\\\' : '\\'; }
        Cheers,
        Rob
Re: How to install pp, Wx module in 64 bit windows7 system
by gri6507 (Deacon) on Jul 14, 2012 at 21:18 UTC
    To build on one of the earlier posts, I recommend that you switch from using whatever Perl distribution you currently have to Strawberry Perl. That distribution is shipped with the same version of the compiler that was used to build Perl in the first place. There is a 64-bit version, which means that you will natively be using the correct environment whenever you need to install (and compile) something using CPAN simply by running  perl -MCPAN -e "install My::Desired::Module"

      Actually here with me its impossible to install Wx, padre etc on Strawberry 5.16.2. There is no way getting it installed on the machine as it seems. The problem might actually be a pre-installed incompatible compiler coming with preinstalled visual studio components. But that in itself I cant imagine being the case. Tried on two diffent machines and in one I managed to install. Not on the other thoogh. Exact same procedure.

        ... didn't work ...

        And then?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2014-07-30 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (230 votes), past polls