zezer3 / cmaked2

Automatically exported from code.google.com/p/cmaked2
0 stars 0 forks source link

CMakeD fails on Mac OSX #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Per your request on the cmake list ---

(You really should convert this to a ctest dashboard structure)

What steps will reproduce the problem?
1. Install "D" (Version ) per http://www.digitalmars.com/d/2.0/dmd-osx.html
2. Install "cmaked" using       hg clone https://cmaked2.googlecode.com/hg/ 
cmaked2
3. run the test script

What is the expected output? What do you see instead?

I expect it to "just work" invoking some "reasonable" default values.

See below

What version of the product are you using? On what operating system?
Mac OSX 10.6.4

Please provide any additional information below.

bash-3.2$ ./run_tests_linux.sh 
-- The C compiler identification is GNU
CMake Error: Error required internal CMake variable not set, cmake may be not 
be built correctly.
Missing variable is:
CMAKE_D_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not 
be built correctly.
Missing variable is:
CMAKE_D_COMPILER
CMake Error: Could not find cmake module 
file:/Users/rkw/Desktop/cmaked_test_build/release/CMakeFiles/CMakeDCompiler.cmak
e
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error: Could not find cmake module file:CMakeDInformation.cmake
CMake Error: CMAKE_D_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `test'.  Stop.
-- The C compiler identification is GNU
CMake Error: Error required internal CMake variable not set, cmake may be not 
be built correctly.
Missing variable is:
CMAKE_D_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not 
be built correctly.
Missing variable is:
CMAKE_D_COMPILER
CMake Error: Could not find cmake module 
file:/Users/rkw/Desktop/cmaked_test_build/debug/CMakeFiles/CMakeDCompiler.cmake
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error: Could not find cmake module file:CMakeDInformation.cmake
CMake Error: CMAKE_D_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `test'.  Stop.
bash-3.2$

Original issue reported on code.google.com by r...@dataplex.net on 6 Sep 2010 at 7:53

GoogleCodeExporter commented 9 years ago
Thanks for the report.  I don't have access to a any OSX machines, so I won't 
be able to make progress on this.  If you develop a patch, I would be happy to 
roll it in or give you committer access.

Original comment by kingshiz...@gmail.com on 7 Sep 2010 at 12:21

GoogleCodeExporter commented 9 years ago

Original comment by jens.k.mueller@gmail.com on 3 Nov 2010 at 8:15

GoogleCodeExporter commented 9 years ago
Unfortunately I do not have access to Mac OSX either. I'd like to make this 
work. It'll be great if someone gives me ssh access to a Max OSX. Does anybody 
know of a service that provides access to Mac OSX systems?

Original comment by jens.k.mueller@gmail.com on 9 Nov 2010 at 8:07

GoogleCodeExporter commented 9 years ago
I just encountered a problem with cmaked2 on OS X, but it has another output: 
CmakeTestDCompiler failed.

what the reason of failure: 
**** Debug Info: CMAKE_SYSTEM_NAME = Darwin

There is no Platform Darwin-dmd, renaming Linux-dmd to Darwin-dmd solved the 
problem and made tests passed. 

Original comment by rus...@mullakh.com on 15 Jun 2013 at 12:02