I have some demos that I downloaded and they come with a Makefile.win and a Makefile.sgi. How can I run these in Windows to compile the demos?
SOLUTION 1 :
If you have Visual Studio, run the Visual Studio Command prompt from the Start menu, change to the directory containing Makefile.win
and type this:
MySQL Community on Slack; Install Windows. Building mysqlclient on Windows is very hard. But there are some binary wheels you can install easily. MacOS (Homebrew) Install MySQL and mysqlclient: # Assume you are activating Python 3 venv $ brew install mysql $ pip install mysqlclient If you don't want to install MySQL server, you can use mysql. The new mysql@5.7 version 5.7.24 couldn't work because the some config reference was kept linked to the old mysql instead of the new brew Cellar mysql@5.7 Keg. So thanks I try this later – KeitelDOG Dec 28 '18 at 21:12. I've recently been working on a few of our older websites with newer MySQL installations and am coming across the following error: SQLSTATEHY000: General error: 1364 Field 'deliveryaddressid' doesn't have a default value This is caused by MySQL having a strict mode set which won't allow INSERT or UPDATE commands with empty fields where the schema doesn't have a default value set. Brew mysql config. $ brew update && brew install mycli # Only on macOS or $ sudo apt-get install mycli # Only on debian or ubuntu Usage $ mycli -help Usage: mycli OPTIONS DATABASE A MySQL terminal client with auto-completion and syntax highlighting.
- #!bin/sh: VERSION= ' v3.0.9 ' ADVISORY= ' This script should be used for authorized penetration testing and/or educational purposes only. Any misuse of this software will not be the responsibility of the author or of any other collaborator.
- I was facing a similar issue in a Cloud Datalab docker image running on a gcloud VM. Executing the following fixed the issue for me: $ sudo apt install msttcorefonts -qq $ rm /.cache/matplotlib -rf Here is instructions on how to get to the docker image running on the gcloud VM containing the Datalab instance just in case.
- Using legacy setup.py install for future, since package 'wheel' is not installed ERROR: pyejabberd 0.2.11 has requirement enum341.1.2, but you'll have enum34 1.1.10 which is incompatible. To fix this issue now run the command: pip freeze grep enum34.
Gcloud auth configure-docker Login to gcloud for use the registry and auth the permission. Gcloud auth login Track your Laradock changes. Fork the Laradock repository. Use that fork as a submodule. Commit all your changes to your fork. Pull new stuff from the main repository from time to time. Improve speed on MacOS.
You can also use the normal command prompt and run vsvars32.bat (c:Program Files (x86)Microsoft Visual Studio 9.0Common7Tools for VS2008). This will set up the environment to run nmake and find the compiler tools.
SOLUTION 2 :
Check out cygwin, a Unix alike environment for Windows
SOLUTION 3 :
Check out GnuWin's make, which provides a native port for Windows (without requiring a full runtime environment like Cygwin)
SOLUTION 4 :
Here is my quick and temporary way to run a Makefile
- download make from SourceForge: gnuwin32
- install it
- go to the install folder
C:Program Files (x86)GnuWin32bin Extract rar file macos.
- copy the all files in the bin to the folder that contains Makefile
libiconv2.dll libintl3.dll make.exe
- open the cmd(you can do it with right click with shift) in the folder that contains Makefile and run
make.exe
done.
Plus, you can add arguments after the command, such as
make.exe skel
SOLUTION 5 :
With Visual Studio 2017 I had to add this folder to my Windows 10 path env variable:
There's also HostX86
SOLUTION 6 :
If it is a 'NMake Makefile', that is to say the syntax is compatible with NMake, it will work.
Osx Install Gcloud Software
Often standard Linux Makefiles are provided and NMake
looks promising. However, the following link takes a simple Linux Makefile and explains some fundamental issues that one may encounter.
SOLUTION 7 :
Firstly, add path of visual studio common tools (c:Program Files (x86)Microsoft Visual Studio 14.0Common7Tools
) into the system path. To learn how to add a path into system path, please check this website:http://www.computerhope.com/issues/ch000549.htm. You just need to this once.
After that, whenever you need, open a command line and execute vsvars32.bat
to add all required visual studio tools' paths into the system path.
Mac Install Gcloud Cli
Then, you can call nmake -f makefile.mak
PS: Path of visual studio common tools might be different in your system. Please change it accordingly.
SOLUTION 8 :
Maybe you can try NetBeans IDE.
SOLUTION 9 :
If you install Cygwin. Make sure to select make in the installer. You can then run the following command provided you have a Makefile.
Label : tag_windowstag_makefile