Re: make distclean annoyance

From: Serassio Guido <guido.serassio@dont-contact.us>
Date: Sat, 03 Dec 2005 10:06:54 +0100

Hi Duane,

At 20.04 01/12/2005, Duane Wessels wrote:

>Does anyone know how to make 'make distclean' work again for squid3?
>
>Making distclean in auth
>...
>rm -rf basic/.deps digest/.deps negotiate/.deps ntlm/.deps
>
>...
>
>Making distclean in .
>"Makefile", line 2358: Could not find auth/basic/.deps/basicScheme.Po
>"Makefile", line 2359: Could not find auth/digest/.deps/digestScheme.Po
>"Makefile", line 2360: Could not find auth/negotiate/.deps/negotiateScheme.Po
>"Makefile", line 2361: Could not find auth/ntlm/.deps/ntlmScheme.Po
>"Makefile", line 2363: Could not find fs/coss/.deps/StoreFScoss.Po
>"Makefile", line 2365: Could not find fs/null/.deps/StoreFSnull.Po
>"Makefile", line 2366: Could not find fs/ufs/.deps/StoreFSufs.Po
>make: fatal errors encountered -- cannot continue

I think that there is something wrong in our Mafefile.am files:

I get a different error running "make distclean":

serassio@rea:~/squid3$ make distclean
Making distclean in test-suite
make[1]: Entering directory `/home/serassio/squid3/test-suite'
  rm -f debug debug
  rm -f ESIExpressions ESIExpressions
  rm -f http_range_test http_range_test
  rm -f MemPoolTest MemPoolTest
  rm -f mem_node_test mem_node_test
  rm -f mem_hdr_test mem_hdr_test
  rm -f refcount refcount
  rm -f rfc1738 rfc1738
  rm -f splay splay
  rm -f StackTest StackTest
  rm -f syntheticoperators syntheticoperators
  rm -f VirtualDeleteOperator VirtualDeleteOperator
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[1]: Leaving directory `/home/serassio/squid3/test-suite'

.... cutted output ....

Making distclean in src
make[1]: Entering directory `/home/serassio/squid3/src'
Makefile:2144: ../test-suite/.deps/test_tools.Po: No such file or directory
make[1]: *** No rule to make target `../test-suite/.deps/test_tools.Po'. Stop.
make[1]: Leaving directory `/home/serassio/squid3/src'
make: *** [distclean-recursive] Error 1

This problem is present from a long time.

This happens because we have a reference to test-suite/test_tools.cc
in both src/Makefile.am and test-suite\Makefile.am, causing "make
distclean" to always fail.

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Sat Dec 03 2005 - 02:07:11 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:03 MST