Fail to find Accounts/Account

Bug #1033955 reported by Guillaume Desmottes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Online Accounts: libaccounts-qt
Unknown
Unknown

Bug Description

I'm building signon-ui into a custom prefix (jhbuild) and it failed to find Accounts/Account.

g++ -c -pipe -fno-exceptions -fno-rtti -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -D_REENTRANT -pthread -Wall -W -DDEBUG_ENABLED -DI18N_DOMAIN=\"signon-ui\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtDBus -I/usr/include/QtWebKit -I/usr/include -I. -I/usr/include/accounts-qt -I/usr/include/QtXml -I/usr/include/signon-plugins -I/usr/include/signon-plugins/SignOn -I../../../../usr/include/glib-2.0 -I../../../../usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I../../../../usr/include/signon-qt -I../../../../usr/include/signon-qt/SignOn -I../../../../usr/include/signon-plugins -I../../../../usr/include/signon-plugins/SignOn -o request.o request.cpp
request.cpp:34:28: fatal error: Accounts/Account: No such file or directory

Revision history for this message
Guillaume Desmottes (cassidy) wrote :

/usr/include/accounts-qt doesn't exist here, it should be $prefix/include/accounts-qt

This looks like an error in accounts-qt.pc :

$ pkg-config --cflags accounts-qt
-DQT_SHARED -I/usr/include/accounts-qt -I/usr/include/QtXml -I/usr/include/QtCore

affects: online-accounts-signon-ui → online-accounts-libaccounts-qt
Revision history for this message
Guillaume Desmottes (cassidy) wrote :

Indeed I had "prefix=/usr" in accounts-qt.pc instead of the custom prefix.

Revision history for this message
Alberto Mardegan (mardy) wrote :

Reported upstream.

Changed in online-accounts-libaccounts-qt:
importance: Undecided → Unknown
status: New → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.