You are not logged in.
Pages: 1
I get this error message when I run make trying to build Surf browser from source:
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
Package 'gcr-3', required by 'virtual:world', not found
CFLAGS = -DVERSION="2.0" -DWEBEXTDIR="/usr/local/lib/surf" -D_DEFAULT_SOURCE -DGCR_API_SUBJECT_TO_CHANGE -fPIC -O
WEBEXTCFLAGS = -fPIC -I/usr/include/webkitgtk-4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/lib/libffi-3.2.1/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -pthread -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
Package 'gcr-3', required by 'virtual:world', not 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 1Does any one have any ideas what I need to get this to work? I am assuming I am missing some package, but I cannot figure out what it is after searching quite a bit. Any help would be greatly appreciated.
Last edited by jjuel (2019-02-23 13:02:31)
Offline
Package gcr-3 was not found in the pkg-config search path.
...
I am assuming I am missing some package, but I cannot figure out what it is after searching quite a bit.
Here's a wild guess: could it be gcr version 3.
Why are you not using surf from the repos? Or at least starting with the PKGBUILD from the repos?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
Here's a wild guess: could it be gcr version 3.
Why are you not using surf from the repos? Or at least starting with the PKGBUILD from the repos?
Yeah turns out I am an idiot. I was searching pacman for gcr-3 when I should have just been searching for gcr. Installed that and it worked.
Thanks for the help.
Offline
Why are you not using surf from the repos? Or at least starting with the PKGBUILD from the repos?
Offline
And FYI, looking specifically for the file the error mentioned would have also led to the same result:
$ pacman -Fs gcr-3.pc
extra/gcr 3.28.1-1
usr/lib/pkgconfig/gcr-3.pc"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1