I am trying to build GCC on a core2-apple-darwin12.3.0 i386 machine. The configure seems to go through without problems but when I invoke 'make' it returns an error.
In file included from ./kinds.h:75:0,
from /gcc-4.8.0/libgfortran/libgfortran.h:232,
from /gcc-4.8.0/libgfortran/fmain.c:4:
/gcc-4.8.0/libgfortran/kinds-override.h:40:5: error: #error "Where has __float128 gone?"
# error "Where has __float128 gone?"
^
make[3]: *** [fmain.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libgfortran] Error 2
make: *** [all] Error 2
So far I have been unable to track down a successful fix.
Related
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
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'm trying to install squid from source.
I issue the command make but it gets this error at the end:
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[3]: *** [basic_ncsa_auth] Error 1
make[3]: Leaving directory `/root/squid-3.4.6/helpers/basic_auth/NCSA'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.4.6/helpers/basic_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/squid-3.4.6/helpers'
make: *** [all-recursive] Error 1
Any ideas how to solve this?
You do not have the OpenSSL development toolkit installed.
yum install openssl
/usr/bin/ld: ../../libs/libedit/src/.libs/libedit.a(term.o): undefined reference
/usr/bin/ld: note: 'tgetnum' is defined in DSO /lib64/libtinfo.so.5 so try addin
/lib64/libtinfo.so.5: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[5]: *** [fs_cli] Error 1
make[4]: *** [/usr/src/freeswitch/libs/esl/libesl.so] Error 2
make[3]: *** [mod_hash-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Ive tried to export 'ltinfo' library and ive also set LDFLAGS to -ltinfo but that too dint work.Please help me in fixing this.
I've got same error like you. You must install stable version.
git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
and follow the instruction again.
http://wiki.freeswitch.org/wiki/Linux_Quick_Install_Guide
It will work.