CMake failure while detecting CXX compiler ABI info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenCog |
Won't Fix
|
High
|
Unassigned |
Bug Description
OSX 10.8.2
CMake 2.8.9, installed through homebrew
g++ 4.7.1, installed through homebrew
~/src/opencog/bin CC=gcc-4.7 CXX=g++-4.7 cmake ..
-- The C compiler identification is GNU 4.7.1
-- The CXX compiler identification is unknown
-- 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/local/
-- Check for working C compiler: /usr/local/
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/
-- Check for working CXX compiler: /usr/local/
-- Detecting CXX compiler ABI info
CMake Error at /usr/local/
Cannot copy output executable
''
to destination specified by COPY_FILE:
'/Users/
Unable to find the executable at any of:
/Users/
/Users/
/Users/
Call Stack (most recent call first):
/usr/
CMakeLists.txt:20 (PROJECT)
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/local/
file STRINGS file
"/Users/
cannot be read.
Call Stack (most recent call first):
/usr/
CMakeLists.txt:20 (PROJECT)
Changed in opencog: | |
status: | New → Won't Fix |
I'm confused, those messages are not from the opencog cmake. Opencog does not check the compiler, the compiler ABI, or any of those things. Are you sure you did not accidentally copy a CMakefile from somewhere else into the opencog tree?
When running cmake .. in opencog, you should see something like this:
build $ cmake .. program_ options INCLUDE_ DIR are set. libprotobuf. so libxerces- c.so
-- Found Boost::
-- Found Boost::math
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
-- libcurl missing: needed for ubigraph module.
-- Expat XML parser found.
-- Guile was found.
-- HyperTable was not found. Make sure HYPERTABLE_LIBRARY and HYPERTABLE_
-- Hypertable not found; the experimental distributed persistence DB needs it.
-- MPI was found.
-- OpenGL was found.
-- Found these protobuf libs: /usr/lib/
-- Protobuf was found.
-- Python libs found.
-- Cython executable not found.
-- SDL missing: needed for Spatial tools (MapExplorer, MapTools, etc.).
-- SDL_gfx missing: needed for Spatial tools (MapExplorer, MapTools, etc.).
-- Could NOT find TCL (missing: TCL_LIBRARY)
-- Could NOT find TCLTK (missing: TCL_LIBRARY TK_LIBRARY)
-- Could NOT find TK (missing: TK_LIBRARY)
-- TCL shell was found here: /usr/bin/tclsh
-- UnixODBC was found.
-- Valgrind Prefix:
-- VALGRIND was found.
-- VALGRIND devel headers found.
-- Found Xerces 2.8.0 -- /usr/lib/
-- XMLRPC was not found. Make sure the entries XMLRPC_* are set.
-- libxmlrpc missing: needed for ubigraph module.
-- Found these zmq libs: /usr/lib/libzmq.so
-- ZeroMQ was found.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Doxygen not found, you won't be able to generate API documentation.
The following components will be built: ------- ------- ------- ------- ------- -----
-------
AtomSpace - A weighted and typed hypergraph database.
Attention - Agents for attention allocation dynamics.
ComboReduct - Library for reduction of combo program trees.
Dim. Embedding - Compute dimensional embedding of the AtomSpace.
Embodiment - Architecture for embodiment.
FeatureSelection - MOSES based feature selection tool.
MOSES - Meta-Optimizing Semantic Evolutionary Search.
SchemeBinding - Scheme bindings and shell.
Server - The CogServer.
Spatial - Spatial tools.
SQL Persist - Interfaces for SQL persistance of the AtomSpace.
Util - General utility library.
WebInterface - Web server and REST API.
The following components WILL NOT be built: ------- ------- ------- ------- ------- -----
-------
CythonBinding - Cython (python) bindings.
Doxygen - Code documentation.
Hypertable - HyperTable for scalable persistance (experimental).
Ubigraph - Visualisation of the AtomSpace.
-- Configuring done
-- Generating done
-- Build files have been written to: build