in reply to dmake error on portable Strawberry
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?
- Extract strawberry portable ZIP into e.g. c:\myperl\
Note: choose a directory name without spaces and non us-ascii characters- Launch c:\myperl\portableshell.bat - it should open a command prompt window
- 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 ...
- 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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: dmake error on portable Strawberry
by swl (Prior) on Sep 15, 2018 at 22:25 UTC |