DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23728>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23728 httpd.spec and Red Hat 9. Summary: httpd.spec and Red Hat 9. Product: Apache httpd-2.0 Version: 2.0.47 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Build AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Hi, Summary: I wish to build Apache 2.0.47 for Red Hat 9 as it contains mod_ldap and mod_auth_ldap. I initially tried to simply: rpmbuild -ta httpd-2.0.47.tar.gz but this does not work as db3-devel is required but Red Hat has moved on, it seems, and now only db4-devel is available. I edited the httpd.spec to reflect this and it proceeded to build the package with "rpmbuild -ba httpd.spec" from within the source tree. Then when it was putting together the file list the following was printed out: error: Installed (but unpackaged) file(s) found: /usr/lib/libapr-0.a /usr/lib/libapr-0.la /usr/lib/libaprutil-0.a /usr/lib/libaprutil-0.la /usr/share/man/man8/apachectl.8.gz /usr/share/man/man8/httpd.8.gz /var/www/error/README RPM build errors: File listed twice: /etc/httpd/conf/ssl.conf Installed (but unpackaged) file(s) found: /usr/lib/libapr-0.a /usr/lib/libapr-0.la /usr/lib/libaprutil-0.a /usr/lib/libaprutil-0.la /usr/share/man/man8/apachectl.8.gz /usr/share/man/man8/httpd.8.gz /var/www/error/README Here is a diff (diff -u) of the changes I had to make to get it to build: --- httpd.spec 2003-07-07 15:52:14.000000000 +0100 +++ /tmp/httpd.spec 2003-10-10 14:02:17.000000000 +0100 @@ -17,7 +17,7 @@ License: Apache Software License Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-root -BuildPrereq: openldap-devel, db3-devel, expat-devel, findutils, perl, pkgconfig +BuildPrereq: openldap-devel, db4-devel, expat-devel, findutils, perl, pkgconfig Requires: gawk, /usr/share/magic.mime, /usr/bin/find, openldap Prereq: /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv Prereq: sh-utils, textutils, /usr/sbin/useradd @@ -318,8 +318,8 @@ %{_sbindir}/rotatelogs %attr(4510,root,%{suexec_caller}) %{_sbindir}/suexec -%{_libdir}/libapr-0.so.* -%{_libdir}/libaprutil-0.so.* +%{_libdir}/libapr-0* +%{_libdir}/libaprutil-0* %dir %{_libdir}/httpd %dir %{_libdir}/httpd/modules @@ -333,6 +333,7 @@ %dir %{contentdir}/html %dir %{contentdir}/icons %dir %{contentdir}/error +%{contentdir}/error/README %dir %{contentdir}/error/include %{contentdir}/icons/* %config(noreplace) %{contentdir}/error/*.var @@ -346,6 +347,8 @@ %{_mandir}/man8/rotatelogs* %{_mandir}/man8/suexec* +%{_mandir}/man8/apachectl* +%{_mandir}/man8/httpd* %files manual %defattr(-,root,root) The package then built without any problems. I installed it and tested it briefly (seemed to work) with ssl as well. But, of course, this does not take into account all the module packages that depend on the earlier release so some additional rebuilding of packages will be required in order to use the generated RPM. I modified the actual httpd.spec but one would should really modify build/rpm/httpd.spec.in and re-run "buildconf". Cheers, Fred. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
