Hi All,
I am trying to build LE10 from
GitHub - LibreELEC/LibreELEC.tv: Just enough OS for KODI
Just enough OS for KODI. Contribute to LibreELEC/LibreELEC.tv development by creating an account on GitHub.
github.com
and checking out branch libreelec-10.0
my environment is
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Code
libtool: link: /media/data2/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -shared -fPIC -DPIC .libs/gl_array_list.o .libs/basename-lgpl.o .libs/binary-io.o .libs/c-ctype.o .libs/c-strcasecmp.o .libs/c-strncasecmp.o .libs/cloexec.o .libs/concat-filename.o .libs/exitfail.o .libs/fatal-signal.o .libs/fd-hook.o .libs/fd-ostream.o .libs/file-ostream.o .libs/full-write.o .libs/get_ppid_of.o .libs/get_progname_of.o .libs/getprogname.o .libs/html-ostream.o .libs/html-styled-ostream.o .libs/iconv-ostream.o .libs/gl_list.o glthread/.libs/lock.o .libs/malloca.o .libs/math.o .libs/mem-hash-map.o .libs/memory-ostream.o .libs/noop-styled-ostream.o .libs/ostream.o .libs/printf-frexp.o .libs/printf-frexpl.o .libs/safe-read.o .libs/safe-write.o .libs/sig-handler.o .libs/sockets.o .libs/stat-time.o .libs/styled-ostream.o .libs/sys_socket.o .libs/term-ostream.o .libs/term-style-control.o .libs/term-styled-ostream.o glthread/.libs/threadlib.o .libs/unistd.o unistr/.libs/u8-mbtouc.o unistr/.libs/u8-mbtouc-aux.o .libs/xmalloc.o .libs/xstrdup.o .libs/xconcat-filename.o .libs/xgethostname.o .libs/gl_xlist.o .libs/xsize.o .libs/xvasprintf.o .libs/xasprintf.o .libs/color.o .libs/misc.o .libs/version.o .libs/asnprintf.o .libs/asprintf.o .libs/fcntl.o .libs/memchr.o .libs/obstack.o .libs/printf-args.o .libs/printf-parse.o .libs/snprintf.o .libs/vasnprintf.o .libs/vasprintf.o -Wl,--whole-archive ./.libs/libcroco_rpl.a ./.libs/libglib_rpl.a ./.libs/libxml_rpl.a -Wl,--no-whole-archive -lm -L/usr/lib64 -ltermcap -march=x86-64 -m64 -mmmx -msse -msse2 -mfpmath=sse -O2 -march=x86-64 -m64 -Wl,--as-needed -Wl,-soname -Wl,libtextstyle.so.0 -Wl,-version-script -Wl,.libs/libtextstyle.ver -o .libs/libtextstyle.so.0.1.1
/media/data2/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/10.3.0/../../../../x86_64-libreelec-linux-gnu/bin/ld: warning: library search path "/usr/lib64" is unsafe for cross-compilation, ignore it
/media/data2/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/10.3.0/../../../../x86_64-libreelec-linux-gnu/bin/ld: cannot find -ltermcap
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:2375: libtextstyle.la] Error 1
make[6]: Leaving directory '/media/data2/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/gettext-0.21/.x86_64-libreelec-linux-gnu/libtextstyle/lib'
make[5]: *** [Makefile:2157: all] Error 2
make[5]: Leaving directory '/media/data2/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/gettext-0.21/.x86_64-libreelec-linux-gnu/libtextstyle/lib'
make[4]: *** [Makefile:1786: all-recursive] Error 1
make[4]: Leaving directory '/media/data2/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/gettext-0.21/.x86_64-libreelec-linux-gnu/libtextstyle'
make[3]: *** [Makefile:1714: all] Error 2
make[3]: Leaving directory '/media/data2/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/gettext-0.21/.x86_64-libreelec-linux-gnu/libtextstyle'
make[2]: *** [Makefile:403: all-recursive] Error 1
make[2]: Leaving directory '/media/data2/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/gettext-0.21/.x86_64-libreelec-linux-gnu'
make[1]: *** [Makefile:359: all] Error 2
make[1]: Leaving directory '/media/data2/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/build/gettext-0.21/.x86_64-libreelec-linux-gnu'
FAILURE: scripts/build gettext:target during make_target (default)
*********** FAILED COMMAND ***********
make ${PKG_MAKE_OPTS_TARGET}
Display More
I am getting the above error it looks like termcap is missing but I have libncurses5 installed, any ideas what is missing on my build system or any other issues?
Note. I have previously built LE but it was probably a year or two ago..
Thanks