php-libtgvoip icon indicating copy to clipboard operation
php-libtgvoip copied to clipboard

Error make

Open TaixMiguel opened this issue 3 years ago • 0 comments

I have this error when I execute a Dockerfile:

make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:4222: tools/logging.lo] Error 1
make[2]: *** [Makefile:4222: VoIPController.lo] Error 1
make[2]: Leaving directory '/php-libtgvoip/libtgvoip/build'
make[1]: *** [Makefile:2442: all] Error 2
make[1]: Leaving directory '/php-libtgvoip/libtgvoip/build'
make: *** [Makefile:131: libtgvoip/build/libtgvoip.la] Error 2

The Dockerfile contents:

FROM ubuntu:latest

RUN apt-get update && apt-get upgrade -y

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Madrid

RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:ondrej/php

RUN apt-get update && apt-get install -y \
    libopus-dev libssl-dev build-essential php7.4-dev php7.4-cli git

RUN git clone https://github.com/copernicamarketingsoftware/PHP-CPP 
RUN sed 's/php-config/php-config7.4/g' -i PHP-CPP/Makefile 
RUN make -C PHP-CPP -j$(nproc)
RUN make -C PHP-CPP install

RUN git clone --recursive https://github.com/danog/php-libtgvoip
RUN make -C php-libtgvoip
RUN make -C php-libtgvoip install

Can you help me?

TaixMiguel avatar May 31 '22 17:05 TaixMiguel