Score:0

i ran the following command on docker it shows the folllowing error how to get rid of this?

br flag

I ran the following command on docker and got the error below. How can I fix this?

FROM compiler-common AS compi
ENV DEBIAN_FRONTEND=nonintera

RUN apt-get install -y --no-i
 git-core \
 checkinstall \
 g++ \
 make \
 tar \
 curl \
 wget \
 build-essential \
 cmake \
 autotools-dev \
 automake \
 autogen \
 ca-certificates
RUN cd ~ \
&& git clone --single-branch 
&& cd libgeotiff \
&& ./autogen.sh \
&& ./configure \
&& make dist \
&& tar xvzf libgeotiff*.tar.g
&& cd libgeotiff* \
&& mkdir build_autoconf \
&& cd build_autoconf \
&& CFLAGS="-Wall -Wextra -Wer
&& make -j3 \
&& make check \
&& cd .. \
&& mkdir build_cmake \
&& cd build_cmake \
&& cd ../.. \
&& make -j3 \
&& apt --fix-broken install \

Error:

Cloning into 'libgeotiff'...
/bin/sh: 1: ./autogen.sh: not found
ERROR: Service 'map' failed to build: The command '/bin/sh -c cd ~ && git clone --single-branch https://github.com/OSGeo/libgeotiff.git --depth 1 && cd libgeotiff && ./autogen.sh && ./configure && make dist && tar xvzf libgeotiff*.tar.gz && cd libgeotiff* && mkdir build_autoconf && cd build_autoconf && CFLAGS="-Wall -Wextra -Werror" ../configure && make -j3 && make check && cd .. && mkdir build_cmake && cd build_cmake && cd ../.. && make -j3 && apt --fix-broken install FROM ubuntu:20.04 AS final-base' returned a non-zero code: 127
David avatar
cn flag
Do you have this missing file? autogen.sh: not found
muru avatar
us flag
Is the `compiler-common` image based on Ubuntu?
Score:0
cn flag

You're in the wrong directory. You are cloning this repository: https://github.com/OSGeo/libgeotiff/tree/master/libgeotiff. As you can see in your log, it is being cloned into ~/libgeotiff, the contents of which are:

$ ls libgeotiff/
geotiff  libgeotiff  README.md

Your autoconf.sh file, however, is in a subdirectory of ~/libgeotiff called libgeotiff:

$ ls libgeotiff/libgeotiff/*sh
libgeotiff/libgeotiff/autogen.sh  libgeotiff/libgeotiff/install-sh

So you need to change your cd command to:

cd libgeotiff/libgeotiff && 
./autogen.sh && 
./configure 
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.