|Summary:||php SRPM will not build if kernel-source RPM not installed|
|Product:||[Retired] Red Hat Linux||Reporter:||bjn|
|Component:||php||Assignee:||Preston Brown <pbrown>|
|Status:||CLOSED RAWHIDE||QA Contact:|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2000-01-14 02:40:57 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
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.