httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject [PATCH] fix "make install" on Tru64
Date Mon, 13 Nov 2000 22:19:23 GMT
(Well, it fixes it up to the point where we get to the docs...  After
I get the docs installed hopefully it will finish.)


With Tru64, make picks up a bad status from the child shell process
when it evaluates the "`echo ($static) | grep 'mod_so'` (see below),
causing make to bail out.

But that grep should always fail when "make install" runs in
modules/extra and unless we have mod_so it will fail when "make
install" runs in modules/standard.

The work-around is to explicitly ignore the exit status from the

But now even with GNU make we pick up a silly warning:


make[3]: Entering directory `/home/trawick/apache/apache-2.0/src/modules/extra'
make[3]: [install-modules] Error 1 (ignored)


Making install in extra
*** Exit 1 (ignored)

Any better ideas?

One alternative is to leave the original rule alone but ignore the
exit status.  We still get the silly warning on Tru64 but not on a
system with GNU make.  However, this doesn't seem cool since it would
ignore important stuff (mkinstalldirs, libtool).

Index: build/
RCS file: /home/cvspublic/apache-2.0/src/build/,v
retrieving revision 1.7
diff -u -r1.7
--- build/    2000/10/05 03:44:22     1.7
+++ build/    2000/11/13 22:05:34
@@ -61,8 +61,9 @@
 install_targets = install-modules

+       -@has_mod_so=`echo $(static) | grep 'mod_so'`
        @shared='$(shared)'; \
-       if [ "x`echo $(static) | grep 'mod_so'`" != "x" ]; then \
+       if [ "x$(has_mod_so)" != "x" ]; then \
                $(MKINSTALLDIRS) $(libexecdir); \
                for i in $$shared; do \
                        $(SH_LIBTOOL) --mode=install cp $$i
$(libexecdir); \

Jeff Trawick | | PGP public key at web site:
          Born in Roswell... married an alien...

View raw message