project-magpie / meta-openpli

OpenPLi - Settopbox Software for Project Magpie
GNU General Public License v2.0
1 stars 2 forks source link

fatal error: gif_lib.h: No such file or directory #8

Open christianege opened 10 years ago

christianege commented 10 years ago

During a fresh compilation of enigma2 I got the following error:

-fno-rtti -fno-exceptions -pthread -MT gdi/picexif.o -MD -MP -MF $depbase.Tpo -c -o gdi/picexif.o gdi/picexif.cpp &&\
|   mv -f $depbase.Tpo $depbase.Po
| depbase=`echo gdi/picload.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
|   sh4-poky-linux-g++  -ml -m4 --sysroot=/data/project-magpie/setup-scripts/build/tmp-magpie/sysroots/spark -DHAVE_CONFIG_H -I. -I..  -I.. -I.. -I../include -include Python.h -include ../enigma2_config.h -I/data/project-magpie/setup-scripts/build/tmp-magpie/sysroots/spark/usr/include/python2.7  -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -ggdb3 -Wall -pthread -I/data/project-magpie/setup-scripts/build/tmp-magpie/sysroots/spark/usr/include/freetype2 -I/data/project-magpie/setup-scripts/build/tmp-magpie/sysroots/spark/usr/include/fribidi -I/data/project-magpie/setup-scripts/build/tmp-magpie/sysroots/spark/usr/include/gstreamer-0.10 -I/data/project-magpie/setup-scripts/build/tmp-magpie/sysroots/spark/usr/include/glib-2.0 -I/data/project-magpie/setup-scripts/build/tmp-magpie/sysroots/spark/usr/lib/glib-2.0/include -I/data/project-magpie/setup-scripts/build/tmp-magpie/sysroots/spark/usr/include/libpng16 -I/data/project-magpie/setup-scripts/build/tmp-magpie/sysroots/spark/usr/include/libxml2 -I/data/project-magpie/setup-scripts/build/tmp-magpie/sysroots/spark/usr/lib/sigc++-1.2/include -I/data/project-magpie/setup-scripts/build/tmp-magpie/sysroots/spark/usr/include/sigc++-1.2  -fno-rtti -fno-exceptions -pthread -MT gdi/picload.o -MD -MP -MF $depbase.Tpo -c -o gdi/picload.o gdi/picload.cpp &&\
|   mv -f $depbase.Tpo $depbase.Po
| gdi/picload.cpp:10:21: fatal error: gif_lib.h: No such file or directory
| compilation terminated.
| make[4]: *** [gdi/picload.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| make[4]: Leaving directory `/data/project-magpie/setup-scripts/build/tmp-magpie/work/spark-poky-linux/enigma2/2.7+gitAUTOINC+6099840cbd-r49/git/lib'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/data/project-magpie/setup-scripts/build/tmp-magpie/work/spark-poky-linux/enigma2/2.7+gitAUTOINC+6099840cbd-r49/git/lib'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/data/project-magpie/setup-scripts/build/tmp-magpie/work/spark-poky-linux/enigma2/2.7+gitAUTOINC+6099840cbd-r49/git/lib'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/data/project-magpie/setup-scripts/build/tmp-magpie/work/spark-poky-linux/enigma2/2.7+gitAUTOINC+6099840cbd-r49/git'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /data/project-magpie/setup-scripts/build/tmp-magpie/work/spark-poky-linux/enigma2/2.7+gitAUTOINC+6099840cbd-r49/temp/run.do_compile.22698:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /data/project-magpie/setup-scripts/build/tmp-magpie/work/spark-poky-linux/enigma2/2.7+gitAUTOINC+6099840cbd-r49/temp/log.do_compile.22698)
ERROR: Task 487 (/data/project-magpie/setup-scripts/sources/meta-openpli/recipes-openpli/enigma2/enigma2.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2487 tasks of which 2374 didn't need to be rerun and 1 failed.
christianege commented 10 years ago

The missing file error can be fixed by adding giflib to the dependency.

diff --git a/recipes-openpli/enigma2/enigma2.bb b/recipes-openpli/enigma2/enigma2.bb
index dfca750..1009ab6 100644
--- a/recipes-openpli/enigma2/enigma2.bb
+++ b/recipes-openpli/enigma2/enigma2.bb
@@ -15,6 +15,7 @@ DEPENDS = " \
        python python-imaging python-twisted python-wifi \
        swig-native \
        tuxtxt-enigma2 \
+       giflib \
        "

 RDEPENDS_${PN} = " \