how to install the "Make" command in Windows - linux

I have been trying to install the command "make" in Windows but I couldn't.
I tried with cygwin and GNU, but I think I am making something wrong somewhere.
Can anyone give me some detailed steps please !

make is available as package in cygwin. It is not one of the base package so you need to require setup to install it.
See User Guide at:
https://cygwin.com/cygwin-ug-net/setup-net.html#setup-packages

Related

Electron build for windows shows sqlite3 error. But same build for Ubuntu Works

Packed using: Electron-Packager
Database: sqlite
The app uses Knex as a driver to query to mysqlite.
The module which it says that it cannot find is already present! But then too the error shows up.
I tried to navigate to the resource/app and then use commands like
npm run rebuild
tried installing python, node and then tried but seems like it required some CL.exe file so had to dowload Visual Studio C++ packages too but unfortunately it didn't have that file in my case.
Also tried
npm install sqlite3 --build-from-source
but got error
Can anyone help me with the exact steps to take? I also need help in knowing do i have to take this steps on the package that is already build or before i build it?
The best possible fix i got is the build the system in windows and then deploy it for windows. You need to google at every step where it breaks and then fix it. There are many possibilities and hence i cannot describe it here.

Cygwin make package

I am trying to run android ndk-build command in the cygwin terminal.
When I do it is telling me ...
ERROR: Cannot find 'make' program. Please install Cygwin make package
or define the GNUMAKE variable to point to it.
The thing is, I believe I have all the cygwin packages installed. And other topics have suggested running installing and being sure to check the devel>make option as a package. Porblem is, is that there seems to be no make option in the devel package folder.
Does anyone have any insight on this?
NDK comes with its own make, the copy that comes with cygwin has quite a few incompatibilities. You don't need cygwin at all to run the latest versions of NDK (since r6, IIRC). I usually run ndk-build.cmd in a CMD window where cygwin is not on the PATH.

Error setting up ddd to debug bash scripts

I am comparatively new to Linux. I am running Fedora 64 bit at my PC. I am having difficulty setting up ddd with bashdb. I am able to install it using yum but when I run it for bashdb, the software environment for ddd comes up but it keeps on working for infinite time, unless I manually kill it.
I used google to know what the problem is and came to know many people are having same problem, when using linux's package installers. It has bugs so I have to compile the latest source and install it manually. So I downloaded the source and tried to ./configure, it produced the following error and exited:
configure: error: Cannot find termcap compatible library
I searched again and found out I need termcap library at my PC, here:
https://lists.gnu.org/archive/html/bug-ddd/2013-01/msg00004.html
http://www.cplusplus.com/forum/unices/58299/
I used yum to install ncurses but found out it is already installed. Used locate to find the path of ncurses and passed it to configure using following commands:
sudo ./configure --with-termlib-libraries=/lib/libncurses.so.5
sudo ./configure --with-termlib-libraries=/lib/libncurses.so.5.9
Still, I am having the same error.
It is very frustrating because I have tried almost everything I found on internet. May be, there is a minor point that I am overlooking due to my inexperience. My main concern is to be able to debug complex bash scripts that I am going to develop in near future. I am not very comfortable with command line debugging i.e. without an interface. Any tips/advice that, can get me going with debugging with some other application may be, are also welcomed
I installed the ncurses development package to get past this problem:
sudo yum install ncurses-devel*

Installing gearman on windows 7 through cygwin and get "configure: error: Unable to find libevent"

I'm a newbie trying to install gearman on windows through cygwin using the tutorial here: http://www.phpvs.net/2010/11/30/installing-gearman-and-gearmand-on-windows-with-cygwin/
I need to install gearman to develop on my windows 7 laptop.
I've installed libevent in my C:\cygwin\libeventInstall directory but when I do a ./configure on gearman it gives me the error: configure: error: Unable to find libevent
I've read that I need to install libevent-devel. I don't know what libevent-devel is and how I go about installing it through cygwin. I've found a bunch of .rpm install files for libevent-devel but I don't think I can install that on windows. I've also found a libevent-devel-2.0.11-1.tar.bz2 but it contains a bunch of header files and no configure file. There doesn't seem to be any documentation on exactly how to install libevent-devel on cygwin.
Been stuck for a few days. Any pointers would be helpful. Thanks!
You need to build LibEvent, it is not included in Cygwin. I haven't tried this, but a google search led to the following instructions:
you need
http://win6.jp/Cygwin/cygwin-1.5.25-15-ipv6-0.22.zip
http://monkey.org/~provos/libevent-1.4.9-stable.tar.gz
unpack cygwin-1.5.25-15-ipv6-0.22.zip into you cygwin folder about this files read site http://win6.jp/Cygwin/
in libevent http.c file add line ---> #define EAI_SYSTEM 11
now install libevent
./configure
make
make install
I also found this SO thread interesting since the Libevent devs were commenting.
Gave up on using cygwin. Tried a reinstalling libevent as per the above and re-running gearman ./configure and the "configure: error: Unable to find libevent" persists.
Took James Butler's advice and am using virtualbox instead. Thanks.

Node JS ./configure + make fails unable to remap python lib-dynload/itertools.dll to same address as parent

This might be more of a CYGWIN question than a Nodejs but here goes.
I installed Cygwin yesterday and on the packages selection I just clicked next as it looked like most were pre-selected, and then today read this guide http://boxysystems.com/index.php/step-by-step-instructions-to-install-nodejs-on-windows/ on installing nodejs.
The ./configure had an error that it was unable to remap python lib-dynload/itertools.dll to same address as parent. As the process still completed I tried the make command, but it fails on the same error.
So, I opened cygwin setup.exe and this time I clicked the source checkbox for all the Python packages. But still get the same error. Should I now go to Cygwin and check all the source packages for the Make packages, delete it and reinstall from scratch using the above guide. Or something else?
Any help gratefull received/
Use the official 0.5.x windows build from http://nodejs.org/#download - you just have to download a .exe file and you can start it.
Versions 0.5.X have problems with Cygwin and because of developing clean Windows version Cygwin environment is now unsupported. Stable version 0.4.12 builds on Cygwin with no problems. If you want to use node.js unstable 0.5.X branch on Windows use windows build at official node.js site.
check this out:
https://github.com/joyent/node/wiki/Building-node.js-on-Cygwin-(Windows)
Update Sept 1, 2011 -- as of today, v0.5.5 does not build on Cygwin (errors on make). Use v.0.5.4 (ie. follow instructions below and use "git checkout v0.5.4".
https://github.com/joyent/node/wiki/API-changes-between-v0.4-and-v0.6
Cygwin build is no longer supported. Use native windows builds instead.

Resources