Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No package 'json' found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
NuMPTy
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2012
Posts: 75

PostPosted: Fri Apr 26, 2013 2:12 am    Post subject: No package 'json' found Reply with quote

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? :\
_________________
ACCEPT_KEYWORDS="~amd64"
Back to top
View user's profile Send private message
jeffk
Guru
Guru


Joined: 13 Sep 2003
Posts: 584

PostPosted: Fri Apr 26, 2013 4:55 am    Post subject: Reply with quote

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
View user's profile Send private message
jburns
l33t
l33t


Joined: 18 Jan 2007
Posts: 810
Location: Massachusetts USA

PostPosted: Fri Apr 26, 2013 5:30 am    Post subject: Reply with quote

There is a filed bug with a work around. See https://bugs.gentoo.org/show_bug.cgi?id=467280
Back to top
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 169

PostPosted: Fri Apr 26, 2013 5:31 am    Post subject: Reply with quote

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
View user's profile Send private message
NuMPTy
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2012
Posts: 75

PostPosted: Fri Apr 26, 2013 11:27 am    Post subject: Reply with quote

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

_________________
ACCEPT_KEYWORDS="~amd64"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum