Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538006 - dev-libs/hiredis-0.11.0-r1 should install hiredis.pc
Summary: dev-libs/hiredis-0.11.0-r1 should install hiredis.pc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Johan Bergström
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-27 19:11 UTC by Biser Milanov
Modified: 2015-07-16 11:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
hiredis.pc (hiredis.pc,270 bytes, text/plain)
2015-01-27 19:14 UTC, Biser Milanov
Details
emerge --info (emerge_info,4.22 KB, text/plain)
2015-01-27 19:14 UTC, Biser Milanov
Details
configure output (config_error,2.13 KB, text/plain)
2015-01-27 19:15 UTC, Biser Milanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Biser Milanov 2015-01-27 19:11:30 UTC
I am trying to install ntopng on Raspberry Pi, but during the configure stage I get the attached.

On further inspection I see that I am missing "hiredis.pc" from /usr/lib/pkgconfig.

I don't know if it should ship with one or it is created during the emerge, but the fact is that it's missing.

Creating one (attached) with guessed values seems to fix the issue.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-libs/hiredis
2. download latest source of ntopng, unpack and enter directory
3. ./autogen && ./configure
Actual Results:  
Package hiredis was not found in the pkg-config search path.
Perhaps you should add the directory containing `hiredis.pc'
to the PKG_CONFIG_PATH environment variable
No package 'hiredis' found


Expected Results:  
Hiredis already installed, should not error.
Comment 1 Biser Milanov 2015-01-27 19:14:24 UTC
Created attachment 395024 [details]
hiredis.pc
Comment 2 Biser Milanov 2015-01-27 19:14:47 UTC
Created attachment 395026 [details]
emerge --info
Comment 3 Biser Milanov 2015-01-27 19:15:28 UTC
Created attachment 395028 [details]
configure output
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-27 20:02:24 UTC
Comment on attachment 395024 [details]
hiredis.pc

That should be generated by the Makefile.
Comment 5 Johan Bergström 2015-06-01 04:46:30 UTC
Work in progress ebuild can be found here: https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/136
Comment 6 Jesus Rivero (RETIRED) gentoo-dev 2015-07-16 11:42:34 UTC
I believe Johan already took care of this.
Closing it as fixed.