Re: dmake error on portable Strawberry asks the right question: Which dmake are you running? Check with this one-liner:

C:\Users\alex>perl -E "say for grep -x,map qq[$_\\dmake.exe],split/;/, +$ENV{PATH}" C:\strawberry\c\bin\dmake.exe C:\Users\alex>

The first line contains the dmake that will run. If you want to run dmake from your flash stick (G:), then you should not see dmake in C:\strawberry as first entry. From the dmake error message, it looks like you invoked the dmake in C:\strawberry.

To use portable strawberry, you have to modify the environment. This is done by running portableshell.bat. See also the file README.txt in the top-level directory of the Strawberry-portable zip file. Relevant part:

How to use Strawberry Perl Portable?

  1. Extract strawberry portable ZIP into e.g. c:\myperl\
    Note: choose a directory name without spaces and non us-ascii characters
  2. Launch c:\myperl\portableshell.bat - it should open a command prompt window
  3. In the command prompt window you can:
    • run any perl script by launching
      c:\> perl c:\path\to\script.pl
    • install additional perl modules (libraries) from http://www.cpan.org/ by
      c:\> cpan Module::Name
    • run other tools included in strawberry like: perldoc, gcc, gmake ...
  4. If you want to use Strawberry Perl Portable not only from portableshell.bat, add c:\myperl\perl\site\bin, c:\myperl\perl\bin, and c:\myperl\c\bin to PATH variable

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

In reply to Re: dmake error on portable Strawberry by afoken
in thread dmake error on portable Strawberry by aplonis

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.