Closed kolomparrudi closed 3 years ago
I think I found the problem:
linux-headers-uname -r
package install fails, because in the host os I have older kernel.
In the kernels of the Ubuntu distributives, dca.h must be in /usr/src/linux-headers-YOUR_NAME/include/linux. You can download the kernel source and copy the missing headers from there. Perhaps, when сompiling in a non-standard place, the headers aren't seen at all. So this isn't an issue. Ask a question on the OpenPli forum.
Did you find a solution to this?
dca.h you can find in linux-headers-... Ubuntu package.
ср, 16 февр. 2022 г. в 00:09, Chris230291 @.***>:
Did you find a solution to this?
— Reply to this email directly, view it on GitHub https://github.com/ag1455/OpenPLi-PC/issues/13#issuecomment-1040794923, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOH7AQ3PMY2WB5BREIIE6ZDU3K6HXANCNFSM45MEBOSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>
It seems we are both trying to run e2 inside a docker container. I understand what the headers are but I don't understand how to get around this error. I install the headers before trying to compile and still get this error.
Here is the Dockerfile
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
git \
linux-headers-$(uname -r)
RUN git clone https://github.com/ag1455/OpenPLi-PC.git
WORKDIR OpenPLi-PC
RUN ./2_build_libs.sh \
./3_build_libxine.sh \
./4_build_openpliPC.sh \
./5_build_plugins.sh \
./6_build_oscam.sh
It is not completed. I am just trying to get successful compile first.
Hi,
Trying to compile the project in an ubuntu 20.04 docker container, but got this compile error:
docker run -v /usr/src/OpenPLi-PC:/usr/src/openpli -it ubuntu:20.04 bash cd /usr/src/openpli ./0_INSTALL_ALL.sh ... libtool: link: ( cd ".libs" && rm -f "libgstmpeg4p2unpack.la" && ln -s "../libgstmpeg4p2unpack.la" "libgstmpeg4p2unpack.la" ) /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -MT libgstdtsdownmix_la-gstdtsdownmix.lo -MD -MP -MF .deps/libgstdtsdownmix_la-gstdtsdownmix.Tpo -c -o libgstdtsdownmix_la-gstdtsdownmix.lo
| ^
test -f 'gstdtsdownmix.c' || echo './'
gstdtsdownmix.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -MT libgstdtsdownmix_la-gstdtsdownmix.lo -MD -MP -MF .deps/libgstdtsdownmix_la-gstdtsdownmix.Tpo -c gstdtsdownmix.c -fPIC -DPIC -o .libs/libgstdtsdownmix_la-gstdtsdownmix.o In file included from gstdtsdownmix.c:12: gstdtsdownmix.h:4:10: fatal error: dca.h: No such file or directory 4 | #include~~ compilation terminated. make[1]: [Makefile:611: libgstdtsdownmix_la-gstdtsdownmix.lo] Error 1 make[1]: Leaving directory '/usr/src/openpli/libs/gst-plugin-dvbmediasink' make: [Makefile:909: install] Error 2**** Installation failed. Aborting package creation.
Restoring overwritten files from backup.../usr/bin/checkinstall: line 95: /usr/bin/gettext: No such file or directory