Bug 694339 - openldap-devel missing headers
Summary: openldap-devel missing headers
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: openldap
Version: 5.5
Hardware: i386
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Jan Vcelak
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-07 02:19 UTC by David Dreggors
Modified: 2013-03-04 01:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-17 14:14:26 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description David Dreggors 2011-04-07 02:19:19 UTC
Description of problem:
The openldap-devel package seems to be missing headers that are required to build external modules for openldap/openldap-servers.

Version-Release number of selected component (if applicable):
openldap-devel-2.3.43-12.el5_5.3

How reproducible:
Every time

Steps to Reproduce:
1. install openldap-devel (and all openldap packages needed for openldap-servers)
2. try to build check_password module (for instance) using the include path -I/usr/include (as per rpm -ql openldap-devel)

  
Actual results:
The module compile fails with errors about not finding slap.h and portable.h
After a thorough search of all openldap rpms these files do not seem to be present even though they exist in the src rpm.

Expected results:
The module builds properly finding all headers needed.

Additional info:
Since this is the point of a devel package, it seems that all necessary headers should be contained in that package it would seem. 

Not just the portable.h and the ldap.h but also the files that are included in those files and their the resulting includes in them as well. In others words all openldap headers.

I have built this module using the source tree in the openldap src.rpm after extracting it but I lose the benefit of your upstream patches this way since the rpm build process for openldap does the patching.


Can you please update the openldap-devel package to have the patched header files needed?

Thanks

Comment 1 Jan Vcelak 2011-08-17 14:14:26 UTC
We ship all header files installed by "make install" without any changes from upstream. If you want to compile your own external module, you can install/extract OpenLDAP SRPM and run 'rpmbuild -bp openldap.spec'. You will get the source tree with all our patches applied.


Note You need to log in before you can comment on or make changes to this bug.