Hi all.

Thanks for the help. Anonymous Monk, you're right ;)
I am now able to compile C/C++ programs and run perl code *except* if the code contains the system command, e.g.
system("dir");

This results in the same message as my original post. I am starting to think the MinGW suite is causing a problem but I don't know enough about MSYS to make an accurate diagnosis. My path looks like the following:

C:\;C:\perl\bin;C:\perl\site\bin;C:\MinGW\bin;...
I am completely at a loss as far as how to proceed. Any suggestions would be most welcome! I solved the initial problem by deleting nearly all perl files in the root directly, e.g., perl5.8.8.exe, etc. since I am running 5.16.3. I can only hypothesize that the MinGW and/or MikTex installer copied several problematic files to the root folder and I simply haven't been able to isolate which one(s) they are.

I foolishly deleted a file called msys-1.0.dll from my C:\ drive then copied the same file from the 'mingw' install directly, but the problem remains.

Thanks,

Cathy

In reply to Re^3: Perplexing message on command line. by Anonymous Monk
in thread Perplexing message on command line. by Anonymous Monk

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.