Red Hat Bugzilla – Bug 217092
apache's apxs utility is broken because of an error in special.mk
Last modified: 2007-11-30 17:11:49 EST
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
$(top_builddir)/build/instdso.sh SH_LIBTOOL='$(SH_LIBTOOL)' $$i
I changed the line to latter and now it works.
I have the same problem. A custom Apache module compiles and installs only if
change Makefile (my was generated in FC4 some time ago):
--- Makefile (revision 838)
+++ Makefile (working copy)
@@ -4,8 +4,8 @@
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