delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/18/02:34:08

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type:content-transfer-encoding; q=dns; s=default; b=P86
TFgahgjb6iNt4DNk/aCSlDuszjueOOR0fx/x0q+jE/OlnpJlXSjnZH/A/0ywNLg+
TaC3oQqhKEIJrk3hLLvWHDP+mrLs9Vl/8ODevHO9mXFrpNcM3lwLRNWvHtMCjvum
MYQwfMEizY07ZVoeqH+gpxHVp16K4VIjwbOleWeA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type:content-transfer-encoding; s=default; bh=tM1MMh7VJ
/R350h424Lh3PNuRGg=; b=P4Ji2FLSB5sSLfFFUEhPKtr84td3yaqAmkHJ10egb
dsCoJrJknbhpxe2tk7M17A7uZ0DfqdC/RyZBvnGxftKr2TrU5hTTqxlxGSUGfc6a
UefTvYvfnhbt5v+ie1IoLXaRfCiX/kb0CMH8GrnkMWFPc4RR93N0+4zofDNqVv5w
xc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=endless
X-HELO: mail-wm0-f41.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=Wi7kujnLEHisJWdEKwunWq87ng0CrlACv+ZRsONwtAU=; b=Jv9SM/QycbCgehdATG4BtiF2wrg0p2OQRajcmzq0vhDjlO1jUj0UFEXFTCvkcr6xZA 9p3QUNd7o7aRRPJ4hgHqLpx96Q80VRWE76cJlP9InbHAN+ljQGbjLFI8Tk+Ny9m0fPVD xRPo1H/v6GVrP5vLkPtb1ZH97CpncKsHJpJnsruzKb6MYwPdJl8DxQQT9GP/Gck0q55t Qarv08MP35m9ffEpfFYfog4Tw8RG7L1fVtN1dncMOrqiNwR4AJMg566EM+G237I8FgeO lMrTFDD3jbYCSV+r2ESdkHn5z1j0zFroeNJ3UHxMg+yWNMH8pZsw6ds3+h7Gv4Fq7HQB bcDA==
X-Gm-Message-State: AODbwcCL7Y3heJXFyDtez89QnYfeBuAVw205fRecatIdX9R/iY2qxHgN UR7N3xzRYvygQarQaYDO98dJsKvo8HZ4
X-Received: by 10.28.66.2 with SMTP id p2mr14505981wma.20.1495089161332; Wed, 17 May 2017 23:32:41 -0700 (PDT)
MIME-Version: 1.0
From: Arjen Markus <arjen DOT markus895 AT gmail DOT com>
Date: Thu, 18 May 2017 08:32:40 +0200
Message-ID: <CAMCbSMpo7zA5PgUFLVcBkZdc7dWBBtJqB6HEO3cKTj43pwsmGQ@mail.gmail.com>
Subject: Problem with CMake and installation directories whose name contains a space
To: Andrey Repin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v4I6Y7qQ023633

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019