Hi, While trying to build webkitgtk 2.16.1 on FreeBSD I'm getting the build error below. The build can't find gcrypt.h, this file is installed in /usr/local/include, which isn't in the default search path. libgcrypt is found by cmake during configure, but the location isn't passed to the pal/crypt part of the build.
So can someone tell me the cmake voodoo so the build can add the libgcrypt include and library paths to the compile lines so the gcrypt headers and libraries they can be found? When I got webkit build completly, I will file bug reports with patches. Thanks, -Koop [ 22%] Building CXX object Source/WebCore/PAL/pal/CMakeFiles/PAL.dir/crypto/gcrypt/CryptoDigestGCr ypt.cpp.o cd /usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/WebCore/PAL/pal && /usr/bin/c++ - DBUILDING_GTK__=1 -DBUILDING_PAL -DBUILDING_WITH_CMAKE=1 -DDATA_DIR=\"share\" -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DUSER_AGENT_GTK_MAJOR_VERSION=\"604\" -DUSER_AGENT_GTK_MINOR_VERSION=\"1\" -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/WebCore/PAL -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/WebCore/PAL/pal -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/WebCore/PAL/pal/crypto -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/bmalloc -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/WTF -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/WTF/wtf -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/WTF/wtf/dtoa -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/WTF/wtf/persistence -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/WTF/wtf/text -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/WTF/wtf/text/icu -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/WTF/wtf/threads -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/WTF/wtf/unicode -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1/Source/ThirdParty -I/usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk-2.16.1 -I/usr/home/kwm/sources/freebsd/freebsd- ports-gnome/www/webkit2-gtk3/work/webkitgtk-2.16.1/DerivedSources -O2 -pipe -DNDEBUG -fstack-protector -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fno-rtti -std=c++1y -Qunused-arguments -O2 -pipe -DNDEBUG -fstack-protector -fno-strict-aliasing -Wall -Wextra -Wcast- align -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wundef -Wwrite-strings -Wno-parentheses-equality -fPIC -o CMakeFiles/PAL.dir/crypto/gcrypt/CryptoDigestGCrypt.cpp.o -c /usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk- 2.16.1/Source/WebCore/PAL/pal/crypto/gcrypt/CryptoDigestGCrypt.cpp /usr/home/kwm/sources/freebsd/freebsd-ports-gnome/www/webkit2- gtk3/work/webkitgtk- 2.16.1/Source/WebCore/PAL/pal/crypto/gcrypt/CryptoDigestGCrypt.cpp:30:1 0: fatal error: 'gcrypt.h' file not found #include <gcrypt.h> ^~~~~~~~~~ 1 error generated. gmake[2]: *** [Source/WebCore/PAL/pal/CMakeFiles/PAL.dir/build.make:66: Source/WebCore/PAL/pal/CMakeFiles/PAL.dir/crypto/gcrypt/CryptoDigestGCr ypt.cpp.o] Error 1 gmake[2]: Leaving directory '/usr/home/kwm/sources/freebsd/freebsd- ports-gnome/www/webkit2-gtk3/work/webkitgtk-2.16.1' _______________________________________________ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk