Hello!
I am new to libreelec and I have some issue compiling it from source. It's stuck on libtool and i can't figoure out why.. I would like to compile libreelec for myself since I want to test some stuff, like new moonlight-embendded, etc
Thank you!
Code
BUILD libtool (host)
Executing (host): /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libtool-2.4.6/configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain --bindir=/home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin --sbindir=/home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/sbin --sysconfdir=/home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/etc --libexecdir=/home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/lib --localstatedir=/home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/var --disable-static --enable-shared --enable-static --disable-shared
## ------------------------- ##
## Configuring libtool 2.4.6 ##
## ------------------------- ##
checking for GNU M4 that supports accurate traces... /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/m4
checking whether /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/m4 accepts --gnu... yes
checking how m4 supports trace files... --debugfile
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
configure: autobuild project... GNU Libtool
configure: autobuild revision... 2.4.6
configure: autobuild hostname... debian
configure: autobuild mode... default
configure: autobuild timestamp... 20170910T003911Z
checking for x86_64-linux-gnu-gcc... /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc accepts -g... yes
checking for /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc option to accept ISO C89... none needed
checking whether /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc... gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for Minix Amsterdam compiler... no
checking how to run the C preprocessor... cpp
checking how to print strings... printf
checking for a sed that does not truncate output... /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for x86_64-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-linux-gnu-ar... ar
checking for archiver @FILE support... @
checking for x86_64-linux-gnu-strip... strip
checking for x86_64-linux-gnu-ranlib... ranlib
checking command to parse nm output from /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-linux-gnu-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc supports -fno-rtti -fno-exceptions... no
checking for /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc option to produce PIC... -fPIC -DPIC
checking if /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc PIC flag -fPIC -DPIC works... yes
checking if /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc static flag -static works... yes
checking if /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc supports -c -o file.o... yes
checking if /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc supports -c -o file.o... (cached) yes
checking whether the /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-gcc linker (ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking what extension is used for runtime loadable modules... .so
checking what variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib /var/lib/VBoxGuestAdditions/lib /usr/lib/x86_64-linux-gnu/libfakeroot /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/virtualbox/additions /usr/lib/virtualbox/additions
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
checking whether we are using the GNU C++ compiler... yes
checking whether /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-g++ accepts -g... yes
checking dependency style of /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-g++... gcc3
checking how to run the C++ preprocessor... /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-g++ -E
checking for ld used by /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-g++... ld -m elf_x86_64
checking if the linker (ld -m elf_x86_64) is GNU ld... yes
checking whether the /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-g++ linker (ld -m elf_x86_64) supports shared libraries... yes
checking for /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-g++ option to produce PIC... -fPIC -DPIC
checking if /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-g++ PIC flag -fPIC -DPIC works... yes
checking if /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-g++ static flag -static works... yes
checking if /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-g++ supports -c -o file.o... yes
checking if /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-g++ supports -c -o file.o... (cached) yes
checking whether the /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/host-g++ linker (ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for x86_64-linux-gnu-g77... no
checking for x86_64-linux-gnu-xlf... no
checking for x86_64-linux-gnu-f77... no
checking for x86_64-linux-gnu-frt... no
checking for x86_64-linux-gnu-pgf77... no
checking for x86_64-linux-gnu-cf77... no
checking for x86_64-linux-gnu-fort77... no
checking for x86_64-linux-gnu-fl32... no
checking for x86_64-linux-gnu-af77... no
checking for x86_64-linux-gnu-xlf90... no
checking for x86_64-linux-gnu-f90... no
checking for x86_64-linux-gnu-pgf90... no
checking for x86_64-linux-gnu-pghpf... no
checking for x86_64-linux-gnu-epcf90... no
checking for x86_64-linux-gnu-gfortran... x86_64-linux-gnu-gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether x86_64-linux-gnu-gfortran accepts -g... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for x86_64-linux-gnu-gfortran option to produce PIC... -fPIC
checking if x86_64-linux-gnu-gfortran PIC flag -fPIC works... yes
checking if x86_64-linux-gnu-gfortran static flag -static works... yes
checking if x86_64-linux-gnu-gfortran supports -c -o file.o... yes
checking if x86_64-linux-gnu-gfortran supports -c -o file.o... (cached) yes
checking whether the x86_64-linux-gnu-gfortran linker (ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for x86_64-linux-gnu-gfortran... x86_64-linux-gnu-gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether x86_64-linux-gnu-gfortran accepts -g... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for x86_64-linux-gnu-gfortran option to produce PIC... -fPIC
checking if x86_64-linux-gnu-gfortran PIC flag -fPIC works... yes
checking if x86_64-linux-gnu-gfortran static flag -static works... yes
checking if x86_64-linux-gnu-gfortran supports -c -o file.o... yes
checking if x86_64-linux-gnu-gfortran supports -c -o file.o... (cached) yes
checking whether the x86_64-linux-gnu-gfortran linker (ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for x86_64-linux-gnu-gccgo... no
checking for gccgo... no
checking for x86_64-linux-gnu-gcj... no
checking for gcj... no
checking for x86_64-linux-gnu-windres... no
checking for windres... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libtool-2.4.6/GNUmakefile to GNUmakefile
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
Executing (host): make
make[1]: Entering directory '/home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libtool-2.4.6/.x86_64-linux-gnu'
cd /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libtool-2.4.6 && /bin/bash /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libtool-2.4.6/build-aux/missing automake-1.15 --gnu Makefile
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/automake-1.15 line 3936.
make[1]: *** [Makefile:1002: /home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libtool-2.4.6/Makefile.in] Error 255
make[1]: Leaving directory '/home/hdkiller/libre/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libtool-2.4.6/.x86_64-linux-gnu'
Makefile:9: recipe for target 'release' failed
make: *** [release] Error 2
Display More