websockets through Squid

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

websockets through Squid

Vieri
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

I guess it may be because the script is not in the right subdir.

Is thisĀ  a known issue?
Can I simply disable building the tests?
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: websockets through Squid

Alex Rousskov
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.
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users