When I tried to install Octave (brew install octave --with-gui --HEAD) on OS X 10.11.2 I got this error:
==> ./configure --prefix=/usr/local/Cellar/octave/HEAD --enable-dependency-tracking --enable-link-al
==> make all DOC_TARGETS=
Last 15 lines from /Users/macbookpro/Library/Logs/Homebrew/octave/03.make:
GEN scripts/plot/util/gnuplot_binary.m
GEN doc/interpreter/contributors.texi
GEN etc/icons/octave-logo-256.png
./build-aux/missing: line 81: rsvg-convert: command not found
WARNING: 'rsvg-convert' is missing on your system.
You might have modified some files without having the proper
tools for further handling them. Check the 'README' file, it
often tells you about the needed prerequisites for installing
this package. You may also peek at any GNU archive site, in
case some other package contains this missing 'rsvg-convert' program.
make[2]: *** [etc/icons/octave-logo-256.png] Error 127
make[2]: *** Waiting for unfinished jobs....
Updating ./doc/liboctave/version-liboctave.texi
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Just install this lib:
brew install librsvg
Related
Running mac osx 10.14.6 and have previously successfully built 3.0.10 and 3.0.11. Trying to build VLC 3.0.12 & 3.0.14 from source downloaded from here: http://www.videolan.org/vlc/download-sources.html
and using recommended build from here: https://wiki.videolan.org/MacOSCompile/ AND using the recommended:
../extras/package/macosx/build.sh -c
Build runs for about 20 minutes and then stops here (snip of output):
CCLD libprefetch_plugin.la
CCLD libhds_plugin.la
CCLD librecord_plugin.la
ld: library not found for -lzstd
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libarchive_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
mysystem:build xx$
What am I missing or doing wrong?
Note: in previous builds I could find a cmake/Utilities/cmzstd/lib directory in vlc-3.0.x/extras/tools that had various zstd files however it is not there in either 3.0.12 or 3.0.14 - only a cmake-enable-ALPN-support-on-macOS-109.14.patch file.
Where do I find zstd? Thanks.
Seems the issue is related to how macOS and packagers (homebrew, etc.) load components. macOS provides a compiled version of libarchive but no headers, so you are unable in trying to compile. You will either need to pass the location of your libarchive respository with headers via your build script or set an environment variable telling the compiler or linker where to look for them. Perhaps someone more familiar with your VLC package can weigh in.
rbenv is not building any version of Ruby on my Mac (Big Sur), although I get different errors depending on the version I attempt to build. For example, the commands I used and their output are below:
simon#Simons-MBP ~ % time rbenv install 3.0.0
Downloading openssl-1.1.1i.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/e8be6a35fe41d10603c3cc635e93289ed00bf34b79671a3a4de64fcee00d5242
Installing openssl-1.1.1i...
Installed openssl-1.1.1i to /Users/simon/.rbenv/versions/3.0.0
Downloading ruby-3.0.0.tar.gz...
-> https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.0.tar.gz
Installing ruby-3.0.0...
ruby-build: using readline from homebrew
BUILD FAILED (macOS 11.2.1 using ruby-build 20210119)
Inspect or clean up the working tree at /var/folders/7x/tj7wsjgj4nl1g3h6sbjdrf8m0000gn/T/ruby-build.20210226164233.16496.FWB6V6
Results logged to /var/folders/7x/tj7wsjgj4nl1g3h6sbjdrf8m0000gn/T/ruby-build.20210226164233.16496.log
The last lines of the log file are as follows:
compiling inspector.c
-e:4:in `write': Interrupted system call # rb_sysopen - failure.failed (Errno::EINTR)
from -e:4:in `<main>'
make[2]: *** [failure.failed] Error 1
make[1]: *** [ext/-test-/cxxanyargs/all] Error 2
make[1]: *** Waiting for unfinished jobs....
compiling profile_frames.c
compiling empty.c
linking shared-object -test-/dln/empty.bundle
linking shared-object -test-/debug.bundle
make: *** [build-ext] Error 2
Any ideas why I'm getting the Interrupted system call message?
Pause your antivirus and try again. It worked for me.
I installed the cudnn 7.1.2 by anaconda, and then install the coffe2 via anaconda following https://caffe2.ai/docs/getting-started.html?platform=mac&configuration=prebuilt ,but it reports that cannot find cudnn.h.
The error reports are:
In file included from /home/wangqm/anaconda3/conda-bld/caffe2-cuda9.0-cudnn7_1530109091069/work/caffe2/operators/depthwise_3x3_conv_op.cu:1:0:
/home/wangqm/anaconda3/conda-bld/caffe2-cuda9.0-cudnn7_1530109091069/work/caffe2/core/common_cudnn.h:7:19: fatal error: cudnn.h: No such file or directory
compilation terminated.
CMake Error at caffe2_gpu_generated_depthwise_3x3_conv_op.cu.o.Release.cmake:219 (message):
Error generating
/home/wangqm/anaconda3/conda-bld/caffe2-cuda9.0-cudnn7_1530109091069/work/build/caffe2/CMakeFiles/caffe2_gpu.dir/operators/./caffe2_gpu_generated_depthwise_3x3_conv_op.cu.o
caffe2/CMakeFiles/caffe2_gpu.dir/build.make:252: recipe for target 'caffe2/CMakeFiles/caffe2_gpu.dir/operators/caffe2_gpu_generated_depthwise_3x3_conv_op.cu.o' failed
make[2]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/operators/caffe2_gpu_generated_depthwise_3x3_conv_op.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:1458: recipe for target 'caffe2/CMakeFiles/caffe2_gpu.dir/all' failed
make[1]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
I'm no Caffe2 expert, but this error means that you do not have the CUDNN library installed.
This means that you are trying to use the CUDA enabled Caffe framework and will want to install CUDA (probably version 9+) with the associated CUDNN libraries.
https://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html
After downloading the package of GNU Binutils 2.25
I followed the instructions on "Installing Binutils":
./cnofigure
make
errors happened after build:
../../binutils-gdb/binutils/nm.c:1733:28: error: 'sbrk' is deprecated [-Werror,-Wdeprecated-declarations]
char *lim = (char *) sbrk (0);
/usr/include/unistd.h:582:7: note: 'sbrk' has been explicitly marked deprecated here
void *sbrk(int);
1 error generated.
make[4]: *** [nm.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-binutils] Error 2
make: *** [all] Error 2
I did some research on net and they said using this command
./configure --prefix=/usr --disable-werror
and I get
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
make[8]: Nothing to be done for 'all-am'.
make[1]: Nothing to be done for 'all-target'.
(what does that mean "nothing to be done for all-am and all-target")
I don't know what to do anymore.
Is it a bug or it's me doing something wrong?
Please help.
You really would make life easier for yourself if you used homebrew as a package manager on OSX.
Goto the homebrew website and copy and paste the one-line install script into your Terminal.
Then you can install binutils simply by typing
brew install binutils
If, down the line, you want to find GNU sed, or ImageMagick, you can just do
brew search sed
or
brew search imagemagick
then
brew install sed
If you have any problems, just run
brew doctor
If you want to update all your packages, just run
brew update
brew upgrade --all
More cool ideas and suggestions here.
After build failure , you should clean previously generated object files
So,
make clean
./configure --prefix=/usr --disable-werror
make
I have to compile PHP with mcrypt, but for some reason i cannot compile mcrypt using the make command. I´m getting the following error:
gaa -o gaaout.c -i gaa.h mcrypt.gaa
make[2]: gaa: Command not found
make[2]: *** [gaaout.c] Error 127
make[2]: Leaving directory `/usr/local/src/mcrypt-2.6.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mcrypt-2.6.7'
make: *** [all] Error 2
I´m compiling it on Centos 6.6, and the mcrypt version is 2.6.7
Before i compiled i installed the Development Tools packaged via yum.
yum groupinstall "Development Tools"
Also installed: mhash (v 0.9.9.9), libmcrypt (v 2.5.8)
What is the gaa command, and how do i make i available?
FWIW: don't know gaa either, but since src/gaaout.c exists:
touch src/gaaout.c
did the trick for me.