./configure: line 11400: syntax error near unexpected token `X11,'
Hello, thank you for your work.
I am trying to build a Dockerfile where I install libglvnd, but I get following error:
#0 18.20 ./configure: line 11400: syntax error near unexpected token `X11,'
#0 18.20 ./configure: line 11400: ` PKG_CHECK_MODULES(X11, x11)'
My Dockerfile:
FROM nvidia/cuda:11.8.0-devel-ubuntu20.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get -y install build-essential \
&& apt-get install -y wget \
&& rm -rf /var/lib/apt/lists/* \
&& wget https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4-Linux-x86_64.sh \
-q -O /tmp/cmake-install.sh \
&& chmod u+x /tmp/cmake-install.sh \
&& mkdir /opt/cmake-3.27.4 \
&& /tmp/cmake-install.sh --skip-license --prefix=/opt/cmake-3.27.4 \
&& rm /tmp/cmake-install.sh \
&& ln -s /opt/cmake-3.27.4/bin/* /usr/local/bin
RUN apt-get update \
&& apt-get install -y libglew-dev libglfw3-dev libpng-dev libz-dev git python3.10 python3-pip \
&& pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
WORKDIR /home
RUN git clone https://github.com/cmusatyalab/mega-nerf-viewer.git \
&& cd mega-nerf-viewer \
&& mkdir build \
&& cd build \
&& cmake -DCMAKE_PREFIX_PATH=/usr/local/lib/python3.8/dist-packages/torch/share/cmake/Torch .. \
&& make -j12
WORKDIR /home
RUN apt-get update \
&& apt-get install -y libxext-dev libx11-dev x11proto-gl-dev autoconf automake libtool\
&& git clone https://gitlab.freedesktop.org/glvnd/libglvnd.git \
&& cd libglvnd \
&& ./autogen.sh \
&& ./configure \
&& make
WORKDIR /home/mega-nerf-viewer/build
Could you help me out?