Makefiles included with apache2-prefork-dev can't properly install modules created with apxs2 -g

Bug #398582 reported by Michael S. Fischer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: apache2-prefork-dev

Package: apache2-prefork-dev 2.2.9-7ubuntu3.1
Description: Ubuntu 8.10
Release: 8.10

To reproduce:

(1) Create a new apache module skeleton directory with apxs2:

$ apxs2 -g -n test

(2) Execute `make install' in the skeleton directory:

[... compilation messages ...]
/bin/bash: line 1: /build/instdso.sh: No such file or directory
make[1]: *** [install-modules-yes] Error 127

The following patch fixes the problem:

--- /usr/share/apache2/build/special.mk 2009-07-12 15:16:26.901340341 -0700
+++ /usr/share/apache2/build/special.mk.orig 2009-07-12 15:16:10.059729856 -0700
@@ -29,7 +29,7 @@
 install-modules-yes:
  @$(MKINSTALLDIRS) $(DESTDIR)$(libexecdir)
  @list='$(shared)'; for i in $$list; do \
- $(top_builddir)/build/instdso.sh SH_LIBTOOL='$(SH_LIBTOOL)' $$i $(DESTDIR)$(libexecdir); \
+ $(top_srcdir)/build/instdso.sh SH_LIBTOOL='$(SH_LIBTOOL)' $$i $(DESTDIR)$(libexecdir); \
  done

 install-modules-no:

Tags: apache
Chuck Short (zulcss)
Changed in apache2 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.