Description of problem: Having installed packages hiredis and hiredis-devel, then attempting to build rsyslogd with redis out module support I get the following error: ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix= --bindir=/bin --sbindir=/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/lib64 --libexecdir=/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --disable-testbench --enable-uuid --enable-elasticsearch --enable-ommongodb --enable-omkafka --enable-usertools --enable-gt-ksi --enable-gnutls --enable-imfile --enable-impstats --enable-imptcp --enable-libdbi --enable-mail --enable-mysql --enable-omprog --enable-omudpspoof --enable-omuxsock --enable-pgsql --enable-pmlastmsg --enable-relp --enable-snmp --enable-unlimited-select --enable-mmjsonparse --enable-mmnormalize --enable-mmanon --enable-mmutf8fix --enable-mail --enable-mmfields --enable-mmpstrucdata --enable-mmsequence --enable-pmaixforwardedfrom --enable-pmciscoios --enable-guardtime --enable-omhiredis --enable-omhttpfs --SNIP-- --lots of output from configure-- --SNIP-- checking for HIREDIS... no configure: error: Package requirements (hiredis >= 0.10.1) were not met: No package 'hiredis' 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 HIREDIS_CFLAGS and HIREDIS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Version-Release number of selected component (if applicable): 0.10.1 How reproducible: Absolute Steps to Reproduce: 1. configure rsyslog repo from http://rpms.adiscon.com/v8-stable/ for additional libraries required for build (sorry I cant remember what they are but installing all of the following will ensure coverage: libgt-devel libksi-devel librelp-devel liblognorm1-devel liblognorm1-devel liblognorm1-devel libmongo-client-devel adiscon-librdkafka-devel) 2. download and extract source from http://www.rsyslog.com/files/download/rsyslog/rsyslog-8.14.0.tar.gz 3. configure with commandline: ./configure --enable-omhiredis Actual results: checking for HIREDIS... no configure: error: Package requirements (hiredis >= 0.10.1) were not met: No package 'hiredis' 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 HIREDIS_CFLAGS and HIREDIS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Expected results: --SNIP-- --lots of output from configure-- --SNIP-- ---{ database support }--- MySql support enabled: no libdbi support enabled: no PostgreSQL support enabled: no mongodb support enabled: no hiredis support enabled: yes --SNIP-- Additional info: the file /usr/lib64/pkgconfig/hiredis.pc is missing. creating the file with the contents below results in a successful configuration and build of rsyslogd. The file should be created as per: https://github.com/redis/hiredis/blob/master/Makefile prefix=/usr exec_prefix=/usr libdir=/usr/lib64 includedir=/usr/include Name: hiredis Description: Minimalistic C client library for Redis. Version: 0.10.1 Libs: -L${libdir} -lhiredis Cflags: -I${includedir} -D_FILE_OFFSET_BITS=64
If helpful I can have a crack at updating the spec file to fix this.
Matthew, now the package is orphaned. Feel free to pick it up https://admin.fedoraproject.org/pkgdb/package/rpms/hiredis/ and update accordingly.
This message is a reminder that EPEL 6 is nearing its end of life. Fedora will stop maintaining and issuing updates for EPEL 6 on 2020-11-30. It is our policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of 'el6'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later EPEL version. Thank you for reporting this issue and we are sorry that we were not able to fix it before EPEL 6 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
EPEL el6 changed to end-of-life (EOL) status on 2020-11-30. EPEL el6 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of EPEL please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.