I'm getting a build failure trying to build Asuswrt-Merlin 386.4 for RT-AC68U
The Dockerfile I'm using is as follows:
Can anyone assist?
Code:
make[4]: Leaving directory '/src/asuswrt-merlin.ng/release/src/router'
cd libxml2 && mkdir -p m4 && autoreconf -i -f && \
CC=arm-brcm-linux-uclibcgnueabi-gcc AR=arm-brcm-linux-uclibcgnueabi-ar RANLIB=arm-brcm-linux-uclibcgnueabi-ranlib \
CFLAGS="-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -DDEBUG_NOISY -DDEBUG_RCTEST -pipe -DBCMWPA2 -DBCMARM -fno-strict-aliasing -marm -DRTCONFIG_NVRAM_64K -DLINUX_KERNEL_VERSION=132644 " LDFLAGS="-ldl -lgcc_s" \
././configure --host=arm-linux --build=x86_64-linux-gnu --prefix=/usr --without-python --disable-dependency-tracking \
--without-zlib
Can't locate Autom4te/ChannelDefs.pm in @INC (you may need to install the Autom4te::ChannelDefs module) (@INC contains: /projects/hnd/tools/linux/hndtools-arm-linux-2.6.36-uclibc-4.5.3/share/autoconf /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /opt/brcm-arm/bin/autoreconf line 40.
BEGIN failed--compilation aborted at /opt/brcm-arm/bin/autoreconf line 40.
make[3]: *** [Makefile:6195: libxml2/stamp-h1] Error 2
make[3]: Leaving directory '/src/asuswrt-merlin.ng/release/src/router'
make[2]: *** [Makefile:646: all] Error 2
make[2]: Leaving directory '/src/asuswrt-merlin.ng/release/src-rt-6.x.4708'
make[1]: *** [Makefile:5445: bin] Error 2
make[1]: Leaving directory '/src/asuswrt-merlin.ng/release/src-rt-6.x.4708'
make: *** [Makefile:5639: rt-ac68u] Error 2
The Dockerfile I'm using is as follows:
Code:
FROM ubuntu
RUN dpkg --add-architecture i386 && apt update && DEBIAN_FRONTEND=noninteractive apt install -y git make libtool-bin cmake libproxy-dev uuid-dev liblzo2-dev autoconf automake bash bison bzip2 diffutils file flex m4 g++ gawk groff-base libtool libslang2 make patch perl pkg-config shtool subversion tar texinfo zlib1g zlib1g-dev gettext libexpat1-dev libssl-dev cvs gperf unzip python libxml-parser-perl gcc-multilib gconf-editor libxml2-dev g++-multilib gitk libncurses5 mtd-utils libncurses5-dev libvorbis-dev git autopoint autogen sed build-essential intltool libelf1:i386 libglib2.0-dev xutils-dev lib32z1-dev lib32stdc++6 xsltproc gtk-doc-tools
RUN mkdir /src
WORKDIR /src
RUN git clone --depth=1 https://github.com/RMerl/am-toolchains && git clone --branch 386.4 --single-branch https://github.com/RMerl/asuswrt-merlin.ng
RUN ln -s /src/am-toolchains/brcm-arm-sdk/hndtools-arm-linux-2.6.36-uclibc-4.5.3 /opt/brcm-arm
ENV PATH /opt/brcm-arm/bin:$PATH
WORKDIR /src/asuswrt-merlin.ng/release/src-rt-6.x.4708
RUN make rt-ac68u || true
Can anyone assist?