Unable to `make` on CygWin - bash

I am trying to do a configure-make-make install using Cygwin on my Windows 7 32 bit machine. I have checked, and I have the make package installed (version 4.1-1).
I am able to configure using ./configure --prefix=/home/user/myfolder. Next when I run the make command, I get the following: -bash: make: command not found. I am unable to figure out if this is due to the ./configure not executing properly, or it has something to do with my make package. How do I find out which it is? Does ./configure create an output file at the location prefix=/home/user/myfolder? If so, what is the extension of this file (.in? .am?)? Is there a way to manually point the make command to a file?

Related

bazel windows patch: command not found

I followed the Installing Bazel on Windows, and everything work but the patch. I get the following error
/usr/bin/bash: line 1: patch: command not found.
I installed msys64 in C:\dev\msys64, and added C:\dev\msys64\usr\bin to my PATH. Bazel work fine, but when I open C:\dev\msys64\usr\bin\bash.exe and I type patch, the command is not found.
If I open mingw32.exe, mingw64.exe or msys2.exe, and type "patch" it works. it is well installed. I tried to reinstall it many time. but still the bash.exe does not have the patch command.
I used the following command pacman -S zip unzip patch diffutils git. Everything seems to be well installed.
The error occurs when building the rules_go, specifically the following element wrapper

Make install fails macOS Catalina

I am trying to install OpenCV to use in C++ on my macOS Catalina using the tutorial here: https://www.learnopencv.com/install-opencv-4-on-macos/ . However, near the end when I have to run make install
I get an error saying
Install the project...
-- Install configuration: "RELEASE"
CMake Error at cmake_install.cmake:36 (file):
file cannot create directory: /installation/OpenCV-/share/licenses/opencv4.
Maybe need administrative privileges.
make: *** [install] Error 1
I tried running as root with:
sudo make install
However I get the same error.
I also tried changing the CMAKE_INSTALL_PREFIX to another folder I created which I was the owner of, however this did not work either.
What could I do to make the installation successful?
Thank you.

Make on windows

I am trying to run the make command on windows 10. Downloaded the make setup from here and installed it on my system.
I am trying to compile the git-subrepo library but not able to do so.
I get the following error
> make
process_begin: CreateProcess(NULL, which git, ...) failed.
makefile:3: *** 'git' is not installed on this system. Stop.
Git is installed on the system.
> git --version
git version 2.17.0.windows.1
I have never used make before. Sorry, if this is a silly thing I am asking.

how to invoke autogen on cygwin terminal to generate ./configure

I want to build configuration files using ./configure which is missing in downloaded software project(here: xerces-c-3.1.1-x86_64-linux-gcc-3.4).
Hence I want to use autogen(On cygwin terminal should I use autogen.sh or autogen.exe). What is the correct path of autogen.sh that is used to generate ./configure. When I give command autogen.sh this shows output...
bash: autogen.sh: command not found
Am I missing something?

compiling ragel on mavericks

I have downloaded ragel source code and trying to compile it.
I am not able to configure it. getting following error on running
./configure --prefix=PREFIX
-bash: ./configure: No such file or directory
I have download all necessary command line compilation tools. not sure what is missing.
It's much easier to use MacPorts. So after installation:
$ sudo port install ragel
and it will take care of downloading dependencies, and will already know how to configure the project.

Resources