Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alpine build fails due to configure syntax error #26

Closed
mgoltzsche opened this issue Apr 6, 2023 · 1 comment
Closed

alpine build fails due to configure syntax error #26

mgoltzsche opened this issue Apr 6, 2023 · 1 comment

Comments

@mgoltzsche
Copy link

mgoltzsche commented Apr 6, 2023

On alpine ./configure fails due to a syntax error:

./configure: line 3156: syntax error: unexpected word (expecting ")")

configure line 3153-3157:

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
@mgoltzsche
Copy link
Author

mgoltzsche commented Apr 6, 2023

Additionally installing libtool fixed the build.

This is related: Juniper/libslax#37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant