Open 007scorpio opened 7 years ago
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 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.
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
Have this issue been resolved? @007scorpio @JavaRockstar
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 .
i get the error: mingw is not installed on your system.
yet i have it installed