I am trying to install latest version of git on VDS server using the tutorial on this website . According to the tutorial makefile must be installed. But when I run sudo make install the error ":1 *** missing seperator. Stop." is popping up.
My make file:
make configure
./configure --prefix=/usr/local
Related
I'm got this error after running this command: ./scripts/cargo-install-all.sh .
error: failed to run custom build command for `prost-build v0.10.1`
I'm installing solana on m1 mac
Anyone please help me with this.
The prost-build crate compilation is failing because it can't find protocol-buffer implementation, and the crate build.rs tries to compile it via cmake (which you don't have installed).
I solved it by installing protocol-buffers directly, but since there are problems with the pre-compiled binary in M1 you have to compile it locally. It's simple:
git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
brew install autoconf
brew install automake
brew install Libtool
autoreconf -i
./autogen.sh
./configure
make
make check
sudo make install
export PATH=/opt/usr/local/bin:$PATH
This works!!!
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 understand that in order to develop ejabberd module I must be able to compile it from the source.
I have FreeBSD 11.0-RELEASE-p9, as a guest OS on a VirtualBox. So the followings are my attempts.
Using git, I clone the source to /usr/local/ejabberd as:
I run the following commands:
git clone git://github.com/processone/ejabberd.git ejabberd
cd ejabberd
./autogen.sh
./configure --enable-user=ejabberd --enable-mysql
gmake install
But I have the following error:
Compiling /usr/local/ejabberd/deps/fast_yaml/c_src/fast_yaml.c
/usr/local/ejabberd/deps/fast_yaml/c_src/fast_yaml.c:18:10: fatal error: 'yaml.h' file not found
ERROR: compile failed while processing /usr/local/ejabberd/deps/fast_yaml/:rebar_abort
Fyi, I have installed libyaml-0.1.7 using ports - I guess successully?
Any tips/advise.
Thank you.
You can take a look at what FreeBSD port does: it passes -I/usr/local/include into CFLAGS when running make. There are also a bunch of patches for ejabberd, that are applied before compilation.
If you want to compile development version from source, you can try first running make -C /usr/ports/net-im/ejabberd extract and then putting sources from git into /usr/ports/net-im/ejabberd/work directory. Then running make -C /usr/ports/net-im/ejabberd install should install development package.
I'm trying to build grpc from source on Windows 2012 Server edition. I downloaded and installed Python 3.5 from the Python website and installed the entire MinGW package as well as git along with git bash. Following the instructions for building from source:
$ git clone https://github.com/grpc/grpc.git
$ cd grpc
$ git submodule update --init
$ make
$ [sudo] make install
I get the aforementioned error after executing make. Here's the shell output for your perusal.
PS C:\Users\thunderboltsid\grpc> make
[MAKE] Generating /c/Users/thunderboltsid/grpc/libs/opt/pkgconfig/grpc.pc
[MAKE] Generating /c/Users/thunderboltsid/grpc/libs/opt/pkgconfig/grpc_unsecure.pc
[MAKE] Generating cache.mk
[C] Compiling third_party/zlib/adler32.c
make.exe": no_c_compiler: Command not found
make.exe": *** [/c/Users/thunderboltsid/grpc/objs/opt/third_party/zlib/adler32.o] Error 127
I really can't understand what is this error supposed to be. Tried googling but that didn't help. Any input will be appreciated.
you may need run apt-get install which
install build-base in your system, example:
apt-get install build-base
You may simply have no C compiler installed, not even gcc. If that's the reason then installing gcc resolves the issue:
apt get install gcc
I followed the steps on https://forums.openshift.com/ffmpeg but when performing make install I got this error:
INSTALL doc/ffmpeg.1
INSTALL doc/ffprobe.1
INSTALL doc/ffserver.1
INSTALL doc/ffmpeg-all.1
INSTALL doc/ffprobe-all.1
INSTALL doc/ffserver-all.1
INSTALL doc/ffmpeg-utils.1
INSTALL doc/ffmpeg-scaler.1
INSTALL doc/ffmpeg-resampler.1
INSTALL doc/ffmpeg-codecs.1
INSTALL doc/ffmpeg-bitstream-filters.1
INSTALL doc/ffmpeg-formats.1
INSTALL doc/ffmpeg-protocols.1
INSTALL doc/ffmpeg-devices.1
INSTALL doc/ffmpeg-filters.1
INSTALL doc/libavutil.3
INSTALL doc/libswscale.3
INSTALL doc/libswresample.3
INSTALL doc/libavcodec.3
INSTALL doc/libavformat.3
INSTALL doc/libavdevice.3
INSTALL doc/libavfilter.3
/var/lib/openshift//python//bin/install: line 10: version: unbound variable
make: *** [install-man] Error 1
And It's the install file(which gives error):
#!/bin/bash -eu
source $OPENSHIFT_CARTRIDGE_SDK_BASH
case "$1" in
-v|--version)
version="$2"
esac
echo "$version" > ${OPENSHIFT_PYTHON_DIR}env/OPENSHIFT_PYTHON_VERSION
mkdir -p ${OPENSHIFT_PYTHON_DIR}template
# Call the version specific install script
exec ${OPENSHIFT_PYTHON_DIR}usr/versions/${version}/bin/install $version
So what is the problem ? And how can I solve it?
thanks
/var/lib/openshift//python//bin/install is the bin/install script from the OpenShift Python cartridge, so I'm very confused why it's getting called from make install.
Are you using a Python cartridge? I suspect make could be incorrectly resolving the standard install command to your Python cartridge due to a bad PATH variable. In your OpenShift environment try
which install
and if you get anything other than /usr/bin/install then that's the problem. If you get the correct path here, then maybe the PATH when make calls install is messed up. Try to print the PATH at that point in the Makefile to see what's going on.
When i tried to compile FFMPEG from Source Code, I faced insufficient space issue in the gear. However, using the binary from the url "https://www.johnvansickle.com/ffmpeg/" works in openshift without any issue.
I am using the git based binary of 3.1.3 version and its working fine for me.
Hope this helps...