Hello,
I'm trying to build LibreElec on Ubuntu 18.10. I know I should use Ubuntu 16.04 inside a vm or something but maybe the error I'm getting is trivial to solve for an expert.
Here's the make output:
Code
PROJECT=Generic ARCH=x86_64 make image
./scripts/image mkimage
=================================================================================
Configuration for LibreELEC (community)
=================================================================================
Buildoptions:
======================================================
- CPU (ARCH): x86-64 (x86_64)
- FLOAT:
- FPU:
- SIMD support: yes
- LTO (Link Time Optimization) support: yes
- GOLD (Google Linker) Support: yes
- LLVM support: yes
Graphic configuration:
======================================================
- Xorg Graphic Drivers: r300 r600 radeonsi i915 i965 nvidia nvidia-legacy vmware
- XORG Composite support: yes
- WindowManager: fluxbox
- OpenGL (GLX) support (provider): yes (mesa)
- OpenGLES support (provider): no (no)
- uvesafb support: yes
Hardware decoder configuration:
======================================================
- Kodi Player driver: default
- VAAPI Support: yes
- VDPAU Support: yes
Input device configuration:
======================================================
- Remote support: yes
- ATV Remote support: yes
- CEC Adapter support: yes
- CEC Framework support: yes
- Kodi Joystick support: yes
Misc. hardware configuration:
======================================================
- ALSA support: yes
- Pulseaudio support: yes
- Bluetooth support: yes
- Include driver: RTL8192CU
- Include driver: RTL8192DU
- Include driver: RTL8192EU
- Include driver: RTL8188EU
- Include driver: RTL8812AU
- Include driver: bcm_sta
- Include firmware: misc-firmware
- Include firmware: wlan-firmware
- Include firmware: dvb-firmware
- Include firmware: iwlwifi-firmware
Network service configuration:
======================================================
- Avahi (Zeroconf) support: yes
- NFS mounting support: yes
- SAMBA mounting support: yes
- SAMBA server support: yes
- SFTP server support: yes
- OpenVPN support: yes
OS configuration:
======================================================
- OEM Support: yes
- Default ROOT Password: libreelec
- Bootloader: syslinux
- UDevil support: yes
- Installer support: yes
Misc. Filesystems:
======================================================
- Swap Support: yes
- Swapfile default size: 1024
- exFAT Support (via Fuse): yes
- NTFS Support (via Fuse): yes
- Install HFS Tools: yes
Kodi configuration:
======================================================
- Kodi version: kodi
- Kodi nonfree support: yes
- Kodi Blu-Ray support: yes
- Bluray BD+ support: yes
- Bluray AACS support: yes
- Kodi DVDCSS support: yes
- Kodi Airplay support: yes
- Kodi Airtunes support: yes
- Kodi NFS support: yes
- Kodi MySQL support: yes
- Kodi Optical Drive support: yes
- Kodi SAMBA client support: yes
- Kodi SSH client support: yes
- Kodi UPNP support: yes
- Kodi Webserver support: yes
- Include Skin: Estuary
- Default Skin: Estuary
- Include extra fonts: yes
=================================================================================
End Configuration for LibreELEC
=================================================================================
UNPACK configtools
BUILD configtools (host)
UNPACK make
APPLY PATCH (common) packages/devel/make/patches/make-3.82-011-noclock_gettime.patch
patching file configure
Hunk #1 succeeded at 9026 (offset 1811 lines).
APPLY PATCH (common) packages/devel/make/patches/make-3.82-016-weird-shell.patch
patching file job.c
Hunk #1 succeeded at 2561 (offset 119 lines).
APPLY PATCH (common) packages/devel/make/patches/make-glibc-2.27.patch
patching file configure.ac
Hunk #1 succeeded at 399 (offset -5 lines).
patching file dir.c
FIXCONFIG /home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/make-4.2.1/config/
BUILD make (host)
Executing (host): /home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/make-4.2.1/configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/toolchain --bindir=/home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/toolchain/bin --sbindir=/home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/toolchain/sbin --sysconfdir=/home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/toolchain/etc --libexecdir=/home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/toolchain/lib --localstatedir=/home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/toolchain/var --disable-static --enable-shared
configure: WARNING: unrecognized options: --disable-static, --enable-shared
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 for style of include used by make... GNU
checking for x86_64-linux-gnu-gcc... /usr/bin/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 /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking whether /usr/bin/gcc understands -c and -o together... yes
checking dependency style of /usr/bin/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 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for x86_64-linux-gnu-gcc... (cached) /usr/bin/gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc accepts -g... (cached) yes
checking for /usr/bin/gcc option to accept ISO C89... (cached) none needed
checking whether /usr/bin/gcc understands -c and -o together... (cached) yes
checking dependency style of /usr/bin/gcc... (cached) gcc3
checking for x86_64-linux-gnu-ranlib... ranlib
checking how to run the C preprocessor... cpp
checking for ar... ar
checking for perl... perl
checking for x86_64-linux-gnu-ar... (cached) ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for library containing strerror... none required
checking for a sed that does not truncate output... /bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by /usr/bin/gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for library containing getpwnam... none required
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for unsigned long long int... yes
checking for uintmax_t... yes
checking for nanoseconds field of struct stat... st_mtim.tv_nsec
checking whether to use high resolution file timestamps... yes
checking for library containing clock_gettime... none required
checking whether system uses MSDOS-style paths... no
checking for standard gettimeofday... yes
checking for strdup... yes
checking for strndup... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for fdopen... yes
checking for fileno... yes
checking for dup... yes
checking for dup2... yes
checking for getcwd... yes
checking for realpath... yes
checking for sigsetmask... yes
checking for sigaction... yes
checking for getgroups... yes
checking for seteuid... yes
checking for setegid... yes
checking for setlinebuf... yes
checking for setreuid... yes
checking for setregid... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for setvbuf... yes
checking for pipe... yes
checking for strerror... yes
checking for strsignal... yes
checking for lstat... yes
checking for readlink... yes
checking for atexit... yes
checking for isatty... yes
checking for ttyname... yes
checking for pselect... yes
checking whether bsd_signal is declared... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strcmpi... no
checking for strncmpi... no
checking for stricmp... no
checking for strnicmp... no
checking for working strcoll... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether closedir returns void... no
checking pkg-config is at least version 0.9.0... /home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/make-4.2.1/configure: line 9807: /home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/toolchain/bin/pkg-config: No such file or directory
no
checking for GUILE... no
checking for GUILE... no
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking whether sys_siglist is declared... yes
checking whether _sys_siglist is declared... yes
checking whether __sys_siglist is declared... no
checking for sys/wait.h... yes
checking for waitpid... yes
checking for wait3... yes
checking for union wait... no
checking for SA_RESTART... yes
checking whether dlopen is declared... yes
checking whether dlsym is declared... yes
checking whether dlerror is declared... yes
checking for library containing dlopen... -ldl
checking If the linker accepts -Wl,--export-dynamic... yes
checking for location of SCCS get command... get
checking if system libc has GNU glob... no
checking if malloc debugging is wanted... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glob/Makefile
config.status: creating po/Makefile.in
config.status: creating config/Makefile
config.status: creating doc/Makefile
config.status: creating w32/Makefile
config.status: creating tests/config-flags.pm
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: WARNING: unrecognized options: --disable-static, --enable-shared
config.status: creating build.sh
Executing (host): make
make[1]: Entering directory '/home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/make-4.2.1/.x86_64-linux-gnu'
CDPATH="${ZSH_VERSION+.}:" && cd /home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/make-4.2.1 && /bin/bash /home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/make-4.2.1/config/missing aclocal-1.15 -I config
/home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/make-4.2.1/config/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make[1]: *** [Makefile:569: /home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/make-4.2.1/aclocal.m4] Error 127
make[1]: Leaving directory '/home/tony/LibreELEC.tv/build.LibreELEC-Generic.x86_64-8.2-devel/make-4.2.1/.x86_64-linux-gnu'
make: *** [Makefile:12: image] Error 2
Display More
apt tells me that automake is already the newest version (1:1.16.1-1.1ubuntu1).
I don't know how to point the build system to the newer version of automake.
Thanks!