Hi everyone,

I finally found the solution for this problem. This issues is raised by the mis-configuration of 'configure.ac' for gnome-online-accounts 3.26.2 to 3.29 (I tried both version, same problem). In the configure.ac, there is no line defines the variable 'GCR_API_SUBJECT_TO_CHANGE' required by the /usr/include/gcr-3/gcr-gcr.h. So I just add this line 'AC_DEFINE(GCR_API_SUBJECT_TO_CHANGE, 1, [Define to use the GCR API])'. Everything works fine.

BTW, there are several existing lines in the configure.ac that define GCR_API_SUBJECT_TO_CHANGE variable under the condition enabling kerberos. But I do not want to introduce kerberos. 



On 5/13/2018 20:49niuneilneo<[email protected]> wrote:
Hi, everyone. I am still building the environment for 8.2 systemd version blfs. Now my problem is the failure of making the gnome-online-accounts 3.26.2. The log is tediously long, and I only digest the most possibly related segments below:

Making all in goaidentity                                              [110/430]
make[3]: 进入目录(enter directory)“/home/neil/gnome/gnome-online-accounts-3.26.2/src/goaidentity”
make  all-am
make[4]: 进入目录“/home/neil/gnome/gnome-online-accounts-3.26.2/src/goaidentity”
  CC       goa_identity_service-goaidentityservice.o
In file included from goaidentityservice.c:29:0:
/usr/include/gcr-3/gcr/gcr.h:23:2: 错误(error):#error "This API has not yet reached st
ability."
 #error "This API has not yet reached stability."
  ^~~~~
In file included from /usr/include/gcr-3/gcr/gcr.h:31:0,
                 from goaidentityservice.c:29:
/usr/include/gcr-3/gcr/gcr-base.h:24:2: 错误:#error <gcr/This API has not yet r
eached stability.>
 #error <gcr/This API has not yet reached stability.>
  ^~~~~
In file included from /usr/include/gcr-3/gcr/gcr.h:32:0,
                 from goaidentityservice.c:29:
/usr/include/gcr-3/ui/gcr-ui.h:23:2: 错误:#error "This API has not yet reached
stability."
 #error "This API has not yet reached stability."

It seems that my compiler complains about the instability of gcr related headers, but actually I use the stable "Gcr-3.20.0" libraries as the blfs book suggests.

Is there any suggestion to get this problem fixed? I cannot go around this problem, as the gnome control center requires the gnome-online-accounts module.

Yours
Lein
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to