[Bug 398582] [NEW] Makefiles included with apache2-prefork-dev can't properly install modules created with apxs2 -g

Michael S. Fischer michael+launchpad at dynamine.net
Sun Jul 12 23:28:46 BST 2009


Public bug reported:

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:

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apache

-- 
Makefiles included with apache2-prefork-dev can't properly install modules created with apxs2 -g
https://bugs.launchpad.net/bugs/398582
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.



More information about the Ubuntu-server-bugs mailing list