After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703635 - Compilation error: fatal error: folks/folks.h: No such file or directory
Compilation error: fatal error: folks/folks.h: No such file or directory
Status: RESOLVED NOTABUG
Product: folks
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: Unset
Assigned To: folks-maint
folks-maint
Depends on:
Blocks:
 
 
Reported: 2013-07-05 02:00 UTC by Manish Sinha
Modified: 2013-07-05 17:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Manish Sinha 2013-07-05 02:00:14 UTC
I am trying to build folks 0.9.3

This is the tail of build log

tpf-persona-store-cache.c:1847:55: warning: assignment from incompatible pointer type [enabled by default]
  FOLKS_OBJECT_CACHE_CLASS (klass)->deserialise_object = tpf_persona_store_cache_real_deserialise_object;
                                                       ^
  CC       libfolks_telepathy_la-tp-lowlevel.lo
  CCLD     libfolks-telepathy.la
  CC       libtp_lowlevel_la-tp-lowlevel.lo
  CCLD     libtp-lowlevel.la
  GISCAN   FolksTelepathy-0.6.gir
Package folks was not found in the pkg-config search path.
Perhaps you should add the directory containing `folks.pc'
to the PKG_CONFIG_PATH environment variable
No package 'folks' found
In file included from <stdin>:4:0:
/home/manish/folks/folks-testing/backends/telepathy/lib/folks/folks-telepathy.h:8:25: fatal error: folks/folks.h: No such file or directory
 #include <folks/folks.h>
                         ^
compilation terminated.
Error while processing the source.
make[4]: *** [FolksTelepathy-0.6.gir] Error 1
make[4]: Leaving directory `/home/manish/folks/folks-testing/backends/telepathy/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/manish/folks/folks-testing/backends/telepathy'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/manish/folks/folks-testing/backends'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/manish/folks/folks-testing'
make: *** [all] Error 2


The tail of build log is: http://paste.debian.net/plain/14460
The tail of ./autogen.sh is: http://paste.debian.net/plain/14461
Comment 1 Travis Reitter 2013-07-05 17:05:45 UTC
You will need to set PKG_CONFIG_PATH to include the folks/ subdir and any others which include a *-uninstalled.pc.in (which will create a *-uninstalled.pc)  so the appropriate build flags get included during the build process.

If you use a tool like jhbuild, it will do this for you.

After you install Folks for the first time, this probably wouldn't be necessary (though, strictly speaking, you should always have it set, in case we change their content).