Description of problem: Install httpd-devel package, create a sample module with usr/sbin/apxs -g -n foo and then try to install that module. It gives out error that it cannot find /etc/httpd/build/instdso.sh. Problem is in line 32 in modules.mk which reads: $(top_srcdir)/build/instdso.sh SH_LIBTOOL='$(SH_LIBTOOL)' $$i $(DESTDIR)$(libexecdir); instead of $(top_builddir)/build/instdso.sh SH_LIBTOOL='$(SH_LIBTOOL)' $$i $(DESTDIR)$(libexecdir); I changed the line to latter and now it works.
FC6, httpd-devel-2.2.3-5 I have the same problem. A custom Apache module compiles and installs only if change Makefile (my was generated in FC4 some time ago): Index: Makefile =================================================================== --- Makefile (revision 838) +++ Makefile (working copy) @@ -4,8 +4,8 @@ ## builddir=. -top_srcdir=/etc/httpd -top_builddir=/etc/httpd +top_srcdir=/usr/lib/httpd +top_builddir=/usr/lib/httpd include /usr/lib/httpd/build/special.mk /usr/lib/httpd/build/special.mk I don't know the right way to fix it. Shall it be special.mk or apxs which generated Makefile with wrong top_srcdir value.
For me it helped to change that one line in special.mk. Also, another module that I was trying to compile was giving out same error, and after changing special.mk it all works as a charm Btw, is anybody from redhat/fedora maintainers even reading this?
Yes ;) This is fixed in the Raw Hide branch as of a yesterday - thanks for the report. I'll leave this open to remember to fix it in a future FC6 httpd update. The fix used is to: sed -i '/instdso/s,top_srcdir,top_builddir,' /usr/lib/httpd/build/special.mk