Ошибка установки janus-шлюза в CentOS7 - PullRequest
0 голосов
/ 23 сентября 2019

Я хочу установить janus-gateway на CentOS7.Я прочитал следующий документ и попытался установить.https://github.com/meetecho/janus-gateway/blob/master/README.md

git clone https://github.com/meetecho/janus-gateway.git
cd janus-gateway
sh autogen.sh
./configure --prefix=/opt/janus

Однако настройка janus-gateway приведет к ошибке.Ошибка выглядит следующим образом.

checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JANUS... no
configure: error: Package requirements (
                    glib-2.0 >= 2.34
                                        libconfig
                    nice
                    jansson >= 2.5
                    libssl >= 1.0.1
                    libcrypto
                  ) were not met:

No package 'nice' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables JANUS_CFLAGS
and JANUS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Я установил libnice (libnice-0.1.3-4.el7.x86_64) следующим образом.

yum install libnice

Как я могу ее решить?Спасибо.

1 Ответ

0 голосов
/ 24 сентября 2019

Вы должны скачать исходный код libnice для установки.https://gitlab.freedesktop.org/libnice/libnice

...