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) How reproducible: Always Steps to Reproduce: 1. git clone git://git.fedorahosted.org/fence-agents.git ; cd fence-agents 2. ./autogen.sh 3. ./configure Actual results: Will fail as it's looking for a "nss" package instead of nss-devel. Expected results: configure completing successfully Additional info:
This patch doesn't make any sense at all. I just did a fresh rhel6 install, install git and autotools. ./autogen.sh ./configure 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: PKG_CHECK_MODULES(VARIABLE-PREFIX,MODULES[,ACTION-IF-FOUND,[ACTION-IF-NOT-FOUND]]) 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.