Невозможно скомпилировать серф браузер в Gentoo

У меня проблемы с компиляцией серфинга в Gentoo. Версия для серфинга surf-2.0 и я использую 4.19.44 ядро Linux.

Вывод ошибки таков:

[jcrcx@core surf]$ sudo make install 
surf build options: 
CC            = c99 
Package gcr-3 was not found in the pkg-config search path. 
Perhaps you should add the directory containing `gcr-3.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'gcr-3' found 
CFLAGS        =   -DVERSION="2.0" -DWEBEXTDIR="/usr/local/lib/surf"  -D_DEFAULT_SOURCE -DGCR_API_SUBJECT_TO_CHANGE -fPIC -O 
WEBEXTCFLAGS  = -fPIC -pthread -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/webkitgtk-4.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O 
LDFLAGS       = 
c99 `pkg-config --cflags x11` `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.0` -DVERSION=\"2.0\" -DWEBEXTDIR=\"/usr/local/lib/surf\"  -D_DEFAULT_SOURCE -DGCR_API_SUBJECT_TO_CHANGE -fPIC -O -c surf.c 
Package gcr-3 was not found in the pkg-config search path. 
Perhaps you should add the directory containing `gcr-3.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'gcr-3' found 
surf.c:8:10: fatal error: glib.h: No such file or directory 
 #include <glib.h> 
          ^~~~~~~~ 
compilation terminated. 
make: *** [Makefile:24: surf.o] Error 1 

Я не знаю, какую конфигурацию мне нужно сделать.

Спасибо за помощь

0 ответов

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