Opened 6 years ago
Last modified 3 years ago
#56548 closed defect
geoclue2 : build error with dependency glib2 +quartz — at Initial Version
Reported by: | tk7r (Thomas Kotzian) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.0 |
Keywords: | Cc: | ||
Port: | geoclue2, glib2 |
Description
i am trying to build geoclue2 but the build stops with the following error
/usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -D_REENTRANT -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -Wall -DLOCALEDIR="\"/opt/local/share/locale\"" -DABS_SRCDIR=\""/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_geoclue2/geoclue2/work/geoclue-2.4.10/demo"\" -I../src -I../src -I../src/agent -I../src/agent -I../public-api -I../public-api -pipe -Os -arch x86_64 -O0 -ggdb3 -MT agent-gclue-service-agent.o -MD -MP -MF .deps/agent-gclue-service-agent.Tpo -c -o agent-gclue-service-agent.o test -f 'gclue-service-agent.c' || echo './'
gclue-service-agent.c
:info:build gclue-service-agent.c:26:10: fatal error: 'gio/gdesktopappinfo.h' file not found
:info:build #include <gio/gdesktopappinfo.h>
:info:build
:info:build 1 error generated.
:info:build make[2]: * [agent-gclue-service-agent.o] Error 1
looking into the contents of glib2 (+quartz) there is no such header file "gio/gdesktopappinfo.h". - is it a problem with glib2 using variant +quartz or has the missing file been removed in a newer glib2 version?
please help!