MINGW INSTALLATION #1

Open
opened 2017-04-30 04:59:49 +02:00 by 007scorpio · 5 comments
007scorpio commented 2017-04-30 04:59:49 +02:00 (Migrated from github.com)

i get the error: mingw is not installed on your system.

yet i have it installed

i get the error: mingw is not installed on your system. yet i have it installed
z0noxz commented 2017-04-30 11:58:53 +02:00 (Migrated from github.com)

I guess the message you refer to is the one on line 823. This is the result of the checks:
if (not which("i686-w64-mingw32-gcc")) or (not which("x86_64-w64-mingw32-gcc")):
Which checks for the binary in any of the paths of the $PATH environment variable (may differ between users). The 'which' I written should be somewhat "equal" to running the 'which' program in the terminal.

What is your output for this terminal command?:

which i686-w64-mingw32-gcc x86_64-w64-mingw32-gcc

Mine is:

/usr/bin/i686-w64-mingw32-gcc
/usr/bin/x86_64-w64-mingw32-gcc

I guess the message you refer to is the one on line **823**. This is the result of the checks: `if (not which("i686-w64-mingw32-gcc")) or (not which("x86_64-w64-mingw32-gcc")):` Which checks for the binary in any of the paths of the $PATH environment variable (may differ between users). The 'which' I written should be somewhat "equal" to running the 'which' program in the terminal. What is your output for this terminal command?: > which i686-w64-mingw32-gcc x86_64-w64-mingw32-gcc Mine is: > /usr/bin/i686-w64-mingw32-gcc > /usr/bin/x86_64-w64-mingw32-gcc
JavaRockstar commented 2017-05-03 11:24:07 +02:00 (Migrated from github.com)

I getting the same error is there an easy way to set the PATH manually at first it would not find mingw32 at all I then done a apt-get install it then found mingw32 in bin.

root@LinuxROCKSTAR:~# which i686-w64-mingw32-gcc x86_64-w64-mingw32-gcc
/usr/bin/i686-w64-mingw32-gcc

I still get the error when running the script does anyone know a fix thanks all.

I getting the same error is there an easy way to set the PATH manually at first it would not find mingw32 at all I then done a apt-get install it then found mingw32 in bin. root@LinuxROCKSTAR:~# which i686-w64-mingw32-gcc x86_64-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc I still get the error when running the script does anyone know a fix thanks all.
z0noxz commented 2017-05-03 12:24:34 +02:00 (Migrated from github.com)

JavaRockstar, is that the full output from the which-command? Because it seems that x86_64-w64-mingw32-gcc is still missing. If you run powerstager --help you should see an output containing:

Program dependencies:

  • i686-w64-mingw32-gcc (present)
  • x86_64-w64-mingw32-gcc (present)

for both mingw programs. If any one of the 2 is missing, PowerStager will prompt an error and exit.

Some links that could be useful:
http://mingw-w64.org/doku.php
https://sourceforge.net/projects/mingw-w64/
http://stackoverflow.com/questions/6632456/how-do-i-install-both-mingw32-and-mingw64-on-linux-or-macos

JavaRockstar, is that the full output from the which-command? Because it seems that `x86_64-w64-mingw32-gcc` is still missing. If you run `powerstager --help` you should see an output containing: >Program dependencies: > * i686-w64-mingw32-gcc (present) > * x86_64-w64-mingw32-gcc (present) for both mingw programs. If any one of the 2 is missing, PowerStager will prompt an error and exit. Some links that could be useful: http://mingw-w64.org/doku.php https://sourceforge.net/projects/mingw-w64/ http://stackoverflow.com/questions/6632456/how-do-i-install-both-mingw32-and-mingw64-on-linux-or-macos
z0noxz commented 2017-06-10 12:25:24 +02:00 (Migrated from github.com)

Have this issue been resolved? @007scorpio @JavaRockstar

Have this issue been resolved? @007scorpio @JavaRockstar
peterpt commented 2017-09-12 00:37:08 +02:00 (Migrated from github.com)

apt-get install mingw-w64 should solve his problem .
I notice that your script requires mingw32 and mingw-w64 to work , if one of them is missing then script will not work .
However not every repository have in apt repository the installation of ming with the name i wrote .
In kali repository , it is just needed " apt-get install mingw32" for 32bit mingw installation
and "apt-get install mingw-w64" for mingw 64bit installation .

Mingw 32 & 64bit exists in every linux apt distribution , but the call name to install them may be different from linux to linux .

apt-get install mingw-w64 should solve his problem . I notice that your script requires mingw32 and mingw-w64 to work , if one of them is missing then script will not work . However not every repository have in apt repository the installation of ming with the name i wrote . In kali repository , it is just needed " apt-get install mingw32" for 32bit mingw installation and "apt-get install mingw-w64" for mingw 64bit installation . Mingw 32 & 64bit exists in every linux apt distribution , but the call name to install them may be different from linux to linux .
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: public/powerstager#1