[squid-users] SOLVED - compiling squid 5.1

Amos Jeffries squid3 at treenet.co.nz
Wed Sep 8 09:21:43 UTC 2021


This hack only works if you are building manually from source code, in 
the same directory you expanded the sources. Which is not he case for 
anyone building with automated tools or CI systems.

The earlier provided ./configure parameter change works just as well 
without manual changes to the source code.

Amos


On 8/09/21 9:08 pm, Meike Stone wrote:
>>
>> cp ../../src/tests/stub_debug.cc tests/stub_debug.cc
>> cp: cannot create regular file 'tests/stub_debug.cc': No such file or directory
>> make[3]: *** [Makefile:1489: tests/stub_debug.cc] Error 1
>> make[3]: Leaving directory '/home/ingo/Downloads/squid-5.1/tools/squidclient'
>> make[2]: *** [Makefile:1038: all-recursive] Error 1
>> make[2]: Leaving directory '/home/ingo/Downloads/squid-5.1/tools/squidclient'
>> make[1]: *** [Makefile:1176: all-recursive] Error 1
>> make[1]: Leaving directory '/home/ingo/Downloads/squid-5.1/tools'
>> make: *** [Makefile:590: all-recursive] Error 1
>>
>> The file is found under:
>> ~/squid-5.1 # find . -name stub_debug.cc
>> ./src/tests/stub_debug.cc
> 
> for every one, who has the same Problem:
> 
> untar the source and create following directories:
> 
> squid-5.1/tools/squidclient/tests
> squid-5.1/tools/tests
> 
> HTH,
> kindly regards, Meike
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
> 


More information about the squid-users mailing list