Ошибка при попытке установить GPGME

Я пытаюсь следовать этому описанию для установки интерфейса GnuPG в Ubuntu. Выходные данные ./configure равны

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/batzinger/Downloads/gpgme-1.8.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

Пакет build-essential уже установлен. И, кажется, нет другого решения в Интернете. Есть ли другой способ исправить эту проблему?

2
задан 23 May 2017 в 15:39

1 ответ

Если вы используете Ubuntu, у вас должно получиться просто установить несколько пакетов из репозитория. php-gnupg содержит пакет GPGME libgpgme11 в качестве зависимости. Поэтому вместо самостоятельной компиляции GPGME просто установите необходимые пакеты:

sudo apt-get install php-gnupg

Это также означает, что вы будете получать обновления для GPGME и библиотеки PHP вместе с вашей операционной системой, и вам не придется заботиться их вручную.

0
ответ дан 23 May 2017 в 15:39

Другие вопросы по тегам:

Похожие вопросы: