[Zope-Coders] Linux Test for Zope HEAD, how to build?
Fred L. Drake, Jr.
fred@zope.com
Fri, 2 May 2003 12:06:46 -0400
Chris Withers writes:
> I'm guessing I need to change the script from configure to ./configure...
That's reasonable, and necessary when . isn't in $PATH.
> > Zope 2.7 for testing should be built using two commands:
> >
> > ./configure --with-python=...
> > make inplace
> >
> > The test should be run using:
> >
> > make test
>
> What? All three of these?
Yes. The first two handle configuration and build, and the third runs
the unit tests. The two make commands could be collapsed; "make test"
is smart enough to "make inplace", but then you haven't separated the
build process from running the tests. (Whether you care about that is
up to you.)
> The first one sux :-( I suddenly have to do string substitution in the
> autotester.... waggh :(
>
> Any way I can get around having to do that?
Yes: Accept the Python ./configure comes up with.
> More to the point, what should go in the ...?
The full path of the Python interpreter to use.
> cheers,
>
> Chris
>
> PS: Does any of this stuff apply to Zope 3 yet?
No. People seem happy to use distutils there. Keeps life easier.
-Fred
--
Fred L. Drake, Jr. <fred at zope.com>
PythonLabs at Zope Corporation