Hi Alan, Chen,


>
> To Shen-Yeh Chen:
>
> To add to what Arjen said above, my tests of running plplot in a tclsh 
> environment on
> MinGW/MSYS show that setting PLPLOT_DRV_DIR and PLPLOT_LIB is not
> necessary for my particual version of that platform.
> This makes sense because after all, PLplot already knows where 
> path-to-drvinfo-
> files and path-to-pal-files are located for both the build tree and the 
> install tree so
> there should be no need for you to remind PLplot of information it alread 
> knows
> (subject to possible mistakes about whether you want the build tree or 
> install tree
> locations). Note, PLplot uses a heuristic (is current path within the build 
> tree?) to
> decide which set of locations it should use. However, on Arjen's MinGW/MSYS
> platform (which was a later version than mine) it turned out that heuristic 
> logic gave
> the wrong result.  Therefore, he has long been in the habit of setting those 
> two
> environment variables to work around that bug in the heuristic.
>
> The present status is I believe I completely fixed that bug last week for the 
> git master
> tip version of PLplot so the heuristic will work properly for all MinGW/MSYS 
> versions.
> Arjen confirmed that fix worked for a small test on his MinGW/MSYS platform.  
> So I
> frankly don't understand why he needed to set PLPLOT_DRV_DIR and
> PLPLOT_LIB above.  Arjen does plan to follow up with comprehensive testing
> (without either PLPLOT_DRV_DIR or PLPLOT_LIB set) of that fix as well, but he
> hasn't done that yet for a complete final confirmation of that fix.
>
Indeed, I have focused first on Cygwin. I have tested Cygwin with an X server 
running, but that is giving very odd results. I will report them separately.

Also note my report on Cygwin dd. 26 april. The curious thing there was that 
the Python bindings were turned off for the static case.

> Anyhow, if you are using either the build-tree version of PLplot or a 
> properly installed
> install-tree version of PLplot for the git master tip version of PLplot, you 
> will likely not
> need to set PLPLOT_DRV_DIR or PLPLOT_LIB now, but if you still do need to set
> those variables for the stated conditions and/or Arjen's planned comprehensive
> testing shows any problems, I guarantee to get that bug fixed.
>
> By the way, if you are using your own home-built procedure for installing 
> PLplot (i.e.,
> copying bits and pieces of it from the build tree to some location), then you 
> likely do
> have to set PLPLOT_DRV_DIR or PLPLOT_LIB, but I would highly recommend
> instead that you simply use the install target to install PLplot since that 
> is likely more
> reliable than any home-built procedure for doing the same task and also it 
> should
> allow you (assuming the heuristic now works on all
> platforms) to avoid having to set those two environment variables.
>

This should be safer indeed, but is the install directory then incorporated in 
the DLLs? I will see that I run the comprehensive tests using bare Windows this 
week - using winbash.

Regards,

Arjen



DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to