View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005092CMakeCMakepublic2007-05-27 02:112016-06-10 14:30
ReporterGonzalo Garramuno 
Assigned ToBill Hoffman 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005092: CMake -G Unix Makefiles does not work with UNC paths
DescriptionWhen using CMake to generate Unix Makefiles under a Windows cmake, the resulting Makefile will choke on any UNC paths.

How to reproduce. Set up a mixed Unix/Windows network using Samba, for example. Make sure the Windows box can access a Linux share (like a user's home disk).

On the windows box, install a Unix toolset like cygwin.

Also, activate support of UNC paths in cmd.exe, like:
http://support.microsoft.com/kb/156276 [^]

Run bash, cd yourself to an UNC path where a CMakeLists.txt file is (if it runs compiler tests, the better). Try to run cmake.

The problem should be similar to this:
-----------------------------------
C:/cygwin/bin/gcc.exe -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /Aura001/gga/code/Maya/mrLiquid/BUILD/Windows-5.1-32/Release/AHY9U3~9/CMakeFiles/CMakeTmp/testCCompiler.c

gcc: /Aura001/gga/code/Maya/mrLiquid/BUILD/Windows-5.1-32/Release/AHY9U3~9/CMakeFiles/CMakeTmp/testCCompiler.c: No such file or directory
-------------------------------

It seems the first slash is being eaten somewhere along the line. This might be due to the dos path like \\Aura001 being treated as quoting of a slash.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0041360)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2016-06-10 14:27 Kitware Robot Note Added: 0041360
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team