public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problem with CMake and installation directories whose name contains a space
@ 2017-05-18  7:43 Arjen Markus
  0 siblings, 0 replies; only message in thread
From: Arjen Markus @ 2017-05-18  7:43 UTC (permalink / raw)
  To: Andrey Repin

Hello,

In the PLplot project (http://plplot.sf.net) we have encountered a
problem with CMake 3.6.2 as part of the Cygwin packages: if you
specify an installation directory whose name contains a space, the
configuration step gets into an endless loop, more specifically, it
writes a file export_plplot.cmake.tmp which contains:

…

# Compute the installation prefix relative to this file.
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
...

(a total of 1.5 GB before I killed the process).

If I use CMake built directly from the sources for 3.8.1, the current
version, all goes as expected. I have tried this with CMake versions
for MinGW-w64/MSYS2 and ordinary Windows as well, and they gave no
such problems. I am not sure if all were version 3.6.2, but on Linux
this version did not present this problem, so we have to conclude that
it is specific to Cygwin's version.

While such directory names may not be that common for Cygwin users, it
is a peculiar problem and it seems it could easily be solved by
adopting the current version of CMake.

Kind regards,

Arjen

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-18  6:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-18  7:43 Problem with CMake and installation directories whose name contains a space Arjen Markus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).