LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   dconf fails to configure: requires dconf (https://www.linuxquestions.org/questions/linux-from-scratch-13/dconf-fails-to-configure-requires-dconf-4175608290/)

jr_bob_dobbs 06-20-2017 09:58 PM

dconf fails to configure: requires dconf
 
(EDIT: Dconf not Gconf, d'oh!)


So I need the dconf package as a dependency for something else. Nothing new there. :)

Using version 8 of the book (stable). Got the version of dconf linked by the book. Have all required and recommended dependencies in already.

Problem (on ./configure phase):
Code:

root@artemis:dconf-editor-3.22.3 # ./configure --prefix=/usr --sysconfdir=/etc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for valac... /usr/bin/valac
checking whether /usr/bin/valac is at least version 0.33.1... yes
checking for glib-compile-resources... /usr/bin/glib-compile-resources
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for appstream-util... no
checking for DCONF_EDITOR... no
configure: error: Package requirements (
  glib-2.0 >= 2.46.0
  gtk+-3.0 >= 3.22.0
  dconf >= 0.25.1
  gmodule-2.0
) were not met:

No package 'dconf' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DCONF_EDITOR_CFLAGS
and DCONF_EDITOR_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
root@artemis:dconf-editor-3.22.3 #

If I understand that correctly, dconf fails to compile because of a needed dependency ... of itself.

Can anyone clarify this, please?

Terry Coats 06-20-2017 11:30 PM

Which is it, dconf or gconf? I'm confused.
Looks like you are trying to compile dconf-editor
which will give that error if you forgot to compile
and install dconf-0.26.0 first.
I'll admit the error message is confusing.

jr_bob_dobbs 06-21-2017 04:58 PM

Right: I must be punchy from too much compiling. :o dconf. not gconf. I've edited my original post.

The dconf editor is part of the dconf package. Looks like I'll have to bootstrap by first compiling dconf, then I can compile dconf. Oh ... wait a minute.

jr_bob_dobbs 06-21-2017 05:16 PM

All right: i'm a dummy.

dconf is one package. dconf-editor is a second package. I had been trying to build dconf-editor thinking it was dconf. Arg.


All times are GMT -5. The time now is 03:07 PM.