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