Closed mgoltzsche closed 1 year ago
On alpine ./configure fails due to a syntax error:
./configure
./configure: line 3156: syntax error: unexpected word (expecting ")")
configure line 3153-3157:
configure
fi LT_PREREQ(2.4.2) LT_INIT(disable-shared)
Dockerfile to reproduce:
FROM alpine:3.17 RUN apk add --update --no-cache git make gcc musl-dev autoconf automake ARG CATATONIT_VERSION=99bb9048f532257f3a2c3856cfa19fe957ab6cec # v0.1.7+buildfix RUN git clone https://github.com/openSUSE/catatonit.git /catatonit WORKDIR /catatonit RUN set -ex; \ git checkout $CATATONIT_VERSION; \ ./autogen.sh; \ cat -n configure | head -n3157; \ ./configure LDFLAGS="-static" --prefix=/ --bindir=/bin
Additionally installing libtool fixed the build.
libtool
This is related: https://github.com/Juniper/libslax/issues/37
On alpine
./configure
fails due to a syntax error:configure
line 3153-3157:Dockerfile to reproduce: