[PATCH] Re: compile error with 3.2.0.3-20101122

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 23 Nov 2010 03:25:02 +0000

On Mon, 22 Nov 2010 21:42:45 +0200, Arthur Titeica <arthur_at_psw.ro> wrote:
> Hello.
>
> I usually build squid with:
>
> mkdir build # in the source root dir
> cd build
> ../configure --options
> make and make install
>
> This has worked well with various 3.1 versions and with the first
> version of 3.2.0.3.
>
> Howver, with 3.2.0.3-20101122 I get this error:
>
>> Assembler messages:
>> Fatal error: can't create ../src/tests/stub_debug.o: No such file or
>> directory make[2]: *** [../src/tests/stub_debug.o] Error 2
>> make[2]: Leaving directory
>> `/usr/src/squid/squid-3.2.0.3-20101122/build/tools' make[1]: ***
>> [all-recursive] Error 1
>
> Building directly in the source dir works as advertized... ;)
>
> Any thoughts?
>
> Thanks.

Hmm, side effect of the AIX port fixes using .o instead of duplicating and
re-building the .cc individually. "It seemed a good idea at the time"(tm).
It is a bit strange that it should only show up now, those changes were
made long before 3.2 branched.

Anyways, I've come to the conclusion from other places that the rebuild is
slower to compile but a lot safer to deal with linkage and dependencies.

Unless anyone has objections I will commit this reversion in a day or so.

Arthur: this patch will not be testable with the tarballs. It requires the
./bootstrap.sh to reconstruct Makefiles afterwards.

Amos

Received on Tue Nov 23 2010 - 03:25:08 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 23 2010 - 12:00:04 MST