Hi all, I have a CGI script running on a web server that works fine, until I add the Archive::Extract module. Then I get this error in the browser when loading the script:
dmake could not be found on the PATH. Please invoke it using the full +pathname: C:\Perl\site\bin\dmake.exe or put the Perl\site\bin directory on the PATH with: path C:\Perl\site\bin;%PATH%

C:\Perl\site\bin\dmake.exe is indeed in my path (first thing, in fact). Any idea what's causing this problem? I also have Archive::Zip which isn't causing the problem. Here's the top of my script:

#! /Perl/bin/perl use CGI; use CGI::Pretty; use CGI::Carp qw( fatalsToBrowser ); use POSIX; use File::Basename; use File::Copy; use File::Path; use File::Find; use Archive::Zip qw( :ERROR_CODES :CONSTANTS ); use Archive::Extract;

thanks


In reply to dmake not found by slugger415

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.