[Evolution-hackers] Checking installation of header files for data service components



Hello,

I have installed a development version of the software “GNOME Evolution Data Server”
into another test directory.
It seems that this directory selection deviates from assumptions or expectations
for commands which are mentioned in the document “Building Evolution from sources”.
https://wiki.gnome.org/Apps/Evolution/Building

The build configuration succeeded then for a development version of the
software “GNOME Evolution” (at first glance).
Unfortunately, I stumble on the following error situation.


elfring@Sonne:~/Projekte/Bau/Evolution/current> LANG=C cmake --build . -j 4
…
[4/894] Building C object src/e-util/CMakeFiles/test-proxy-preferences.dir/test-proxy-preferences.c.o
FAILED: src/e-util/CMakeFiles/test-proxy-preferences.dir/test-proxy-preferences.c.o 
/usr/bin/cc 
-DEVOLUTION_ICONDIR=\"/home/elfring/Projekte/Test/Evolution/Client/current/share/evolution/icons\" 
-DEVOLUTION_LOCALEDIR=\"/home/elfring/Projekte/Test/Evolution/Client/current/share/locale\" 
-DEVOLUTION_MODULEDIR=\"/home/elfring/Projekte/Test/Evolution/Client/current/lib/evolution/modules\" 
-DEVOLUTION_TESTGIOMODULESDIR=\"/home/elfring/Projekte/Bau/Evolution/current/src/e-util/test-gio-modules\" 
-DEVOLUTION_TESTTOPSRCDIR=\"/home/elfring/Projekte/Gnome/Evolution/lokal\" 
-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_22 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_22 
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 
-DG_LOG_DOMAIN=\"test-proxy-preferences\" -DLDAP_DEPRECATED -DLIBEUTIL_COMPILATION 
-DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_2_42 -DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_42 -I. -Isrc 
-I/home/elfring/Projekte/Gnome/Evolution/lokal/src -Isrc/e-util -I/usr/include/gnome-autoar-0 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 
-I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 
-I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/wayland 
-I/usr/include/libxkbcommon -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 
-I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/enchant-2 
-I/home/elfring/Projekte/Test/Evolution/Service/current/include/evolution-data-server -I/usr/include/nss3 
-I/usr/include/nspr4 -I/usr/include/libsecret-1 -I/usr/include/libxml2 -I/usr/include/libsoup-2.4 
-I/usr/include/gail-3.0 -I/usr/include/gcr-3 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 
-I/usr/include/gnome-desktop-3.0 -I/usr/include/gsettings-desktop-schemas -I/usr/include/libseccomp 
-I/usr/include/webkitgtk-4.0 -I/usr/include/gspell-1 -I/home/elfring/Projekte/Gnome/Evolution/lokal 
-Isrc/libgnomecanvas -I/home/elfring/Projekte/Gnome/Evolution/lokal/src/libgnomecanvas -Wnested-externs 
-Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wdeclaration-after-statement 
-Werror-implicit-function-declaration -Wno-deprecated-declarations -fno-strict-aliasing 
-Wno-cast-function-type -Wwrite-strings -Wundef -Wredundant-decls -Wpointer-arith -Wmissing-noreturn 
-Wmissing-declarations -Winit-self -Wformat-security -Wformat  -O2 -g -DNDEBUG -fPIE 
-I/usr/include/gnome-autoar-0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount 
-I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz 
-I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo 
-I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 
-I/usr/include/wayland -I/usr/include/libxkbcommon -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread 
-I/usr/include/enchant-2 
-I/home/elfring/Projekte/Test/Evolution/Service/current/include/evolution-data-server -I/usr/include/nss3 
-I/usr/include/nspr4 -I/usr/include/libsecret-1 -I/usr/include/libxml2 -I/usr/include/libsoup-2.4 
-I/usr/include/gail-3.0 -I/usr/include/gcr-3 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 
-I/usr/include/gnome-desktop-3.0 -I/usr/include/gsettings-desktop-schemas -I/usr/include/libseccomp 
-I/usr/include/webkitgtk-4.0 -I/usr/include/gspell-1 -MD -MT 
src/e-util/CMakeFiles/test-proxy-preferences.dir/test-proxy-preferences.c.o -MF 
src/e-util/CMakeFiles/test-proxy-preferences.dir/test-proxy-preferences.c.o.d -o 
src/e-util/CMakeFiles/test-proxy-preferences.dir/test-proxy-preferences.c.o -c 
/home/elfring/Projekte/Gnome/Evolution/lokal/src/e-util/test-proxy-preferences.c
In file included from /home/elfring/Projekte/Gnome/Evolution/lokal/src/e-util/e-util.h:266,
                 from /home/elfring/Projekte/Gnome/Evolution/lokal/src/e-util/test-proxy-preferences.c:18:
/home/elfring/Projekte/Gnome/Evolution/lokal/src/e-util/e-webdav-browser.h:26:10: fatal error: 
libedataserverui/libedataserverui.h: No such file or directory
   26 | #include <libedataserverui/libedataserverui.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.


Now I imagine that the header file inclusion parameters can be extended somehow.
Would you like to clarify corresponding adjustment possibilities?

How should a path like the following be automatically chosen to resolve
such a software dependency?
~/Projekte/Test/Evolution/Service/current/home/elfring/Projekte/Test/Evolution/Service/current/include/evolution-data-server/libedataserverui/libedataserverui.h

Regards,
Markus


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]