1
[root@localhost rpm-ostree]# ./configure 
checking for library containing rpmsqSetInterruptSafety... no
checking for PKGDEP_GIO_UNIX... yes
checking for PKGDEP_RPMOSTREE... no
configure: error: Package requirements (gio-unix-2.0 >= 2.40.0 json-glib-1.0
                     ostree-1 >= 2015.1 libgsystem >= 2015.1
                     rpm hawkey libhif >= 0.2.0) were not met:

No package 'json-glib-1.0' found
No package 'ostree-1' found
No package 'libgsystem' found
No package 'rpm' found
No package 'hawkey' found
No package 'libhif' 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 PKGDEP_RPMOSTREE_CFLAGS
and PKGDEP_RPMOSTREE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

[root@localhost rpm-ostree]# dnf install rpm hawkey libhif libgsystem ostree json-glib
Last metadata expiration check performed 0:10:52 ago on Mon Oct 26 10:33:32 2015.
Package rpm-4.12.0.1-9.fc22.ppc64le is already installed, skipping.
Package hawkey-0.5.6-1.fc22.ppc64le is already installed, skipping.
Package libhif-0.2.0-3.fc22.ppc64le is already installed, skipping.
Package libgsystem-2015.1-2.fc22.ppc64le is already installed, skipping.
Package ostree-2015.6-2.fc22.ppc64le is already installed, skipping.
Package json-glib-1.0.4-1.fc22.ppc64le is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
1
  • Do you perchance have any 3rd party repos enabled? If you get libraries from a 3rd party repo (such as by running sudo yum update with 3rd party repos enabled) you can get weird errors.
    – Wildcard
    Oct 26, 2015 at 6:08

1 Answer 1

3

This is basically the same class of errors as in the question Trying to automake gnome-terminal. You need to install the -devel packages, which contain the header files and library stubs that are necessary for building code that uses these libraries.

In my opinion, the author of the software you appear to be trying to build should provide an RPM build spec that declares its build dependencies, especially since the software is designed to work with RPM. If the software came with a spec file, then you could just run dnf builddep rpm-ostree.spec then rpmbuild -ba rpm-ostree.spec. This is an opportunity for you to make an enhancement request or contribute the RPM packaging.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .