Re: [Plplot-devel] PLplot build fails in FindSWIG.cmake

2007-01-31 Thread Andrew Ross
On Tue, Jan 30, 2007 at 12:10:09PM -0800, Alan Irwin wrote: > On 2007-01-30 11:15-0800 Alan W. Irwin wrote: > > > There are some more aspects of this I am pursuing such as improperly nested > > if statements in both the old and your modified versions FindSWIG.cmake, and > > a better response from

Re: [Plplot-devel] PLplot build fails in FindSWIG.cmake

2007-01-30 Thread Alan W. Irwin
On 2007-01-30 11:15-0800 Alan W. Irwin wrote: > There are some more aspects of this I am pursuing such as improperly nested > if statements in both the old and your modified versions FindSWIG.cmake, and > a better response from TRANSFORM_VERSION when it gets an empty version > string. OK, all sor

Re: [Plplot-devel] PLplot build fails in FindSWIG.cmake

2007-01-30 Thread Alan W. Irwin
On 2007-01-30 17:49- Andrew Ross wrote: > > Alan - change is the other way round. stderr on old version, stdout > on new version. Stdout seems much more sensible. Sorry for my initial confusion. I confirm your Debian stable results on my system. I don't understand how this logic worked at a

Re: [Plplot-devel] PLplot build fails in FindSWIG.cmake

2007-01-30 Thread Andrew Ross
Alan - change is the other way round. stderr on old version, stdout on new version. Stdout seems much more sensible. Andrew On Tue, Jan 30, 2007 at 08:00:20AM -0800, Alan Irwin wrote: > On 2007-01-30 09:50- Andrew Ross wrote: > > > > > Aaargh! > > > > I've discovered the source of the erro

Re: [Plplot-devel] PLplot build fails in FindSWIG.cmake

2007-01-30 Thread Alan W. Irwin
On 2007-01-30 09:50- Andrew Ross wrote: > > Aaargh! > > I've discovered the source of the error. Somewhere between 1.3.24 > (default version on Debian stable) and 1.3.28 (version on Ubuntu edgy) > the behaviour of swig changed so the output of "swig -version" was > directed to standard output

Re: [Plplot-devel] PLplot build fails in FindSWIG.cmake

2007-01-30 Thread Andrew Ross
Aaargh! I've discovered the source of the error. Somewhere between 1.3.24 (default version on Debian stable) and 1.3.28 (version on Ubuntu edgy) the behaviour of swig changed so the output of "swig -version" was directed to standard output rather than standard error. This explains the blank outpu

[Plplot-devel] PLplot build fails in FindSWIG.cmake

2007-01-30 Thread Andrew Ross
I'm currently experiencing problems with a fresh cmake build failing on my Debian stable system. Problem is that SWIG_VERSION is not being set, so the call to TRANSFORM_VERSION in plplot.cmake fails. Initial investigation suggests that the command EXECUTE_PROCESS(COMMAND ${SWIG_EXECUTABLE}