Re: [squid-users] make distclean error in V3, 20050523 on debian sarge, x86

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 26 May 2005 19:09:41 +0200 (CEST)

On Mon, 23 May 2005, Éliás Tamás wrote:

> Hy all!
>
> why I try to make clean of squid source, it says, that's no target.
> Ok, I go into MAKEFILE and found distclean. However, distclean returns
> error on test-suite directory:
>
> <cut>
> rm -f *.lo
> rm -f Makefile
> test -z "" || rm -f
> rm -f libtool
> make[1]: Leaving directory `/data/shared/admshares/packages/squid-3.0-PRE3-20050523/icons'
> Making distclean in src
> make[1]: Entering directory `/data/shared/admshares/packages/squid-3.0-PRE3-20050523/src'
> Makefile:2356: ../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 `/data/shared/admshares/packages/squid-3.0-PRE3-20050523/src'
> make: *** [distclean-recursive] Error 1
>
> so the question is. If I change ./configure commands, and want to
> rebuild the whole squid completely, how to make it regenerate again
> the files and dirs? (Without re-unpack the source from archive.)

Until this problem with the development version is fixed, build in a
separate directory.

1. Start with a clean source tree.

2. When you compile Squid create a new directory for compiling, and run
the configure script from there using the path to your source tree

     /path/to/squidsources/configure --prefix=...

     make install

If you change the options, create a new build directory (or rm -rf the old
one) and redo step 2 above.

Regards
Henrik
Received on Thu May 26 2005 - 11:09:43 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:03 MDT