Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Strawberry Perl 5.12.3, CPAN, make file problems (dmake.exe), DFSEP and backslash "\"

by jffry (Hermit)
on Dec 02, 2011 at 16:48 UTC ( [id://941373] : note . print w/replies, xml ) Need Help??


in reply to Strawberry Perl 5.12.3, CPAN, make file problems (dmake.exe), DFSEP and backslash "\"

My current action plan is to:

  1. Uninstall Strawberry Perl.
  2. Make sure C:\strawberry directory is gone.
  3. Clean up my PATH -- remove duplicates, strawberry references, stuff I don't recognize.
  4. Reinstall Strawberry Perl, making note of my installation options, if any.
  5. Try to install Net::SSH::Perl by running cpan Net::SSH::Perl.

If it still fails after that, I'll start looking at my make settings and cpan configuration as suggested by Anonymous, syphilis, and Eliya.

Thanks, All!

  • Comment on Re: Strawberry Perl 5.12.3, CPAN, make file problems (dmake.exe), DFSEP and backslash "\"

Replies are listed 'Best First'.
Re^2: Strawberry Perl 5.12.3, CPAN, make file problems (dmake.exe), DFSEP and backslash "\"
by jffry (Hermit) on Dec 02, 2011 at 23:10 UTC

    I performed my steps above and still have similar results.

    Writing Makefile for Math::PARI::libPARI Writing Makefile for Math::Pari dmake.EXE: Error: -- `C:\strawberry\perl\libConfig.pm' not found, and + can't be made ILYAZ/modules/Math-Pari-2.01080605.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Running make for T/TU/TURNSTEP/Net-SSH-Perl-1.34.tar.gz Has already been unwrapped into directory C:\strawberry\cpan\build\N +et-SSH-Perl-1.34-bzhIa4 CPAN.pm: Going to build T/TU/TURNSTEP/Net-SSH-Perl-1.34.tar.gz Warning: Prerequisite 'Math::Pari => 2.001804' for 'TURNSTEP/Net-SSH-P +erl-1.34.tar.gz' failed when processing 'ILYAZ/modules/Math-Pa ri-2.01080605.tar.gz' with 'make => NO'. Continuing, but chances to su +cceed are limited. dmake.EXE: Error: -- `C:\strawberry\perl\libConfig.pm' not found, and + can't be made TURNSTEP/Net-SSH-Perl-1.34.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible

    And here is my cleaned up path:

    C:\strawberry > echo %Path% C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\Sys +tem32\WindowsPowerShell\v1.0\;C:\Windows\System32\Empirum;C:\P rogram Files\Hummingbird\Connectivity\11.00\Accessories\;;C:\Program F +iles\SlikSvn\bin\;C:\Program Files\QuickTime\QTSystem\;C:\stra wberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\str +awberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\b in;C:\Program Files\PuTTY;C:\Users\jmm6ry\bin;C:\Program Files\GnuWin3 +2\bin
    I manually added the "strawberry" parts to my %PATH%. The installation did not do it for me. I installed from the MSI file, not a ZIP file.

    Now off to further investigation....

      Is 'nmake' anywhere to be found in your path ?
      If so, try removing it and see if that makes any difference.

      (Just enter nmake /? at the command prompt to check whether nmake is in the path.)

      Cheers,
      Rob

        No nmake to be found on this system. I searched my entire C: drive and only found that .lnk file, and I think that is some kind of saved search when I did a search for "nmake" in Explorer.

        C:\ > dir nmake*.* /s Volume in drive C has no label. Volume Serial Number is C85E-7FA1 Directory of C:\Users\myid\AppData\Roaming\Microsoft\Windows\Recent 2012-02-16 14:02 11,688 nmake.lnk 1 File(s) 11,688 bytes Total Files Listed: 1 File(s) 11,688 bytes 0 Dir(s) 89,554,558,976 bytes free C:\

        The C: drive is my only local disk. My D: drive is the DVD, and I have a network drive with nothing but two data files in it.

        Also, after firing up my command window, I trim the PATH down manually to just Strawberry Perl.

        C:\ > echo %PATH% C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin C:\ > nmake /? 'nmake' is not recognized as an internal or external command, operable program or batch file.

        Even with the complete PATH, I still don't have nmake in my path.

        C:\strawberry > nmake /? 'nmake' is not recognized as an internal or external command, operable program or batch file. C:\strawberry > echo %PATH% C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\Sys +tem32\WindowsPowerShell\v1.0\;C:\Windows\System32\Empirum;C:\P rogram Files\Hummingbird\Connectivity\11.00\Accessories\;;C:\Program F +iles\SlikSvn\bin\;C:\Program Files\QuickTime\QTSystem\;C:\stra wberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\str +awberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\b in;C:\Program Files\PuTTY;C:\Users\jmm6ry\bin;C:\Program Files\GnuWin3 +2\bin

        So at this point, there must be some other reason for my make file getting created for nmake instead of dmake.