View previous topic :: View next topic |
Author |
Message |
NuMPTy Tux's lil' helper
Joined: 04 Mar 2012 Posts: 78
|
Posted: Fri Apr 26, 2013 2:12 am Post subject: No package 'json' found |
|
|
Hi everyone,
Just tried to install darktable, which failed miserably due to (what I assumed were) missing symlinks. Ran revdep-rebuild, seems like pulseaudio is broken and is grabbed.
During the rebuild of pulse, it errors out due to:
Code: | configure: error: Package requirements ( json >= 0.9 ) were not met:
No package 'json' 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 LIBJSON_CFLAGS
and LIBJSON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
|
It looks like I've got json installed all over the place, and json-c is definitely >=0.9 (it's @ .11)
Code: | # eix -I json | grep -i json | grep -v 'Homepage\|Description'
[I] dev-libs/json-c
[I] dev-libs/json-glib
[I] dev-ruby/json
[I] perl-core/JSON-PP
[I] virtual/perl-JSON-PP
|
What the junk do I do? :\ |
|
Back to top |
|
|
jeffk l33t
Joined: 13 Sep 2003 Posts: 671
|
Posted: Fri Apr 26, 2013 4:55 am Post subject: |
|
|
I was bit by this json-c upgrade from 0.10-r1 to 0.11 today. Tons of stuff stopped working, and build tools like aclocal failed to run, making it difficult to repair.
My solution was to reach another gentoo box on the same architecture, use quickpkg to get a binary of json-c-0.10-r1, and bring it back to my laptop to undo the json-c-0.11 upgrade.
A convenient tool to restore the binary package is https://github.com/zoobab/quickunpkg . Put this in your ~/bin, mark it executable, and run it on the json-c-0.10-r1.tar.bz2 file.
Jeff |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1213 Location: Massachusetts USA
|
|
Back to top |
|
|
kurly Apprentice
Joined: 02 Apr 2012 Posts: 260
|
Posted: Fri Apr 26, 2013 5:31 am Post subject: |
|
|
From bug #467280, there is a workaround to downgrade your json-c temporarily: https://bugs.gentoo.org/show_bug.cgi?id=467280#c3
On my laptop, I have temporarily masked 0.11 in favor of 0.10-r1. You may find other relevant information at the bug link above. |
|
Back to top |
|
|
NuMPTy Tux's lil' helper
Joined: 04 Mar 2012 Posts: 78
|
Posted: Fri Apr 26, 2013 11:27 am Post subject: |
|
|
Looks like the automake workaround did it, thank you!
For anyone else wandering into the thread:
Code: |
$ grep json /etc/portage/package.mask
>dev-libs/json-c-0.10-r1
# WANT_AUTOMAKE=1.12 emerge -avuDNq json-c
|
|
|
Back to top |
|
|
|