Hi Alan, Phil,

-----Original Message-----
From: Alan W. Irwin <alan.w.irwin1...@gmail.com>
Sent: 13 July 2019 21:15
To: Phil Rosenberg <p.d.rosenb...@gmail.com>
Cc: PLplot development list <plplot-devel@lists.sourceforge.net>
Subject: Re: [Plplot-devel] CMake problem with hyphen in path

On 2019-07-13 08:05-0000 Phil Rosenberg wrote:

> Hi Alan
> You may be right.
> I tried commenting out the offending regex replace, which meant cmake 
> finished with no issues. But, when I tried to compile I found I had a similar 
> problem with header files. I couldn't actually find the offending code that 
> is causing that problem. I tried adding some quotes, but that didn't seem to 
> help.
>
> So whatever workload you thought it was, it is actually double!

Actually there is at least one or two orders of magnitude more work according 
to my Linux tests if you consider dealing with this problem for all external 
free software libraries that PLplot depends on rather than just wxwidgets.  And 
the results would depend on all external libraries (and CMake itself) dealing 
with blank in pathname issues correctly which some preliminary tests I have 
done appears to be far from the case.  So the fundamental issue is PLplot has 
been responsible about its own internal source, build, and install tree blanks 
in pathname issues, but other free software has not been that responsible.  And 
a large supplementary issue is that even if external software eventually 
becomes completely responsible about this case, there would still be a lot more 
to do on the PLplot side to make "space in external library prefix" case work 
properly for all external libraries.

>>AM: FWIW, a check that the install directory does not include space would be 
>>inline with what a package like Anaconda for Python is doing on Windows. 
>>Instead of the more commonly used directory "C:\Program Files", it installs 
>>in "C:\ProgramData", to avoid the issue that packages do not take 
>>responsibility for spaces in directory names. PLplot might simply issue a 
>>warning if the user tries to use such names anyway.

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.


_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to