Skip to content
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.

CMAKE fails during config #28

Open
droopymiller opened this issue Feb 11, 2018 · 5 comments
Open

CMAKE fails during config #28

droopymiller opened this issue Feb 11, 2018 · 5 comments

Comments

@droopymiller
Copy link

Hi, I'm trying to compile and it fails at cmake. Sorry if this is neglect on my end, thanks!

ProductName:	Mac OS X
ProductVersion:	10.13.3
BuildVersion:	17D47
Compiler Version:
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
NVCC Version:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_13:16:23_CDT_2017
Cuda compilation tools, release 9.0, V9.0.175
Using CUDA 9 Toolkit
Using CUDA 9 compatible 'Command Line Tools for Xcode 8.3.2'
  CLONE      autoconf
  CONFIG     autoconf
  BUILD      autoconf
  INSTALL    autoconf
  CLONE      automake
  CONFIG     automake
  BUILD      automake
  INSTALL    automake
  CLONE      libtool
  CONFIG     libtool
  BUILD      libtool
  INSTALL    libtool
  CLONE      pkgconfig
  CONFIG     pkgconfig
  BUILD      pkgconfig
  INSTALL    pkgconfig
  CLONE      objconv
  CONFIG     objconv
  BUILD      objconv
  INSTALL    objconv
  CLONE      fasm
  CONFIG     fasm
  BUILD      fasm
  INSTALL    fasm
  CLONE      cmake
  CONFIG     cmake
make[2]: *** [config] Error 1
make[1]: *** [cmake_all] Error 2
make: *** [tools_all] Error 2
@kozyilmaz
Copy link
Owner

Sorry for late answer @droopymiller, can you try with PRINT_DEBUG=y make all instead of make and paste the output?
Thanks!

@its-neon
Copy link

Making all in .
CC libglib_2_0_la-gallocator.lo
CC libglib_2_0_la-gcache.lo
CC libglib_2_0_la-gcompletion.lo
CC libglib_2_0_la-grel.lo
cc1: Fehler: /opt/local/include: No such file or directory [-Werror=missing-include-dirs]
cc1: Fehler: /opt/local/include: No such file or directory [-Werror=missing-include-dirs]
cc1: Fehler: /opt/local/include: No such file or directory [-Werror=missing-include-dirs]
cc1: Fehler: /opt/local/include: No such file or directory [-Werror=missing-include-dirs]
cc1: Fehler: /opt/local/include: No such file or directory [-Werror=missing-include-dirs]
cc1: Fehler: /opt/local/include: No such file or directory [-Werror=missing-include-dirs]
deprecated/gallocator.c: In Funktion »g_mem_chunk_new«:
deprecated/gallocator.c:33:31: Warnung: unverwendeter Parameter »name« [-Wunused-parameter]
g_mem_chunk_new (const gchar *name,
^~~~
deprecated/gallocator.c:35:31: Warnung: unverwendeter Parameter »area_size« [-Wunused-parameter]
gsize area_size,
^~~~~~~~~
deprecated/gallocator.c:36:31: Warnung: unverwendeter Parameter »type« [-Wunused-parameter]
gint type)
^~~~
deprecated/gallocator.c: In Funktion »g_allocator_new«:
deprecated/gallocator.c:82:31: Warnung: unverwendeter Parameter »name« [-Wunused-parameter]
g_allocator_new (const gchar *name,
^~~~
deprecated/gallocator.c:83:31: Warnung: unverwendeter Parameter »n_preallocs« [-Wunused-parameter]
guint n_preallocs)
^~~~~~~~~~~
deprecated/gallocator.c: In Funktion »g_allocator_free«:
deprecated/gallocator.c:89:46: Warnung: unverwendeter Parameter »allocator« [-Wunused-parameter]
void g_allocator_free (GAllocator *allocator) { }
^~~~~~~~~
deprecated/gallocator.c: In Funktion »g_mem_chunk_clean«:
deprecated/gallocator.c:91:45: Warnung: unverwendeter Parameter »mem_chunk« [-Wunused-parameter]
void g_mem_chunk_clean (GMemChunk *mem_chunk) { }
^~~~~~~~~
deprecated/gallocator.c: In Funktion »g_mem_chunk_reset«:
deprecated/gallocator.c:92:45: Warnung: unverwendeter Parameter »mem_chunk« [-Wunused-parameter]
void g_mem_chunk_reset (GMemChunk *mem_chunk) { }
^~~~~~~~~
deprecated/gallocator.c: In Funktion »g_mem_chunk_print«:
deprecated/gallocator.c:93:45: Warnung: unverwendeter Parameter »mem_chunk« [-Wunused-parameter]
void g_mem_chunk_print (GMemChunk *mem_chunk) { }
^~~~~~~~~
deprecated/gallocator.c: In Funktion »g_list_push_allocator«:
deprecated/gallocator.c:97:46: Warnung: unverwendeter Parameter »allocator« [-Wunused-parameter]
void g_list_push_allocator (GAllocator *allocator) { }
^~~~~~~~~
deprecated/gallocator.c: In Funktion »g_slist_push_allocator«:
deprecated/gallocator.c:100:46: Warnung: unverwendeter Parameter »allocator« [-Wunused-parameter]
void g_slist_push_allocator (GAllocator *allocator) { }
^~~~~~~~~
deprecated/gallocator.c: In Funktion »g_node_push_allocator«:
deprecated/gallocator.c:103:46: Warnung: unverwendeter Parameter »allocator« [-Wunused-parameter]
void g_node_push_allocator (GAllocator *allocator) { }
^~~~~~~~~
cc1: Fehler: /opt/local/include: No such file or directory [-Werror=missing-include-dirs]
cc1: Fehler: /opt/local/include: No such file or directory [-Werror=missing-include-dirs]
deprecated/grel.c: In Funktion »relation_delete_value_tuple«:
deprecated/grel.c:209:39: Warnung: unverwendeter Parameter »tuple_key« [-Wunused-parameter]
relation_delete_value_tuple (gpointer tuple_key,
^~~~~~~~~
deprecated/grel.c: In Funktion »g_relation_free_array«:
deprecated/grel.c:219:33: Warnung: unverwendeter Parameter »key« [-Wunused-parameter]
g_relation_free_array (gpointer key, gpointer value, gpointer user_data)
^~~
deprecated/grel.c:219:63: Warnung: unverwendeter Parameter »user_data« [-Wunused-parameter]
g_relation_free_array (gpointer key, gpointer value, gpointer user_data)
^~~~~~~~~
deprecated/grel.c: In Funktion »g_relation_print_one«:
deprecated/grel.c:612:32: Warnung: unverwendeter Parameter »tuple_key« [-Wunused-parameter]
g_relation_print_one (gpointer tuple_key,
^~~~~~~~~
cc1: Einige Warnungen werden als Fehler behandelt
cc1: Einige Warnungen werden als Fehler behandelt
make[10]: *** [libglib_2_0_la-gallocator.lo] Error 1
make[10]: *** Waiting for unfinished jobs....
make[10]: *** [libglib_2_0_la-gcache.lo] Error 1
cc1: Einige Warnungen werden als Fehler behandelt
cc1: Einige Warnungen werden als Fehler behandelt
make[10]: *** [libglib_2_0_la-gcompletion.lo] Error 1
make[10]: *** [libglib_2_0_la-grel.lo] Error 1
make[9]: *** [all-recursive] Error 1
make[8]: *** [all] Error 2
make[7]: *** [all-recursive] Error 1
make[6]: *** [all] Error 2
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [pkgconfig_build] Error 2
make[2]: *** [build] Error 1
make[1]: *** [pkgconfig_all] Error 2
make: *** [tools_all] Error 2

:-) thanks

@kozyilmaz
Copy link
Owner

Do you have brew installed? Installed brew packages may be interfering with the build

@droopymiller
Copy link
Author

The flatassembler website seems to down at the moment and I'm unable to download the FASM package. I will try again later. I also updated to CUDA 9.1 and am using command line tools for 9.2 and those seem to be working ok up through building FASM. @kozyilmaz

@droopymiller
Copy link
Author

I do have brew installed, but I removed the cmake package before my latest attempt. Thanks for your support!

  CLONE      cmake
  CONFIG     cmake
( cd cmake-"3.10.2"; CFLAGS="" CXXFLAGS="" ./bootstrap --parallel=4 --prefix=/Users/drewmiller/Downloads/nheqminer-macos/tools/o --no-qt-gui; )
---------------------------------------------
CMake 3.10.2, Copyright 2000-2017 Kitware, Inc. and Contributors
Found Clang toolchain
C compiler on this system is: clang  
C++ compiler on this system is: clang++  -std=gnu++1z 
Makefile processor on this system is: make
clang++ has setenv
clang++ has unsetenv
clang++ does not have environ in stdlib.h
clang++ has stl wstring
clang++ does not have <ext/stdio_filebuf.h>
---------------------------------------------
make[4]: `cmake' is up to date.
loading initial cache file /Users/drewmiller/Downloads/nheqminer-macos/tools/cmake/cmake-3.10.2/Bootstrap.cmk/InitialCacheFlags.cmake
CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
  The imported target "Qt5::Core" references the file

     "/usr/local/.//mkspecs/macx-clang"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50 (_qt5_Core_check_file_exists)
  /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:167 (include)
  Tests/RunCMake/CMakeLists.txt:277 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/drewmiller/Downloads/nheqminer-macos/tools/cmake/cmake-3.10.2/CMakeFiles/CMakeOutput.log".
See also "/Users/drewmiller/Downloads/nheqminer-macos/tools/cmake/cmake-3.10.2/CMakeFiles/CMakeError.log".
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
make[3]: *** [cmake_config] Error 11
make[2]: *** [config] Error 1
make[1]: *** [cmake_all] Error 2
make: *** [tools_all] Error 2

CMakeError.log
CMakeOutput.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants