When i issue make command i am getting following error
imac#iMac curl-7.73.0 % make
Making all in lib
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
CC libcurl_la-altsvc.lo
rm: .libs/libcurl_la-altsvc.o: Permission denied
error: unable to open output file '.libs/libcurl_la-altsvc.o':'Operation not permitted'
1 error generated.
make[2]: *** [libcurl_la-altsvc.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Related
I am trying to install eigen with CMake. Following the CMake command, bottom of the output shows:
-- Configuring incomplete, errors occurred!
The highlights of the CMakeError.log are below.
Normally, google gets me an answer pretty quick but I having trouble with this one.
Anyone have any ideas?
c++: error: unrecognized command line option '-Wshorten-64-to-32'
make[1]: Leaving directory `/home/localadmin/apps/eigen/eigen-eigen-5a0156e40feb/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec4154354821.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec4154354821/fast] Error 2
c++: error: unrecognized command line option '-Wenum-conversion'
make[1]: Leaving directory `/home/localadmin/apps/eigen/eigen-eigen-
5a0156e40feb/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec362406516.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec362406516/fast] Error 2
c++: error: unrecognized command line option '-Wc++11-extensions'
make[1]: *** [CMakeFiles/cmTryCompileExec2110565347.dir/src.cxx.o] Error 1
make[1]: Leaving directory `/home/localadmin/apps/eigen/eigen-eigen-5a0156e40feb/build/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec2110565347/fast] Error 2
c++: error: unrecognized command line option '-wd981'
make[1]: Leaving directory `/home/localadmin/apps/eigen/eigen-eigen-
5a0156e40feb/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec1208176884.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec1208176884/fast] Error 2
c++: error: unrecognized command line option '-wd2304'
make[1]: Leaving directory `/home/localadmin/apps/eigen/eigen-eigen-
5a0156e40feb/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec853725866.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec853725866/fast] Error 2
c++: error: unrecognized command line option '-strict-ansi'
make[1]: Leaving directory `/home/localadmin/apps/eigen/eigen-eigen-
5a0156e40feb/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec2089588030.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec2089588030/fast] Error 2
c++: error: unrecognized command line option '-Qunused-arguments'
make[1]: Leaving directory `/home/localadmin/apps/eigen/eigen-eigen-
5a0156e40feb/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec226858210.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec226858210/fast] Error 2
Compiling the Fortran compiler identification source file
"CMakeFortranCompilerId.F" failed.
Compiler: CMAKE_Fortran_COMPILER-NOTFOUND
Build flags:
Id flags: -c
sudo apt-get install gfortran, as valiano suggested in the comments, fixed the issue.
i have all the dependencies and since i was not able to fix this error i installed freetype and harfbuzz from scratch still couldnt fix this fatal error but this file (hb-ft.h) is present under
/usr/include/harfbuzz/hb-ft.h and
jhbuild/checkout/harfbuzz/src/hb-ft.h
In file included from pango-ot-buffer.c:24:0:
pango-ot-private.h:29:19: fatal error: hb-ft.h: No such file or directory
compilation terminated.
Makefile:1387: recipe for target 'pango-ot-buffer.lo' failed
make[4]: *** [pango-ot-buffer.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
pangofc-shape.c:30:19: fatal error: hb-ft.h: No such file or directory
compilation terminated.
Makefile:1387: recipe for target 'pangofc-shape.lo' failed
make[4]: *** [pangofc-shape.lo] Error 1
pangoft2-render.c: In function ‘pango_ft2_font_render_glyph’:
pangoft2-render.c:224:3: warning: ‘pango_ft2_font_get_face’ is deprecated: Use 'pango_fc_font_lock_face' instead [-Wdeprecated-declarations]
face = pango_ft2_font_get_face (font);
^
In file included from pangoft2-private.h:26:0,
from pangoft2-render.c:37:
../pango/pangoft2.h:125:9: note: declared here
FT_Face pango_ft2_font_get_face (PangoFont *font);
^
In file included from pango-ot-info.c:34:0:
pango-ot-private.h:29:19: fatal error: hb-ft.h: No such file or directory
compilation terminated.
Makefile:1387: recipe for target 'pango-ot-info.lo' failed
make[4]: *** [pango-ot-info.lo] Error 1
make[4]: Leaving directory '/home/onkar0027/jhbuild/checkout/pango/pango'
Makefile:1469: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/onkar0027/jhbuild/checkout/pango/pango'
Makefile:1212: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/onkar0027/jhbuild/checkout/pango/pango'
Makefile:579: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/onkar0027/jhbuild/checkout/pango'
Makefile:468: recipe for target 'all' failed
make: *** [all] Error 2
*** Error during phase build of pango: ########## Error running make -j 5 *** [7/7]
I have seen this error before while building pango in jhbuild.
Solution:
Open a new terminal and try -
jhbuild buildone -afc harfbuzz
After it's successfully build, rerun phase build of the pango module.
Hope it helps!
I am building gcc-5 and getting the following make problem
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/cdi/Local
/gcc-release/objdir/x86_64-unknown-linux-gnu
/32/libjava/classpath'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/cdi/Local/gcc-release
/objdir/x86_64-unknown-linux-gnu/32/libjava'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/home/cdi/Local/gcc-release
/objdir/x86_64-unknown-linux-gnu/libjava'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/home/cdi/Local/gcc-release
/objdir/x86_64-unknown-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/home/cdi/Local/gcc-release
/objdir'
make: *** [all] Error 2
I investigated if there is a more descriptive make error at an earlier stage, however, I did not find anything.
I followed a set of simple instructions on Mozilla website.
When I entered make -f client.mk build
I got the following error:
/usr/bin/make tier_nspr
tier_nspr: config/nspr
/usr/bin/make export_tier_nspr
export_tier_nspr
make[5]: Nothing to be done for `config/nspr/Makefile'.
/usr/bin/make -C config/nspr export
/usr/bin/make -C ../../nsprpub export SHARED_LIBRARY= IMPORT_LIBRARY= SHARED_LIB_PDB= XP_DEFINE=-DlibVersionPoint='libVersionPoint$(LIBRARY_NAME)'
make: *** ../../nsprpub: No such file or directory. Stop.
make[5]: *** [export] Error 2
make[4]: *** [export_tier_nspr] Error 2
make[3]: *** [tier_nspr] Error 2
make[2]: *** [default] Error 2
make[1]: *** [realbuild] Error 2
make: *** [build] Error 2
It is the first time I tried to build Firefox. Any clue?
I encountered the same error while attempting to build the Android version of Firefox. Making a clean clone of the source tree and re-building solved the problem for me.
I am trying to install korundum on fedora 17. And during the $ make phase I got the following error:
In file included from /usr/include/ruby.h:32:0,
from Qt.cpp:49:
/usr/include/ruby/ruby.h:24:25: fatal error: ruby/config.h: No such file or directory
compilation terminated.
make[5]: *** [Qt.lo] Error 1
make[5]: Leaving directory `/home/n/Downloads/korundum-3.5.5/qtruby/rubylib/qtruby'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/n/Downloads/korundum-3.5.5/qtruby/rubylib/qtruby'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/n/Downloads/korundum-3.5.5/qtruby/rubylib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/n/Downloads/korundum-3.5.5/qtruby'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/n/Downloads/korundum-3.5.5'
make: *** [all] Error 2
How can solve this problem? I'm loosing my mind.
The error message suggests that you need the ruby dev files installed, but do not have them.