Re: [Cppunit-devel] cppunit2 does not compile
Brought to you by:
blep
|
From: CppUnit d. m. l. <cpp...@li...> - 2006-09-05 07:42:01
|
CppUnit development mailing list wrote:
> Hi!
>
> (somehow this message did not get through so here once again)
>
> I just wanted to build cppunit2. But there seems to be something
> missing. I tried with the build instructions in thewiki but they are
> wrong :-(
>
> With this I get:
>
> ~/src/cvs/cppunit2 $ python scons.py platform=linux-gcc
> python: can't open file 'scons.py': [Errno 2] No such file or
> directory
Did you download and unpacked scons-local package as indicated ? The error
message seems to indicate you did not...
> So I did this:
>
> ~/src/cvs/cppunit2 $ python sconstruct platform=linux-gcc
> Traceback (most recent call last):
> File "sconstruct", line 9, in ?
> options = Options()
> NameError: name 'Options' is not defined
>
This one is wrong, sconstruct is not a python executable.
> So I did:
>
>
> ~/src/cvs/cppunit2 $ scons platform=linux-gcc
> scons: Reading SConscript files ...
> Building using PLATFORM = linux-gcc
>
> scons: *** No tool named 'srcdist': No module named srcdist
> File "sconstruct", line 41, in ?
Do you have the following file in your cvs tree ?
scons-tools/srcdist.py
What scons version are you using ? Here is how to get it:
---
E:\prg\vc\Lib\opentest>python scons.py -v
SCons by Steven Knight et al.:
script: v0.96.92.D002, 2006/04/11 07:39:43, by knight on roxbury
engine: v0.96.92.D002, 2006/04/11 07:39:43, by knight on roxbury
Copyright (c) 2001, 2002, 2003, 2004 The SCons Foundation
---
The directory was added a few weeks ago in CVS.
Baptiste.
>
>
> But as you can see, none of it worked :-(
>
> So please tell me how to build cppunit2.
>
> Thanks a lot, Fabian
---
Baptiste Lepilleur <bl...@us...>
CppUnit maintainer
OpenTest and CppUnit 2 developer.
|