how to fix hb-ft.h no such file or directory while installing pango using jhbuild? - freetype

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!

Related

cannot find -linet in omnet 4.6

I want to run a simulation in Omnet 4.6 which uses inet.
When compiling, following error occurs.
Creating executable: ../out/debug/src/EnergyCellFMU_TwoHouseholds.exe
D:\omnetpp-4.6\tools\win32\mingw32\bin/ld.exe: cannot find -linet
collect2.exe: error: ld returned 1 exit status
Makefile:154: recipe for target '../out/debug/src/EnergyCellFMU_TwoHouseholds.exe' failed
make[1]: *** [../out/debug/src/EnergyCellFMU_TwoHouseholds.exe] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/d/Simulation_energy-cell-concept_omnet4.5/energy-cell-concept-simulation/OMNet/src'
make: *** [all] Error 2
Makefile:2: recipe for target 'all' failed
Does anyone know where the problem could be?
I set inet in the project references.

Compile OpenVswitch in Odroid XU4 has error

I am doing OpenVswitch compile in Odroid XU4 with the kernel module.
I did execute the 'boot.sh' file and configure it with the Linux kernel module.
But When I make OpenVswitch, there is an error when building the datapath kernel module.
Here is the full log.
odroid#odroid:~/Downloads/openvswitch-2.15.4$ make
make all-recursive
make[1]: Entering directory '/home/odroid/Downloads/openvswitch-2.15.4'
Making all in datapath
make[2]: Entering directory '/home/odroid/Downloads/openvswitch-2.15.4/datapath'
Making all in linux
make[3]: Entering directory '/home/odroid/Downloads/openvswitch-2.15.4/datapath/linux'
make -C /lib/modules/5.4.167+/build M=/home/odroid/Downloads/openvswitch-2.15.4/datapath/linux modules
make[4]: Entering directory '/home/odroid/linux'
Building modules, stage 2.
MODPOST 6 modules
ERROR: "geneve_dev_create_fb" [/home/odroid/Downloads/openvswitch-2.15.4/datapath/linux/vport-geneve.ko] undefined!
make[5]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
make[4]: *** [Makefile:1650: modules] Error 2
make[4]: Leaving directory '/home/odroid/linux'
make[3]: *** [Makefile.main:71: default] Error 2
make[3]: Leaving directory '/home/odroid/Downloads/openvswitch-2.15.4/datapath/linux'
make[2]: *** [Makefile:579: all-recursive] Error 1
make[2]: Leaving directory '/home/odroid/Downloads/openvswitch-2.15.4/datapath'
make[1]: *** [Makefile:5251: all-recursive] Error 1
make[1]: Leaving directory '/home/odroid/Downloads/openvswitch-2.15.4'
make: *** [Makefile:2996: all] Error 2

Curl installation issue

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

CMake errors installing eigen 3.3.4

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.

fatal error: ruby/config.h: No such file or directory

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.

Resources