On 2024-07-19 05:04, Rafał Stanilewicz wrote:

Next step was make check, and it failed with this error:
../include/unitTestMain.h:16:10: fatal error: cppunit/BriefTestProgressListener.h: No such file or directory


I found out that I need to do
apt install libcppunit-dev
So i did it.

I re-ran "make check" , but then things went south completely:
/root/squid-7.0.0-VCS/lib/../include/unitTestMain.h:61:(.text+0x42b): undefined reference to `CppUnit::TestResult::TestResult(CppUnit::SynchronizedObject::SynchronizationObject*)'


If you have not run ./configure after installing libcppunit-dev, then go back to that step _before_ running "make" and "make check" again:

    ./configure ... && make && make check

BTW, if you are building Squid v7+ on a system with N CPU cores, run "make -jN" instead of just "make" to speed things up.


HTH,

Alex.

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
https://lists.squid-cache.org/listinfo/squid-users

Reply via email to