Установите HTK на Docker и Ubuntu 16.04
Я пытаюсь установить HTK в Docker с Ubuntu 16.04.
мой Dockerfile
как:
FROM ubuntu:16.04
# working directory
ENV HOME /root
WORKDIR $HOME
# packages list
RUN \
apt-get update && apt-get install -y \
libc6-dev-i386 \
libx11-dev \
gawk \
python-dev \
python-pip \
curl \
git
# pip
RUN pip install --upgrade pip
# copy & install compat-gcc-34-c++ compat-gcc-34
COPY lib/*.deb $HOME/
RUN \
dpkg -i $HOME/compat-gcc-34-c++_3.4.6-20_amd64.deb && \
dpkg -i $HOME/compat-gcc-34-c++_3.4.6-20_amd64.deb
# numlib
RUN pip install numpy scipy
# theano and lasagne
RUN pip install theano lasagne
# HTK
COPY lib/*.gz $HOME/
# uncomment and set $USER $PASS
#RUN curl http://htk.eng.cam.ac.uk/ftp/software/HTK-3.4.1.tar.gz --user $USER:$PASS | tar xvzf -
RUN tar -xvzf $HOME/HTK-3.4.1.tar.gz
RUN linux32 bash
RUN cd $HOME/htk && \
# /usr/local/bin or --prefix=$HOME/htk
./configure CC=gcc34 && \
make
Мне пришлось вручную установить gcc34, как описано здесь и здесь, но что-то идет не так, поэтому я получаю
Step 13/14 : RUN cd $HOME/htk && ./configure CC=gcc34 && make
---> Running in 47cc2fbc58e4
checking whether make sets $(MAKE)... yes
checking for gawk... gawk
checking for gcc... gcc34
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.