On 2010-02-25 14:04-0800 David MacMahon wrote:

> Hi, Alan,
>
> On Feb 25, 2010, at 13:47 , Alan W. Irwin wrote:
>
>> I am
>> not sure whether it is a regression caused by the embedded blank fix or a
>> regression caused by a previous -dev tk fix, but -dev tk (as run by the
>> test_interactive target) used to work fine for the CMake-based build system
>> for the installed examples.
>
> I can't help you with the tk problem, but wanted to note that this kind of 
> situation is exactly why "git bisect" was created: finding the exact commit 
> that breaks something.  You start off by giving "git bisect" the last known 
> good version and the currently known bad version and it checks out a version 
> "in the middle".  You build/test that version,  tell "git bisect" whether it 
> is good or bad, and it then checks out a version "in the middle" of the 
> updated known-good/known-bad range.  The process repeats until the exact 
> change which introduces the problem is identified.  If you can 
> automate/script the build/test steps, then git can iterate to the end without 
> any intervention!
>
> Sorry for the off-topic advocacy,

Want to give git-bisect a try for this case?  If so, here are the
instructions for reproducing the error.

I am pretty sure that you use Mac OS X?  If so, my understanding is it is
fairly straightforward to get X and Tcl/Tk installed on that platform.  Once
that is completed, the rest of the test is simple to set up.  Use the
following cmake options

-DDEFAULT_NO_BINDINGS=ON -DENABLE_tcl=ON -DENABLE_tk=ON
-DDEFAULT_NO_DEVICES=ON -DPLD_tk=ON

to tremendously speed up builds by dropping everything other than the absolute
essentials to build and test -dev tk.

In empty build tree:

cmake ... options including -DCMAKE_INSTALL_PREFIX
make install

In _new_ empty build tree for build of examples that were installed by the
previous command.

cmake $install_prefix/share/plplot5.9.5/examples >& cmake.out

make test_c_tk

(Currently shows error).

I hope you do respond to this challenge for two reasons: (1) to
show off git capabilities and (2) to give us some practical help here.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to