Red Hat Bugzilla – Bug 863218
Require nss-devel instead of nss to be built on RHEL 6.3
Last modified: 2012-10-05 03:14:35 EDT
Created attachment 621760 [details]
Patch for configure.ac
Description of problem:
fence-agents requires nss-devel to be built from source on RHEL 6.3, as checked out from git://git.fedorahosted.org/fence-agents.git
Version-Release number of selected component (if applicable):
Straight git checkout (master as of Oct 3rd, 2012)
Steps to Reproduce:
1. git clone git://git.fedorahosted.org/fence-agents.git ; cd fence-agents
Will fail as it's looking for a "nss" package instead of nss-devel.
configure completing successfully
This patch doesn't make any sense at all.
I just did a fresh rhel6 install, install git and autotools.
checking for nss... configure: error: Package requirements (nss) were not met:
yum install nss-devel
./configure succeed as expected.
If I apply your patch, even with nss-devel installed:
checking for nss... configure: error: Package requirements (nss-devel) were not met:
There is no nss-devel.pc file anywhere.
pkg-config nss --libs
[root@rhel6-node2 fence-agents]# pkg-config nss --libs
-lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl
[root@rhel6-node2 fence-agents]# pkg-config nss-devel --libs
Package nss-devel was not found in the pkg-config search path.
Perhaps you should add the directory containing `nss-devel.pc'
to the PKG_CONFIG_PATH environment variable
No package 'nss-devel' found
The PKG_CHECK_MODULES invokation states:
and rpm package nss-devel provides MODULES nss (see /usr/lib(64)/pkg-config.
Either your build environment is not correct regarding nss vs nss-devel or you misunderstood how pkg-config works.