FedoraDS "Building" docs @, http://directory.fedoraproject.org/wiki/Building#External_Requirements state, " ... The directory server configure script will first attempt to find these components using pkg-config (e.g. pkg-config --libs nspr) or the package specific config script (e.g. icu-config or net-snmp-config) ..." Build/install of 'adminutil' however installs creates "adminutil.pc", cat /usr/lib/pkgconfig/adminutil.pc prefix=/usr exec_prefix=/usr libdir=${exec_prefix}/lib includedir=${prefix}/include Name: adminutil Description: Utility library for directory server administration Version: 1.1.6 Requires: nspr, nss, svrcore, mozldap, icu Libs: -ladmsslutil -ladminutil Cflags: -I${includedir}/admsslutil -I${includedir}/adminutil which instructs pkg-config to "require", and fails for lack of, icu.pc, pkg-config --libs adminutil Package adminutil was not found in the pkg-config search path. Perhaps you should add the directory containing `adminutil.pc' to the PKG_CONFIG_PATH environment variable No package 'adminutil' found containing a "Require" for icu -- installation of ICU from raw source creates/installs *no* icu.pc, rather icu-config. rpm-install of icu on OpenSuse does the same -- no icu.pc. afaict, only redhat/fedora seem to install/require the "non-standard" icu.pc, despite the docs. modding adminutil.pc, - Requires: nspr, nss, svrcore, mozldap, icu + Requires: nspr, nss, svrcore, mozldap removes the 'fail'. as for downstream, richm @ #fedora-ds "the only packages that use adminutil are fedora-ds-admin and fedora-ds-dsgw - and both of those require icu separately, so removing that Requires should cause no problems." nonetheless, DS sources should depend on standard/documented icu-config, rather than on mfg'd icu.pc.
Created attachment 396645 [details] patch
commit 2720ccb5a5637ec9224ef180437f68505d07135a Author: Rich Megginson <rmeggins> Date: Fri Feb 26 12:19:15 2010 -0700 Reviewed by: nkinder (Thanks!) Branch: HEAD
389-adminutil-1.1.10-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/389-adminutil-1.1.10-1.fc12
389-adminutil-1.1.10-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/389-adminutil-1.1.10-1.fc13
389-adminutil-1.1.10-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/389-adminutil-1.1.10-1.fc11
(In reply to comment #0) > installation of ICU from raw source creates/installs *no* icu.pc, rather > icu-config. That's because the downstream (RedHat) went ahead and created icu.pc without contributing the patch back up. When I implemented http://bugs.icu-project.org/trac/ticket/6981 we created separate .pc's, because there are multiple patches. I filed a ticket in ICU, http://bugs.icu-project.org/trac/ticket/9478 to create a deprecated icu.pc for compatibility.