Andreas J. Koenig wrote: >>>>>> On Sat, 22 Dec 2007 13:52:26 +0100, [EMAIL PROTECTED] (Andreas J. >>>>>> Koenig) said: > >>>>>> On Fri, 21 Dec 2007 23:36:53 -0800, "Philippe M. Chiasson" <[EMAIL >>>>>> PROTECTED]> said: > >> http://www.apache.org/~gozer/mp1/mod_perl-1.31-rc1.tar.gz > > > The apache Configure on my box sets my LIBEXT to "a" which is indeed > > what I always wanted to have. So the rules for "so" were correct as > > they were written and I do not know if they ever were invoked. The > > result of the 1.31 build is that the httpsd in the end is only 0.5 MB > > instead of 1.7 MB and it doesn't start either. > > Sorry, I forgot this interesting make error message: > > Makefile:141: warning: overriding commands for target `libperl.a' > Makefile:136: warning: ignoring old commands for target `libperl.a' > > This is the content of the Makefile (maybe something is off by one, > but the point is that LIBEXT=a leads to a duplicate rule and the wrong > rule wins. > > 135 libperl.a: $(MP_OBJS) > 136 $(MP_RM) $@ > 137 $(MP_AR) crv $@ $(MP_OBJS) > 138 $(MP_RANLIB) $@ > 139 > 140 libperl.$(LIBEXT): $(MP_OBJS_PIC) > 141 $(MP_RM) $@ > 142 $(MP_LD) $(MP_LDFLAGS_SHLIB) -o $@ $(MP_OBJS_PIC) $(MP_LIBS) > 143
Looks like it was caused by httpd's own stuff defining LIBEXT and clobbering our own. Can you try the attached patch ? -- Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
Index: apaci/configure
===================================================================
--- apaci/configure (revision 606263)
+++ apaci/configure (working copy)
@@ -106,7 +106,7 @@
echo "AP_CFLAGS=-DMOD_PERL $my_apxs_cflags" >>$my_makefileconf
echo "INCLUDES=$my_apxs_includes" >>$my_makefileconf
echo "RANLIB=ranlib" >>$my_makefileconf
-echo "LIBEXT=$my_soext" >>$my_makefileconf
+echo "MP_LIBEXT=$my_soext" >>$my_makefileconf
echo "APACHEEXT=$my_apxs_sourcedir/src" >>$my_makefileconf
echo "APACHELIBEXEC=$my_apxs_libexec" >>$my_makefileconf
echo "BASEEXT=mod_perl" >>$my_makefileconf
Index: apaci/Makefile.tmpl
===================================================================
--- apaci/Makefile.tmpl (revision 606263)
+++ apaci/Makefile.tmpl (working copy)
@@ -37,7 +37,7 @@
##
# the library to build
-MP_LIB=libperl.$(LIBEXT)
+MP_LIB=libperl.$(MP_LIBEXT)
# the objects to use
MP_OBJS=\
@@ -56,7 +56,7 @@
$(MP_AR) crv $@ $(MP_OBJS)
$(MP_RANLIB) $@
-libperl.$(LIBEXT): $(MP_OBJS_PIC)
+libperl.$(MP_LIBEXT): $(MP_OBJS_PIC)
$(MP_RM) $@
$(MP_LD) $(MP_LDFLAGS_SHLIB) -o $@ $(MP_OBJS_PIC) $(MP_LIBS)
@@ -94,7 +94,7 @@
# FOR STAND-ALONE BUILDING ONLY
install:
- $(APXS) -i -a -n perl libperl.$(LIBEXT)
+ $(APXS) -i -a -n perl libperl.$(MP_LIBEXT)
depend:
cp Makefile.tmpl Makefile.tmpl.bak \
signature.asc
Description: OpenPGP digital signature
