I have just commited changes to the Tcl tests an the diff test which compares
the different language outputs to the C outputs.I can now run the 6 auto
generated tests that I get in my Windows build environment which are the C,
C++, Tcl, svn, xfig and compare tests.
Most of the problems were related to path conversion between Windows and Cygwin
style and escaping out spaces in paths. I've been as careful as I can to ensure
that I haven't caused any problems for Linux users or Windows users building in
the Cygwin or MinGW environments, but please let me know if the tests stop
working properly on your system and I will try to work out how to get
everything compatible. The Tcl tests have been particularly problematic as
Cygwin Tcl (and I think MSys Tcl) require Windows not Linux stlye paths, so
particularly watch out for the Tcl tests.
Thanks for the various bit of help I've had getting these working
Phil
From: phil rosenberg <philip_rosenb...@yahoo.com>
To: Alan W. Irwin <ir...@beluga.phys.uvic.ca>
Cc: "plplot-devel@lists.sourceforge.net" <plplot-devel@lists.sourceforge.net>;
Arjen Markus <arjen.mar...@deltares.nl>
Sent: Monday, 6 October 2014, 12:10
Subject: Re: [Plplot-devel] Testing on Windows (line endings for bash scripts)
Hi allDoes anyone on the list use Cygwin or MSys with Tcl and if so advice
would be appreciated.
It seems on my Cygwin system tcl needs native Windows paths in all
circumstances. This includes when running the Cygwin version of Tcl. I have
found a few references stating this to be the case online too.Does anyone know
if Tcl under MSys is the same - I don't really know much about MSys and don't
have it installed so I can't check - the things I've found online are a bit
ambiguous.
If native Windows, Cygwin and MSys versions of Tcl all accept native Windows
paths then it makes my life massively easier in terms of getting the test
script running correctly
ThanksPhil
From: Alan W. Irwin <ir...@beluga.phys.uvic.ca>
To: phil rosenberg <philip_rosenb...@yahoo.com>
Cc: "plplot-devel@lists.sourceforge.net" <plplot-devel@lists.sourceforge.net>;
Arjen Markus <arjen.mar...@deltares.nl>
Sent: Sunday, 5 October 2014, 3:10
Subject: Re: [Plplot-devel] Testing on Windows (line endings for bash scripts)
On 2014-10-04 22:27-0000 phil rosenberg wrote:
> Thanks for spotting that Alan - I hadn't considered that people might edit
> the scripts with native Windows tools
> I have made a bit more progress on getting the Tcl tests to run on my
> machine. In the end I got pltcl to run under Cygwin. Not sure what changed,
> but I managed to get a prompt.
> There were a few things in the tcl script that I had to modify. Firstly in my
> environment the path wasn't preserved when a new instance of bash is opened,
> although the current directory is. So where new bash instances were created I
> had to cd to an appropriate location first.
> However the biggest thing, that took me a while to work out was that my pltcl
> and all the examples, which are built in native Windows require native
> Windows paths, even when run from Cygwin - which makes perfect sense really,
> path interpretation is built into an exe and is nothing to do with the
> running environment.
> So I'm not sure where to go here. I'm not sure at what point path
> interpretation is built in. I imagine it depends upon whether you have a
> Windows or Cygwin install of Tcl. I'm not sure what the best strategy is here
> to check what format paths are needed. Any suggestions? This could go all the
> way back to a CMAKE option for the initial build.
I think the best guy to give advice here is Arjen since he is so much
more experienced than I am concerning issues for the PLplot build
system on the various Windows platforms. The bottom line is doing
comprehensive testing on Windows platforms where it has never been
done before (which I think is your case) always turns up build-system
issues like this. Obviously, the key is to adjust the build system
such that it does not interfere with other Windows platforms such as
MinGW and Cygwin that Arjen is familiar with.
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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); 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
__________________________
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel