View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015535CMakeCMakepublic2015-04-25 18:002015-11-02 09:13
Reporterherc4mac 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformApple MacOSOS XOS VersionYosemite 10.10.3
Product VersionCMake 3.2.2 
Target VersionCMake 3.3Fixed in VersionCMake 3.3 
Summary0015535: cmake generates bad -F option for a 9 character include directory on OS X
Descriptionsee summary

fails only on OS X

running make
received ...
fatal error: 'config.h' file not found
# include "config.h"

reproducible when building open object rexx

Steps To Reproducecreated
/opt

/opt/ooRexx.svn

created /opt/test
cd /opt/test

cmake ../ooRexx.svn

make

received the message

fatal error: 'config.h' file not found
# include "config.h"
Additional Informationfound first on make 3.2.1

cmake adds a flag with -F/opt instead of -I/opt/test
-F is the flag for Frameworks IIRC

does not happen for Hercules ( the IBM s370/s390/zARCH ) emulator

it could be a problem with CMakelists.txt,
I would like anyway some suggestion on how to debug the problem
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038599)
herc4mac (reporter)
2015-04-25 18:03

my bad
the title has a typo, instead of make should have been cmake/make
sorry for the inconvenience
(0038621)
Brad King (manager)
2015-04-27 11:51

Fixed:

 cmSystemTools: Fix IsPathToFramework implementation
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c46490da [^]
(0038622)
Brad King (manager)
2015-04-27 11:52

This could happen for any build tree with an absolute path of length 9 (e.g. /opt/test or /tmp/four).
(0038623)
herc4mac (reporter)
2015-04-27 12:46

applied the mod to 3.2.2 source , and it works !

Thank You for the quick action.
Enrico
(0039791)
Robert Maynard (manager)
2015-11-02 09:13

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-04-25 18:00 herc4mac New Issue
2015-04-25 18:03 herc4mac Note Added: 0038599
2015-04-27 11:51 Brad King Note Added: 0038621
2015-04-27 11:51 Brad King Assigned To => Brad King
2015-04-27 11:51 Brad King Status new => resolved
2015-04-27 11:51 Brad King Resolution open => fixed
2015-04-27 11:51 Brad King Fixed in Version => CMake 3.3
2015-04-27 11:51 Brad King Target Version => CMake 3.3
2015-04-27 11:51 Brad King Summary running make in a directory named test fails for open object rexx => cmake generates bad -F option for a 9 character include directory on OS X
2015-04-27 11:52 Brad King Note Added: 0038622
2015-04-27 12:46 herc4mac Note Added: 0038623
2015-11-02 09:13 Robert Maynard Note Added: 0039791
2015-11-02 09:13 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team