I have installed Maven on my Mac OSX Yosemite, maven -version on terminal displays the version. Initially I tried with brew even that was successful but it did not resolve the issue in XCode.
I am new to Mac OSX as well as XCode, so please step by step guide is much appreciated. I am not sure if any plugin is required to build the project
Building j2objc annotations
mvn generate-resources dependency:sources
make[1]: mvn: No such file or directory
make[1]: *** [/Users/salmansiddiqui/Documents/xcode/j2objc-0.9.4/java_deps/build_result/.maven_generate] Error 1
make: *** [java_deps_dist] Error 2
make: *** Waiting for unfinished jobs....
Wherever brew put the mvn executable, that path needs to be added to your PATH environment variable. Here is a StackOverflow answer that should help: How to modify PATH for Homebrew?. You'll probably need to log out and back in for the new path to be included. To verify your paths are set up correctly, in a Terminal window run "mvn -v", which displays the version and installation information. The j2objc build should work once "mvn -v" works.
Related
I've faced an issue which I don't understand how to solve.
I use WebStorm on Windows. There I've installed Makefile Language plugin to launch commands automatically
install:
npm ci
brain-games:
node bin/brain-games.js
publish:
npm publish --dry-run
lint:
npx eslint
but I cannot do that, it returns error
C:\ProgramData\chocolatey\bin\make.exe -f *way-to-the-project*/Makefile publish
process_begin: CreateProcess(NULL, npm publish --dry-run, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [*way-to-the-project*/Makefile:6: publish] Error 2
I've tried to run 'make' commands using Powershell and Ubuntu from Microsoft Store and it has worked well, I just cannot understand what is the problem with the plugin and how to use it properly.
Please help me with any advice :)
If you have the issue like this one when you use WebStorm on Windows and try to run Makefile, make sure that in IDE you don't have checked option Add 'node_modules/.bin' from the project root to %PATH% in File -> Settings -> Tools -> Terminal.
Maybe it will save hours for you :)
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.
I was going to install the OpenBLAS on Mac OS but seems failed at the end.
First I downloaded the source and extracted that and then input the 'make' commands on terminal. However, I cannot run 'make install' after it, where it shows
make: *** No rule to make target `install'. Stop.
. The OpenBLAS installation seems not finished. What should I do? Thanks.
I downloaded Yaws 1.98, but when executing ./configure && make if fails with the message provided below:
gcc -c -g -O2 -I/usr/include/security -m64 -I/usr/include/pam -DHAVE_SENDFILE -I"/usr/local/lib/erlang/usr/include" -I/usr/include/pam/ epam.c
epam.c:2:10: fatal error: 'pam_appl.h' file not found
#include <pam_appl.h>
^
1 error generated.
make[1]: *** [epam.o] Error 1
make: *** [all] Error 1
Any suggestions on how to solve this? is there any other way I can run the latest version of Yaws on Mac OS X 10.9?
The pam_appl.h include file is normally found in /usr/include/security on OS X 10.6 and higher, and that's installed as part of the Command Line Tools installation. Normally you would run sudo xcode-select --install from your Terminal command line to install the command line tools, but that sometimes fails — see Failed to install command line tools on OSX Mavericks for details and workarounds. Of course, you can always download the command line tools install package from Apple's Developer site (registration required).
Since your error message shows you already have gcc, be aware that it's also installed as part of the command line tools installation.
This shows that pam development library is not available in you mac OS for YAWS to get compiled successfully.
I do not have experience in installing pam-devel in mac but on unix based machine yum install pam-devel would help me installing. Please check if something helps here http://www.webmin.com/udownload.html
I am trying to compile an open source program on Mac OSX and getting stuck trying to get the build configured. I have autoconf version 2.63 installed but trying to do reconfigure I get this error "aclocal.m4:14: error: this file was generated for autoconf 2.61." and "you should regenerate the build system entirely".
I researched this as best I could and most seemed to imply automake should be able to regenerate itself using the autoreconf command. Autoreconf fails as well with the exact same message.
Things I've tried: remaking and reinstalling the autoconf package, remaking and reinstalling the m4 package, running the above commands as root instead of as a user.
Anyone have any ideas?
Thanks,
- Mike
Look for script like autogen.sh, they usually contain the right order of tools to run.
In this case the problem seems to be aclocal