Bug 692675
Summary: | nfs-utils-lib 1.1.5 build lacks ldap support | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | friedman | ||||
Component: | nfs-utils-lib | Assignee: | Steve Dickson <steved> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 14 | CC: | narf, steved | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-03-13 19:43:07 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
friedman
2011-03-31 20:07:10 UTC
Created attachment 489222 [details]
build fix
Here specifically are the changes I applied to the rpm in order to build in LDAP support. The changes to configure.in (adding a pluginpath option) seems to be a no-op since rpmbuild's %configure macro doesn't use it and nothing else sets it. Without that upstream change, it seems unnecessary to regenerate the autoconf/libtool scripts or to include config.h.
This problem is still present in the Fedora 15 development builds as of 1.2.3-11.fc15. Sorry, I specified the version number for the wrong package and in any case things have moved around a little bit. The problem still exists with libnfsidmap-0.24-5.fc15. Does this warrant filing a new bug? Nevermind; filing a new bug against libnfsidmap since I have a proper patch for it. Sorry for the comment spam here. I have also encountered this issue in Fedora 15. I was able to fix it by applying this simple patch: --- nfs-utils-lib-1.1.5/libnfsidmap/umich_ldap.c-orig 2011-06-22 01:10:57.050728002 -0400 +++ nfs-utils-lib-1.1.5/libnfsidmap/umich_ldap.c 2011-06-22 01:11:04.755727994 -0400 @@ -32,6 +32,10 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif /* HAVE_CONFIG_H */ + #ifdef ENABLE_LDAP #include <sys/types.h> *** This bug has been marked as a duplicate of bug 705952 *** |