Re: [PATCH] Re: compile error with 3.2.0.3-20101122

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 07 Dec 2010 03:09:31 +1300

On 23/11/10 16:25, Amos Jeffries wrote:
> 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

Oops. Time got away on me with this one. Applied to trunk now.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.9
   Beta testers wanted for 3.2.0.3
Received on Mon Dec 06 2010 - 14:09:37 MST

This archive was generated by hypermail 2.2.0 : Mon Dec 06 2010 - 12:00:05 MST