Re: [squid-users] squid-3.1.0.5-20090210 errors on make check!

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 11 Feb 2009 09:39:40 +1300

Quin Guin wrote:
> Hi,
>
> I am trying to compile squid-3.1.0.5-20090210 on "Linux cache2 2.6.9-78.0.8.ELsmp #1 SMP Wed Nov 5 07:14:58 EST 2008 x86_64 x86_64 x86_64 GNU/Linux" which is "Red Hat Enterprise Linux AS release 4 (Nahant Update 6)". The server has Dual Xeon Quad Core (yes I know its overkill) with 8G RAM.
>

Firstly, please don't clutter squid-users with build issues about beta
or development code. That is what squid-dev mailing list is for.

> When I do a # make check I am getting these errors and I did a search on these messages and I any info on a solution. I can provide additional information if needed.
>
> tests/testArray.h:13: error: `CPPUNIT_NS' has not been declared
> tests/testArray.h:14: error: expected class-name before '{' token
> tests/testArray.h:15: error: ISO C++ forbids declaration of `CPPUNIT_TEST_SUITE' with no type
> tests/testArray.h:16: error: `all' has not been declared
> tests/testArray.h:16: error: ISO C++ forbids declaration of `CPPUNIT_TEST' with no type
> tests/testArray.h:16: error: ISO C++ forbids declaration of `parameter' with no type
> tests/testArray.h:17: error: ISO C++ forbids declaration of `CPPUNIT_TEST_SUITE_END' with no type
> tests/testArray.cc:10: error: expected constructor, destructor, or type conversion before ';' token
> tests/testArray.cc: In member function `void testArray::all()':
> tests/testArray.cc:14: error: `CPPUNIT_ASSERT' was not declared in this scope
> make[3]: *** [testArray.o] Error 1
> make[3]: Leaving directory `/usr/local/src/dist/squid-3.1.0.5-20090210/lib'
> make[2]: *** [check-am] Error 2
> make[2]: Leaving directory `/usr/local/src/dist/squid-3.1.0.5-20090210/lib'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/dist/squid-3.1.0.5-20090210/lib'
> make: *** [check-recursive] Error 1

CppUnit testing package is no longer bundled with Squid.
Do you have it installed on your build system?

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
   Current Beta Squid 3.1.0.5
Received on Tue Feb 10 2009 - 20:39:36 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 11 2009 - 12:00:01 MST