httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [BUG] "make clean" doesn't make clean enough...
Date Tue, 02 Sep 1997 14:31:53 GMT
+1

Martin Kraemer wrote:
> 
> 
> --XsQoSWH+UP9D9v3l
> Content-Type: text/plain; charset=us-ascii
> 
> I just did a
>     > make clean
>     > emacs Configuration
>     > Configure
>     > make
> after switching to a new machine on which I tried to compile the apache
> source (in the same NFS-mounted source tree where I had compiled it
> before, but for a different architecture). Make finally ended in...
> 
> > ld: /home/martin/apachen/src/os/unix/os.o: \
> >   fatal error: /home/martin/apachen/src/os/unix/os.o: wrong machine type
> > Make: *** [httpd] Error 1                             ^^^^^^^^^^^^^^^^^^
> 
> because the "make clean" had forgotten to clean the old src/os/unix/os.o
> 
> I think the generated Makefile in src/ ought to propagate the make clean
> to $(OSDIR)/ (i.e., os/unix/Makefile).  It doesn't now.
> 
> Patch to Makefile.tmpl appended.
> 
>     Martin
> -- 
> | S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
> | ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
> | N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
> ~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request
> 
> --XsQoSWH+UP9D9v3l
> Content-Type: text/plain; charset=us-ascii
> Content-Description: Makefile.tmpl.patch
> Content-Disposition: attachment; filename=x
> 
> --- apachen/src/Makefile.tmpl.bak	Mon Aug 25 14:25:28 1997
> +++ apachen/src/Makefile.tmpl	Tue Sep  2 16:08:01 1997
> @@ -61,6 +61,7 @@
>  	cd regex; $(MAKE) clean
>  	cd modules; $(MAKE) clean
>  	cd support; $(MAKE) clean
> +	cd $(OSDIR); $(MAKE) clean
>  
>  dist.tar: 
>  	# Assure a semi-sensible configuration going out...
> 
> --XsQoSWH+UP9D9v3l--
> 


-- 
====================================================================
      Jim Jagielski            |       jaguNET Access Services
     jim@jaguNET.com           |       http://www.jaguNET.com/
            "Look at me! I'm wearing a cardboard belt!"

Mime
View raw message