[squid-users] websockets through Squid

Alex Rousskov rousskov at measurement-factory.com
Thu Oct 8 15:00:36 UTC 2020


On 10/8/20 5:11 AM, Vieri wrote:
> OK, so I'm now trying to compile Squid 5 instead of backporting to V 4, but I'm getting this silly error:

> cp ../../src/tests/stub_fd.cc tests/stub_fd.cc
> cp: cannot create regular file 'tests/stub_fd.cc': No such file or directory
> make[3]: *** [Makefile:1452: tests/stub_fd.cc] Error 1

> Is thisĀ  a known issue?

Probably bug #5060: https://bugs.squid-cache.org/show_bug.cgi?id=5060

As a workaround, try sequential build ("make" instead of "make -j...").
To speed things up, you can build in parallel as much as possible and
then finish with a sequential make ("make -k -j... || make").


> Can I simply disable building the tests?

Tests are not built by default -- you have to run "make check" or
equivalent to build them. However, I am not sure your build fails when
you are building the tests; stubs may be used for non-test tools as
well. The bug report linked above has more information about this mess.


HTH,

Alex.


More information about the squid-users mailing list