Bug 8381 - php SRPM will not build if kernel-source RPM not installed
Summary: php SRPM will not build if kernel-source RPM not installed
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: php
Version: 6.1
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Preston Brown
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-01-11 19:12 UTC by bjn
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2000-01-14 02:40:57 UTC

Attachments (Terms of Use)

Description bjn 2000-01-11 19:12:05 UTC
When building from the php SRPM, during the compile of the embedded
imap-4.5 package, mail.c does an #include <linux/limits.h>, which will fail
if the kernel-source RPM isn't installed.  The work-around is to install
the kernel-source RPM.  The permanent fix is probably to include just plain
<limits.h>, but I didn't try this or look at the source.

Incidentally, why does the php SRPM bundle and build its own imap-4.5
package?  It should just require the imap-4.5 RPM that comes with RedHat,
as a build prerequisite.

Comment 1 Preston Brown 2000-01-14 02:40:59 UTC
the next release of php doesn't include imap, instead it accesses the static
c-client library provided from the new imap-devel package.

No library was provided before, so the code was included in the RPM directly.

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