Error when bootstrapping cmake problem while running initial cmake

install error of cmake when being built with clang #6844 Comments Expected Result Another copy of cmake, this time compiled by clang, so it is compatible (?) with other tools compiled by clang. Actual Result When I execute the bootstrap step manually I get further: . but unfortunately the bootstrap process fails anyway with […]

Содержание

  1. install error of cmake when being built with clang #6844
  2. Comments
  3. Expected Result
  4. Actual Result
  5. Steps to reproduce the issue
  6. Information on your system
  7. Brew upgrade cmake failed on OS X Mavericks #20436
  8. Comments
  9. ./bootstrap —prefix=/usr/local/Cellar/cmake/2.8.11.1 —system-libs —no-system-libarchive —datadir=/share/cmake —docdir=/share/doc/cmake —mandir=/share/man
  10. С ++ 11 ошибка std :: unique_ptr cmake 3.11.3 начальной загрузки
  11. 2 ответа
  12. Error while building cmake
  13. cmake fails when a deployment target is set but not a matching SDK
  14. Описание (последним изменил «>ryandesign (Ryan Schmidt) )
  15. Вложения (8)
  16. История изменений (101)
  17. comment:1 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  18. Changed 8 лет ago by daniele.pontillo@…
  19. comment:2 Changed 8 лет ago by daniele.pontillo@…
  20. Changed 8 лет ago by wronglink@…
  21. comment:3 Changed 8 лет ago by wronglink@…
  22. comment:4 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  23. Changed 8 лет ago by daniele.pontillo@…
  24. comment:5 Changed 8 лет ago by daniele.pontillo@…
  25. comment:6 Changed 8 лет ago by wronglink@…
  26. comment:7 Changed 8 лет ago by daniele.pontillo@…
  27. comment:8 следующий: 9 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  28. comment:9 в ответ на: 8 Changed 8 лет ago by daniele.pontillo@…
  29. comment:10 Changed 8 лет ago by daniele.pontillo@…
  30. comment:11 Changed 8 лет ago by «>mf2k (Frank Schima)
  31. comment:12 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  32. comment:13 следующий: 16 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  33. comment:14 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  34. comment:15 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  35. comment:16 в ответ на: 13 ; следующий: 19 Changed 8 лет ago by m74z00219@…
  36. comment:17 Changed 8 лет ago by m74z00219@…
  37. comment:18 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  38. comment:19 в ответ на: 16 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  39. comment:20 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  40. Changed 8 лет ago by m74z00219@…
  41. comment:21 Changed 8 лет ago by m74z00219@…
  42. comment:22 следующий: 23 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  43. comment:23 в ответ на: 22 Changed 8 лет ago by m74z00219@…
  44. comment:24 Changed 8 лет ago by «>mkae (Marko Käning)
  45. comment:25 Changed 8 лет ago by Tatsh (Andrew Udvare)
  46. Changed 8 лет ago by Tatsh (Andrew Udvare)
  47. comment:26 следующий: 27 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  48. comment:27 в ответ на: 26 Changed 8 лет ago by Tatsh (Andrew Udvare)
  49. comment:28 Changed 8 лет ago by breenh@…
  50. comment:29 следующий: 30 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  51. comment:30 в ответ на: 29 ; следующий: 32 Changed 8 лет ago by breenh@…
  52. comment:31 следующий: 33 Changed 8 лет ago by kap4020@…
  53. comment:32 в ответ на: 30 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  54. comment:33 в ответ на: 31 ; следующий: 34 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  55. comment:34 в ответ на: 33 Changed 8 лет ago by «>jmroot (Joshua Root)
  56. comment:35 Changed 8 лет ago by «>jmroot (Joshua Root)
  57. comment:36 следующий: 37 Changed 8 лет ago by kap4020@…
  58. comment:37 в ответ на: 36 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  59. comment:38 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  60. comment:41 следующий: 60 Changed 8 лет ago by kyawsoelynn@…
  61. comment:42 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  62. comment:43 Changed 8 лет ago by jasoncampisi+macports@…
  63. comment:45 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  64. comment:46 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  65. comment:47 Changed 8 лет ago by «>neverpanic (Clemens Lang)
  66. comment:48 Changed 8 лет ago by Christoph.Ender@…
  67. comment:49 Changed 8 лет ago by glen@…
  68. comment:50 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  69. comment:51 следующие: 54 59 Changed 8 лет ago by kap4020@…
  70. comment:52 следующий: 53 Changed 8 лет ago by philippe.lang@…
  71. comment:53 в ответ на: 52 Changed 8 лет ago by bogdandaja@…
  72. Changed 8 лет ago by sobakasu@…
  73. comment:54 в ответ на: 51 ; следующий: 55 Changed 8 лет ago by sobakasu@…
  74. comment:55 в ответ на: 54 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  75. comment:56 Changed 8 лет ago by sobakasu@…
  76. comment:57 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  77. comment:58 Changed 8 лет ago by «>laughingtiger
  78. comment:59 в ответ на: 51 ; следующие: 62 63 Changed 8 лет ago by «>Dmole (Tim)
  79. comment:60 в ответ на: 41 Changed 8 лет ago by jrblevin@…
  80. comment:61 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  81. comment:62 в ответ на: 59 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  82. comment:63 в ответ на: 59 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  83. Changed 8 лет ago by «>neverpanic (Clemens Lang)
  84. comment:64 Changed 8 лет ago by «>neverpanic (Clemens Lang)
  85. comment:65 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)
  86. comment:66 Changed 8 лет ago by «>gorticus (Jason Mitchell)
  87. comment:67 Changed 8 лет ago by grail@…
  88. comment:68 Changed 8 лет ago by joepreludian@…
  89. comment:69 Changed 8 лет ago by lpsinger (Leo Singer)
  90. comment:70 Changed 8 лет ago by onurdomanic@…
  91. comment:71 Changed 8 лет ago by «>mf2k (Frank Schima)
  92. comment:72 Changed 8 лет ago by «>mf2k (Frank Schima)
  93. comment:73 Changed 8 лет ago by «>mf2k (Frank Schima)
  94. comment:74 Changed 8 лет ago by «>larryv (Lawrence Velázquez)
  95. comment:75 Changed 8 лет ago by «>jmroot (Joshua Root)
  96. comment:76 Changed 8 лет ago by «>larryv (Lawrence Velázquez)
  97. comment:77 Changed 8 лет ago by kap4020@…
  98. comment:78 Changed 8 лет ago by kap4020@…
  99. comment:79 Changed 8 лет ago by kap4020@…
  100. comment:80 Changed 8 лет ago by kap4020@…
  101. comment:81 Changed 8 лет ago by «>jmroot (Joshua Root)
  102. comment:82 Changed 8 лет ago by «>larryv (Lawrence Velázquez)
  103. comment:83 Changed 8 лет ago by «>jmroot (Joshua Root)
  104. comment:84 Changed 8 лет ago by tim.lock@…
  105. Changed 8 лет ago by «>jmroot (Joshua Root)
  106. comment:85 Changed 8 лет ago by «>larryv (Lawrence Velázquez)
  107. comment:86 Changed 8 лет ago by «>easye
  108. comment:87 Changed 8 лет ago by notinmyhead@…
  109. comment:88 Changed 8 лет ago by «>neverpanic (Clemens Lang)
  110. comment:89 Changed 8 лет ago by «>jmroot (Joshua Root)
  111. comment:90 Changed 8 лет ago by «>jmroot (Joshua Root)
  112. comment:91 Changed 8 лет ago by akarypid@…
  113. comment:92 Changed 8 лет ago by akarypid@…
  114. comment:93 Changed 8 лет ago by akarypid@…

install error of cmake when being built with clang #6844

Expected Result

Another copy of cmake, this time compiled by clang, so it is compatible (?) with other tools compiled by clang.

Actual Result

When I execute the bootstrap step manually I get further:

. but unfortunately the bootstrap process fails anyway with

but that is irrelevant I hope.

Steps to reproduce the issue

I can reproduce the issue in many ways, the most straightforward is just

  1. Install vanilla Ubuntu with build-essential and python-minimal
  2. Install and load spack into the bash session
  3. Install gcc@6.3.0 by spack (so it stays as compatible, as possible) to compile llvm
  4. Install llvm@5.0.0
  5. spack install cmake %clang

Information on your system

Just plain Ubuntu 16.04 64bit is sufficient to duplicate, but I can replicate the same error on an HPC machine:

Nothing customized on either machine.

I am trying to install flang. Since neither spack install flang nor spack install flang %gcc@6.3.0 works, I try compile it via llvm. Unfortunately I fail during compilation of cmake.

The text was updated successfully, but these errors were encountered:

Maybe it is worth to add, that executing the line

‘./bootstrap’ ‘—prefix=/home/aryczkowski/spack/opt/spack/linux-ubuntu16.04-x86_64/clang-5.0.0/cmake-3.10.0-dbjzmqxyvikdwpyo6dsjqhmoh6dxc6nf’ ‘—parallel=8’ ‘—no-system-libs’ ‘—no-qt-gui’ ‘—‘ ‘-DCMAKE_USE_OPENSSL=ON’

in the /home/aryczkowski/spack/var/spack/stage/cmake-3.10.0-dbjzmqxyvikdwpyo6dsjqhmoh6dxc6nf/cmake-3.10.0 directory works OK.

The same error with debug output:

I use the current Spack version.

This file is the important one: /tmp/aryczkowski/spack-stage/spack-stage-KIQLkr/cmake-3.10.1/Bootstrap.cmk/cmake_bootstrap.log . What’s in there?

This file is from a different system (hence different hash), but the error is exactly the same, so should be relevant.

This run is done on the current version of Spack:

Spack isn’t handling the standard library properly:

Источник

Brew upgrade cmake failed on OS X Mavericks #20436

So it looks like the cmake knows that curl exists in the system (probably from —system-libs passed to bootstrap) but can’t find it. This seems to be similar to the issue with python’s configure where it couldn’t find zlib or openssl, even though both exist on the system. It can be noted that brew link —force -ing the required libraries (zlib and curl) does seem to allow building, but I feel this is an undesirable temporary solution to the problem rather than a permanent one.

The text was updated successfully, but these errors were encountered:

Can you check check where the system’s curl lib and includes are actually located on 10.9?

Thanks for the report. Unfortunately none of the Homebrew developers have access to 10.9 so we can’t do much to fix this currently.

is there anything other than this I should do? There aren’t any results from trying to find curl in /usr/include.

@MikeMcQuaid Alright, I just wanted to report what I’ve been finding and see if there was anything I could do to help.

@toroidal-code so no /usr/lib/libcurl.dylib symlink there?

Need to check if our custom curl .pc is made findable on 10.9.

@samueljohn the libcurl.dylib is actually a symlink, pointing to libcurl.4.dylib

Can you show me the output of ls -l /usr/lib/pkgconfig ?

/usr/lib ❯❯❯ ls -l /usr/lib/pkgconfig
-rw-r—r— 1 root wheel 329 Jun 11 09:20 apr-1.pc
-rw-r—r— 1 root wheel 446 Jun 11 09:20 apr-util-1.pc
-rw-r—r— 1 root wheel 239 Jun 11 09:15 libcrypto.pc
-rw-r—r— 1 root wheel 327 Jun 11 09:21 libedit.pc
-rw-r—r— 1 root wheel 3591 Jun 11 09:21 libiodbc.pc
-rw-r—r— 1 root wheel 268 Jun 11 09:21 libpcre.pc
-rw-r—r— 1 root wheel 301 Jun 11 09:21 libpcreposix.pc
-rw-r—r— 1 root wheel 254 Jun 11 09:15 libssl.pc
-rw-r—r— 1 root wheel 264 Jun 11 09:15 openssl.pc

Should be fixed, can you brew update and retry?

I am not trying to update just a fresh install. Not sure if this is related but seem to be.
❯❯❯ brew install -vd cmake
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/cmake.rb
==> Downloading http://www.cmake.org/files/v2.8/cmake-2.8.11.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/cmake-2.8.11.1.tar.gz
tar xf /Library/Caches/Homebrew/cmake-2.8.11.1.tar.gz
==> ./bootstrap —prefix=/usr/local/Cellar/cmake/2.8.11.1 —system-libs —no-system-libarchive —datadir=/share/cmake —docdir=/share/doc/cmake —mandir=/share/man

./bootstrap —prefix=/usr/local/Cellar/cmake/2.8.11.1 —system-libs —no-system-libarchive —datadir=/share/cmake —docdir=/share/doc/cmake —mandir=/share/man

CMake 2.8.11.1, Copyright 2000-2012 Kitware, Inc.
C compiler on this system is: cc
C++ compiler on this system is: c++
Makefile processor on this system is: gmake
c++ is GNU compiler
c++ has setenv
c++ has unsetenv
c++ does not have environ in stdlib.h
c++ has STL in std:: namespace
c++ has ANSI streams
c++ has streams in std:: namespace
c++ has sstream
c++ has operator!=(string, char*)
c++ has stl iterator_traits
c++ has standard template allocator
c++ has allocator<>::rebind<>
c++ does not have non-standard allocator<>::max_size argument
c++ has stl containers supporting allocator objects
c++ has header cstddef
c++ requires template friends to use <>
c++ supports member templates
c++ has standard template specialization syntax
c++ has argument dependent lookup
c++ does not have struct stat with st_mtim member
c++ has ios::binary openmode

Источник

С ++ 11 ошибка std :: unique_ptr cmake 3.11.3 начальной загрузки

Я пытаюсь загрузить cmake 3.11.3 на Ubuntu 16.04.4 LTS xenial.

Я обновил свой компилятор gnu g ++ следующим образом:

И вручную перенаправили символические ссылки:

Однако в конфигурации cmake я получаю следующую ошибку:

Есть идеи, почему я получаю ошибку несовместимости с C ++ 11 std::unique_ptr ?

2 ответа

На самом деле скрипт ./bootstrap действительно пробует различные стандартные флаги C ++ с компилятором. Таким образом, он должен автоматически определять свои возможности.

Убедитесь, что у вас не задана никакая переменная среды CXXFLAGS , и повторите попытку с нуля (сообщения / предупреждения, которые вы получаете, указывают на несколько попыток / ошибок в одном каталоге).

Вывод в случае успеха

Ссылка на мой Ubuntu, вызывающий CMake ./bootstrap , выглядит так:

Для отладки вашей проблемы вы также можете:

  • Позвоните ./bootstrap —verbose
  • Посмотрите на Bootstrap.cmk/cmake_bootstrap.log

Известная проблема

У меня только однажды была проблема с bootstrap использованием компиляторов clang , когда мне нужно было сделать следующий вызов:

Если вы просто хотите установить последнюю версию, см. Как указать, где CMake установлен в Ubuntu?

В моем случае проблема связана с тем, что папка, в которой у меня есть исходный код CMake, находится в смонтированном каталоге (на самом деле все мои rootfs смонтированы через NFS) Итак, я просмотрел вывод команды ‘mount’ и выбрал ‘/ run / user / 1000 ‘в качестве локального, поскольку он смонтирован с помощью tmpfs и переместил мой исходный код CMake в это место. с этим ./bootstrap && make && sudo make install выполнено успешно.

Источник

Error while building cmake

I am building latest cmake2.8 from source on Solaris 10 x86. But it is giving me error message when I execute ./bootstrap:

CMake 2.8.12.2, Copyright 2000-2012 Kitware, Inc.

C compiler on this system is: cc

C++ compiler on this system is: CC

Makefile processor on this system is: /usr/sfw/bin/gmake

CC is not GNU compiler

CC has unsetenv

CC does not have environ in stdlib.h

CC has STL in std:: namespace

CC has ANSI streams

CC has streams in std:: namespace

CC has operator!=(string, char*)

CC does not have stl iterator_traits

CC does not have old iterator_category

CC has old __iterator_category

CC has standard template allocator

CC does not have allocator<>::rebind<>

CC has non-standard allocator<>::max_size argument

CC has stl containers supporting allocator objects

CC does not have header cstddef

CC requires template friends to use <>

CC supports member templates

CC has standard template specialization syntax

CC has argument dependent lookup

CC has struct stat with st_mtim member

CC has ios::binary openmode

CC has ANSI for scoping

gmake: `cmake’ is up to date.

loading initial cache file /Documents/cmake/cmake2.8/Bootstrap.cmk/InitialCacheFlags.cmake

CMake Error: CMake was unable to find a build program corresponding to «Unix Makefiles». CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.

Missing variable is:

CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.

Missing variable is:

CMake Error: Could not find cmake module file: /Documents/cmake/cmake2.8/CMakeFiles/2.8.12.2/CMakeCCompiler.cmake

CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.

Missing variable is:

CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.

Missing variable is:

CMake Error: Could not find cmake module file: /Documents/cmake/cmake2.8/CMakeFiles/2.8.12.2/CMakeCXXCompiler.cmake

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage

CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

— Configuring incomplete, errors occurred!

Error when bootstrapping CMake:

Problem while running initial CMake

I have gmake on my machine as well as CC and cc and set the PATH variable in the shell. Also I noticed CC is not GNU compiler when CMake is detecting the compiler.

Is it normal? Did I miss any configurations?

Источник

cmake fails when a deployment target is set but not a matching SDK

Сообщил: daniele.pontillo@… Владелец: «>cssdev
Приоритет: Normal Этап разработки:
Компонент: ports Версия: 2.3.2
Ключевые слова: haspatch yosemite Копия: wronglink@…, amir.shaahin@…, m74z00219@…, «>ryandesign (Ryan Schmidt) , «>mkae (Marko Käning) , breenh@…, jasoncampisi+macports@…, «>schnide (Joe Schnide) , Christoph.Ender@…, glen@…, sobakasu@…, «>laughingtiger , lpsinger (Leo Singer) , onurdomanic@…, whitepurplegreen@…, «>rubendibattista (Ruben Di Battista) , edwardsmoon@…, tim.lock@…, dbender@…, akarypid@…
Port: cmake

Описание (последним изменил «>ryandesign (Ryan Schmidt) )

I guess the problem lies in the CMAKE_OSX_SYSROOT value: as noted in the following log lines, and I cannot install cmake:

Вложения (8)

Download all attachments as: .zip

История изменений (101)

comment:1 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

Port: cmake добавлен
Ключевые слова: yosemite добавлен
Описание: изменено (отличие)

Then clean cmake and try again.

Changed 8 лет ago by daniele.pontillo@…

Not working for me. Take a look at the attachment please.

Changed 8 лет ago by wronglink@…

I’m having the same trouble. The only one Xcode in the system is 5.1.1 and it’s located in /Applications/Xcode.app

comment:4 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

daniele, your log is incomplete. Please clean and try again and then attach the complete log.

wronglink, you need the Xcode 6 beta. Get it from the Apple developer web site and then select it with xcode-select .

Changed 8 лет ago by daniele.pontillo@…

I attached my log file. Please heeeelllllpppppp

ryandesign, thank you.

I also had to reconfigure and reinstall MacPorts (it didn’t see new Xcode path). Then I cleaned all ports and finally cmake installed without any problem.

To everyone who helped: thank you, but I followed step-by-step, with no success. It may be Yosemite.

wronglink, you don’t need to reconfigure or reinstall MacPorts after installing the new Xcode. You just need to xcode-select it and install its command line tools.

daniele, your log says:

You need to remove /Library/Frameworks/Gtk.framework from your disk, clean cmake and then try again. Installing frameworks in /Library/Frameworks will interfere with MacPorts.

wronglink, you don’t need to reconfigure or reinstall MacPorts after installing the new Xcode. You just need to xcode-select it and install its command line tools.

daniele, your log says:

You need to remove /Library/Frameworks/Gtk.framework from your disk, clean cmake and then try again. Installing frameworks in /Library/Frameworks will interfere with MacPorts.

Done. I works. Thanks

removing Gtk from frameworks, it works.

Cc reporter of duplicate #44718.

comment:12 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

Xcode 6 final has been released, but the 10.10 SDK which was present in the betas was removed for the final version. So for 10.10 you’ll now need the Xcode 6.1 beta.

comment:14 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

comment:15 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

Xcode 6 final has been released, but the 10.10 SDK which was present in the betas was removed for the final version. So for 10.10 you’ll now need the Xcode 6.1 beta.

I tried this and made it as far as building cmake before an error cropped up.

I tried upgrading gnuplot, but this requires cmake, so that didn’t work either.

I then tried the alternative compile methods cited on the problems hotlist and that didn’t work either.

comment:18 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

It’s not possible for us to know why this happened until we see what’s in that file.

comment:20 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

Changed 8 лет ago by m74z00219@…

I just attached the cmake log. I would also like to note that I am using Xcode 6.1 beta 3

Please remove libcurl.framework from /Library/Frameworks (and ideally remove anything else you’ve installed in that directory), then «sudo port clean cmake» and try again.

Thank you, Ryan. That did the trick.

Please remove libcurl.framework from /Library/Frameworks (and ideally remove anything else you’ve installed in that directory), then «sudo port clean cmake» and try again.

comment:25 Changed 8 лет ago by Tatsh (Andrew Udvare)

Apple has seemingly removed Xcode 6.1 beta from the developer site and we are stuck on 6.0.1 until at least Monday when iOS 8.1 comes out as far as I can tell.

With 6.0.1 and official Yosemite I get the same error as in the original post.

Changed 8 лет ago by Tatsh (Andrew Udvare)

Xcode 6.1 is available from the ​ developer downloads page.

Thanks, didn’t notice that somehow. Maybe that’s a bad UI there 😛

I upgraded to Yosemite tonight and am hitting this issue with cmake. I do not have Xcode installed at all; I use the command line tools only. These were upgraded by the Mac App Store after the upgrade to Yosemite; it claims they are the command line tools «10.10 version 6.1». So given that I supposedly have the 6.1 version, is there anything else I can do? Is there something I should check to verify that I actually have the changes in Xcode 6.1 that are required?

Please install and select Xcode 6.1. MacPorts had always required Xcode and the Xcode command line tools.

Please install and select Xcode 6.1. MacPorts had always required Xcode and the Xcode command line tools.

This fixed the issue. Curious what is different between the full Xcode install and the command line tools (other than the obvious). For the record, the command line tools alone worked fine on Mavericks for these same packages.

Just confirming that, as of 11/17/2014:

  • Xcode 6.1 beta is not on the developer downloads page anymore
  • There is a «Xcode command line tools for XCode 6.1» installer, but it doesn’t fix the cmake error because there is still no /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk directory.

Curious what is different between the full Xcode install and the command line tools (other than the obvious).

Xcode provides SDKs. cmake requires an SDK.

  • Xcode 6.1 beta is not on the developer downloads page anymore

Xcode 6.1 final is available from ​ this developer downloads page; please install and select it.

  • Xcode 6.1 beta is not on the developer downloads page anymore

Xcode 6.1 final is available from ​ this developer downloads page; please install and select it.

I certainly can’t find it there.

I vaguely recall an upstream bug report related to this; does anyone have a link? If there isn’t one there should be, since I can’t think of any reason why cmake would absolutely need an SDK.

My Apple Developer Downloads page looks like this:

My Apple Developer Downloads page looks like this:

I see, I guess Apple shows different downloads to different people. Perhaps I get to see it early because I was a member of the Yosemite beta program.

comment:38 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

  1. Download Xcode 6.1 from ​ https://developer.apple.com/downloads/
  2. Install and replace old version Xcode 6.0.1
  3. Download Command Line Tools (OS X 10.10) for Xcode 6.1 and install it.

Try to install again for cmake, make sure «port clean cmake».

It worked for me.

comment:42 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

I have had this same problem building cmake in OS X.X Beta 1 through OS X.X Gold-master.

This fixed the problem:

  1. Completely uninstall Macports. Remove all traces using these steps ​ guide.macports.org/chunked/installing.macports.uninstalling.html
  2. Reboot the system
  3. Download and build Macports from the latest source (I tried using the binary install route, but the installer hung for over 1hr eating 95% of the CPU cycles; so, I killed the task, and built from the source and installed within 5mins). Guide here ​ guide.macports.org/chunked/installing.macports.html#installing.macports.source
  4. Update to Xcode 6.1
  5. Run the command: sudo port install cmake

comment:45 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

Копия: jasoncampisi+macports@… добавлен

comment:46 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

comment:50 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

If you can’t download/install XCode 6.1, here’s a workaround:

  1. Open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.2/Modules/Platform/Darwin.cmake .
  2. Add the line set(CMAKE_OSX_DEPLOYMENT_TARGET «») at the top.
  3. ‘sudo port install cmake’

In patch format:

Worked perfect for me. Thanks!

You was faster than me 🙂 It works for me also. Thank You

Changed 8 лет ago by sobakasu@…

errors after applying patch ‘set(CMAKE_OSX_DEPLOYMENT_TARGET «»)’

If you can’t download/install XCode 6.1, here’s a workaround:

I tried your patch but got a bunch of new errors after ‘sudo port install cmake’, in main.sobakasu.log. i’m using xcode 6.0.1

I tried your patch but got a bunch of new errors after ‘sudo port install cmake’, in main.sobakasu.log. i’m using xcode 6.0.1

The log you attached is not from a ​ clean build.

I ended up making a symlink in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs

cmake now compiles. what could possibly go wrong

comment:57 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

I cannot endorse making such a symlink, and recommend you remove it.

Thanks that worked for me.

Someone please fix the cmake package with

so we can close this bug.

  1. Download Xcode 6.1 from ​ https://developer.apple.com/downloads/
  2. Install and replace old version Xcode 6.0.1
  3. Download Command Line Tools (OS X 10.10) for Xcode 6.1 and install it.

Try to install again for cmake, make sure «port clean cmake».

Many thanks! Just to confirm, this worked for me as well.

comment:61 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

Someone please fix the cmake package with

so we can close this bug.

I don’t believe we intend to make that change. I believe we intend for the fix to be to install a version of Xcode with the required SDK, e.g. Xcode 6.1.

Changed 8 лет ago by «>neverpanic (Clemens Lang)

Patch against the Portfile that achieves the same thing

I’ve attached a patch against the Portfile that achieves the same without fiddling with Darwin.cmake.

Maintainer: Is there something that requires us to build cmake with a deployment target, especially when it refuses to build using a deployment target but without and SDK?

comment:65 Changed 8 лет ago by «>ryandesign (Ryan Schmidt)

Chris hasn’t weighed in on this issue yet, but I’m really reluctant to make any change here, since we’ve tried making changes to the deployment target and SDK stuff in the cmake portgroup before which have resulted in unintended breakage and the need to put things back the way they were. What we have now works fine, provided the OS SDK is present, which it will be as soon as a compatible version of Xcode is installed. I still think that is the correct solution.

Installing Xcode 6.1 and associated command line tools worked for me.

[edit] Perhaps adding a note regarding Xcode 6.1 to the ​ Migration page for Yosemite would help?

Worked for me: upgraded to Yosemite from Mavericks, downloaded Xcode 6.1 from the links above, ran xcode-select, port clean cmake, port upgrade outdated.

NB: when downloading and installing Xcode 6.1, make sure the application name has no spaces in it. Many Unix build tools are not designed to handle filenames or paths with spaces in them.

What happening is when we Setup a brand new OS X and put Xcode, the public version is 6.0.1 and doesn’t have the 10.10 SDK. (Just have iOS8 one). I got the developer version of Xcode (6.1), did an Xcode select, also I set CMAKE_OSX_SYSROOT and rebuild my cmake. I Did the following:

I Hope it helps.

Копия: whitepurplegreen@… добавлен

Cc reporter of duplicate #45493.

Версия: 2.3.1 → 2.3.2
Владелец: изменён с macports-tickets@… на css@…
Копия: css@… перемещён
Копия: rubendibattista@… добавлен

Cc reporter of duplicate #45491.

Xcode 6.1 is now available from the Mac App Store.

How about this addition to the Darwin.cmake patch currently used by the port? The compiler and linker don’t complain about the combination of a deployment target and no SDK, so why should cmake? There’s still a warning about the SDK matching the deployent target not existing, which would be nice to silence as well, but this allows cmake to build on 10.10 without a 10.10 SDK.

OK, new version of the patch that also silences the warning when it’s not relevant. This should be good to send upstream, apart from the previously existing bit that allows /, which I think they already applied.

Ключевые слова: haspatch добавлен

Changed 8 лет ago by «>jmroot (Joshua Root)

I tried everything but I still get a different error:

notinmyhead, this is a different issue, please open a separate ticket for that. That being said, it seems you have an incompatible expat in /Library/Frameworks (possibly installed manually or by some 3rd-party-installer). Remove it or build cmake in trace mode ( port -t . ).

Решение: → fixed
Состояние: new → closed

Patch committed in r127220 (maintainer timeout).

Краткое описание: cmake and CMAKE_OSX_SYSROOT value on mac os 10.10 yosemite → cmake fails when a deployment target is set but not a matching SDK

I located this bug when investigating a build problem with port that uses cmake to build; see: ​ https://trac.macports.org/ticket/47062#comment:8

I was actually trying to build octave, which failed due to the gl2ps library missing, which failed due to CMAKE_OSX_SYSROOT being specified when running cmake for the gl2ps package.

Any idea what the problem is with the the XCode 6.1 command line tools? I think that starting with XCode 5 the command line tools are included in the XCode application. So you don’t need to install the separate command-line tools package (just the XCode GUI will do). The command line tools are only required if you want to be able to build in a headless environment.

I’ve installed XCode GUI and been able to build lots of ports without issue until now. When I run port I always get a warning:

. but in fact everything works because the command line tools are present on the syste:

It seems that due to the above, macports note detecting the location of the command line tools, it passes a CMAKE_OSX_SYSROOT=»/» to cmake which causes it to silently break the build.

Currently I’ve «cheated» by building and installing gl2ps manually. I was able to build octave normally after that.

Apparently there’s some issue with the command line tools bundled with the XCode application? I installed the «traditional» version with xcode-select —install and the problem has gone away.

I guess macports isn’t supposed to support the version that comes with XCode?

Источник

bigrockcrasher

Posts: 8
Joined: 2018/06/06 15:48:32

Compiling Cmake

I am currently trying to compile cmake 3.17.3 on centos 8.1 I get the following error

CMake 3.17.3, Copyright 2000-2020 Kitware, Inc. and Contributors
Found GNU toolchain
C compiler on this system is: gcc
C++ compiler on this system is: g++
Makefile processor on this system is: gmake
g++ has setenv
g++ has unsetenv
g++ does not have environ in stdlib.h
g++ has stl wstring
g++ has <ext/stdio_filebuf.h>
———————————————
gmake: Warning: File ‘Makefile’ has modification time 34 s in the future
gmake: ‘cmake’ is up to date.
gmake: warning: Clock skew detected. Your build may be incomplete.
loading initial cache file /data/jsp/human2/fcMRI/Aaron/chopin/CMake-3.17.3/Bootstrap.cmk/InitialCacheFlags.cmake
CMake Error at CMakeLists.txt:107 (message):
The C++ compiler does not support C++11 (e.g. std::unique_ptr).

— Configuring incomplete, errors occurred!
See also «/data/jsp/human2/fcMRI/Aaron/chopin/CMake-3.17.3/CMakeFiles/CMakeOutput.log».
See also «/data/jsp/human2/fcMRI/Aaron/chopin/CMake-3.17.3/CMakeFiles/CMakeError.log».
———————————————
Error when bootstrapping CMake:
Problem while running initial CMake
———————————————

I am not the admin of the machine. I had the admin follow the instruction from the following URL

https://linuxhint.com/install_gcc_build_tools_centos8/

I am assuming i am missing some thing.


User avatar

TrevorH

Site Admin
Posts: 32527
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Compiling Cmake

Post

by TrevorH » 2020/06/24 22:44:23

Yes. It’s already packaged and available in the EPEL yum repository.

yum —enablerepo=extras install epel-release
yum install cmake3


bigrockcrasher

Posts: 8
Joined: 2018/06/06 15:48:32

Re: Compiling Cmake

Post

by bigrockcrasher » 2020/06/24 23:00:51

Ya, knew about the repositories. I am more interested in knowing how to compile this. I enjoy the challenge.


User avatar

TrevorH

Site Admin
Posts: 32527
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Compiling Cmake

Post

by TrevorH » 2020/06/24 23:18:25

This is an enterprise distribution in which recreatability is paramount along with stability. Packages are the preferred method to do things. Compilation is discouraged.


mathog

Posts: 258
Joined: 2008/07/09 23:52:06

Re: Compiling Cmake

Post

by mathog » 2020/06/25 19:11:28

Not exactly what you asked, but this is how I installed the binaries for what was at that time the most recent Cmake version on CentOS 8 and packaged it for Lmod. These binaries ran on this system. The script at the end is here:

https://saf.bio.caltech.edu/pub/softwar … rectory.sh

Some of the commands will not apply in your case. Change 3.17.1 to 3.17.3.

Code: Select all

  pversion=3.17.1
  package=cmake
  TOPDIR=/usr/common/modules/el8/x86_64/software/${package}/${pversion}-CentOS-vanilla
  #as modules on 2020/04/21 on CentOS 8
  #remove CentOS 7 version
  rm -rf /usr/common/modules/el7/x86_64/software/cmake
  rm -rf /usr/common/modules/el7/x86_64/modules/all/cmake
  rm -rf /usr/common/src/cmake-*
  #this is for programs that need the absolute latest cmake
  cd /usr/common/src
  wget https://github.com/Kitware/CMake/releases/download/v${pversion}/${package}-${pversion}-Linux-x86_64.tar.gz
  gunzip -c ${package}-${pversion}-Linux-x86_64.tar.gz | tar -xf -
  /bin/rm ${package}-${pversion}-Linux-x86_64.tar.gz
  mv ${package}-${pversion}-Linux-x86_64 ${package}-${pversion}
  cd ${package}-${pversion}
  mkdir -p $TOPDIR
  rmdir $TOPDIR
  ln -s $PWD $TOPDIR
  module_generate_from_directory.sh 
     $package 
     $pversion 
     CentOS/vanilla 
     $TOPDIR 
     "Cross-Platform Makefile Generator." 
     "https://cmake.org/"

Using it:

Code: Select all

module load cmake
which cmake
~/el8/x86_64/software/cmake/3.17.1-CentOS-vanilla/bin/cmake
cmake --version
cmake version 3.17.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
ls -al `which cmake`
-rwxr-xr-x. 1 modules modules 11690712 Apr  9 05:53 /usr/common/modules/el8/x86_64/software/cmake/3.17.1-CentOS-vanilla/bin/cmake


mathog

Posts: 258
Joined: 2008/07/09 23:52:06

Re: Compiling Cmake

Post

by mathog » 2020/06/25 19:30:00

Perhaps your compiler install is borked? This worked here using the system’s usual compilers and cmake:

Code: Select all

g++ --version
#g++ (GCC) 8.3.1 20190507 (Red Hat 8.3.1-4)
set | grep FLAG
#none
cd /tmp
mkdir /tmp/cmake_root
wget https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3.tar.gz
gunzip -c cmake-3.17.3.tar.gz | tar -xf - 
/bin/rm cmake-3.17.3.tar.gz 
cd cmake-3.17.3
mkdir build
cd build
cmake 
  -DCMAKE_INSTALL_PREFIX=/tmp/cmake_root 
  -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON  
  .. 2>&1 | tee cmake_2020_06_25.log
make -j 4 2>&1 | tee build_2020_06_25.log
make install 2>&1 | tee install_2020_06_25.log
/tmp/cmake_root/bin/cmake --version
#cmake version 3.17.3

These are the compilers used:

Code: Select all

 rpm -qa | grep ^gcc | grep -v toolset
gcc-gdb-plugin-8.3.1-4.5.el8.x86_64
gcc-8.3.1-4.5.el8.x86_64
gcc-gfortran-8.3.1-4.5.el8.x86_64
gcc-c++-8.3.1-4.5.el8.x86_64


bigrockcrasher

Posts: 8
Joined: 2018/06/06 15:48:32

Re: Compiling Cmake

Post

by bigrockcrasher » 2020/06/25 22:30:29

Ok I got it to work. I was compiling over nfs on a zfs system. I read a post that had a similar issue. They solved it by compiling it locally. I tried it out and it worked. I have no idea why. If any one has a reason this worked I would love to know.

TrevorH, I told you I like the challenge. There is a reason for my efforts. Not all software is found in a repository forcing me to learn how to install software the old fashion way which is what i am forced to do after this. In this case I needed cmake version 3.16. The repositories had 3.11. now I got the useful version installed and I learned a lesson which will help me install some software I know it is not found in any repositories.


User avatar

TrevorH

Site Admin
Posts: 32527
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Compiling Cmake

Post

by TrevorH » 2020/06/26 00:56:05

No, EPEL has 3.17


User avatar

jlehtone

Posts: 4250
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Compiling Cmake

Post

by jlehtone » 2020/06/26 05:53:23

More specifically, epel-playground has it at this moment:

Code: Select all

[CentOS 8]$ sudo yum --enablerepo=epel* list cmake*
Installed Packages
cmake.x86_64                3.11.4-7.el8               @AppStream               
cmake-data.noarch           3.11.4-7.el8               @AppStream               
cmake-filesystem.x86_64     3.11.4-7.el8               @AppStream               
cmake-rpm-macros.noarch     3.11.4-7.el8               @AppStream               
Available Packages
cmake-doc.noarch            3.11.4-7.el8               AppStream                
cmake-filesystem.i686       3.11.4-7.el8               AppStream                
cmake-gui.x86_64            3.11.4-7.el8               AppStream                
cmake3.x86_64               3.17.2-1.epel8.playground  epel-playground          
cmake3-data.noarch          3.17.2-1.epel8.playground  epel-playground          
cmake3-doc.noarch           3.17.2-1.epel8.playground  epel-playground          
cmake3-gui.x86_64           3.17.2-1.epel8.playground  epel-playground          
...


Jean-Pierre

Posts: 12
Joined: 2020/05/31 16:36:25

Re: Compiling Cmake

Post

by Jean-Pierre » 2020/06/26 06:42:05

Ok I got it to work. I was compiling over nfs on a zfs system. I read a post that had a similar issue. They solved it by compiling it locally. I tried it out and it worked. I have no idea why.

The reason if that the system times are not synced. See your first post :

Code: Select all

gmake: Warning: File 'Makefile' has modification time 34 s in the future
gmake: 'cmake' is up to date.
gmake: warning: Clock skew detected. Your build may be incomplete.

make bases its decisions on the time stamps. Files are on different servers not time synced lead to wrong decisions.


I tried to install cmake 2.8.11 on Ubuntu 13.04. I got cmake 2.8.11 source and during installing some errors happened. And Ubuntu installs cmake 2.8.10. Because of a lot of dependencies I am not able to install manually. Please suggest how I can install cmake 2.8.11 on Ubuntu 13.04.


I use a open source code, needs cmake 2.8.11 for accurate execution. I tried to install
by the following commands:

tar -xzvf cmake-2.8.11.2.tar.gz
cd cmake-2.8.11.2.tar.gz
./configure
make  

after ./configure:

-- Checking whether C++ compiler has '__int64' - no

-- Checking for C type size macros

-- Checking for C type size macros - compiled

-- Looking for sys/types.h

-- Check size of __int64 - failed

-- Checking whether char is signed

-- Checking whether CXX compiler has _atoi64 - no

-- Looking for connect in socket;dl

-- Looking for connect in socket;dl - not found

-- Looking for gethostbyname in c

-- Looking for gethostbyname in c - found

-- Looking for recv in network;dl

-- Looking for recv in network;dl - not found

-- Looking for getch in ws2_32;dl

-- Looking for getch in ws2_32;dl - not found

-- Looking for getch in winmm;dl

-- Looking for getch in winmm;dl - not found

-- Looking for idna_to_ascii_lz in idn;dl

-- Looking for idna_to_ascii_lz in idn;dl - not found

-- Looking for dlopen in dl

-- Looking for dlopen in dl - found

-- Looking for process.h

-- Looking for process.h - not found

-- Looking for features.h

-- Looking for features.h - found

-- Looking for include file stdio.h

-- Looking for 37 include files stdio.h, ..., sys/utime.h - not found

-- Looking for 37 include files stdio.h, ..., sockio.h

-- Looking for 37 include files stdio.h, ..., sockio.h - not found

-- Looking for 37 include files stdio.h, ..., sys/sockio.h

-- Looking for 37 include files stdio.h, ..., sys/sockio.h - not found

-- Looking for 37 include files stdio.h, ..., x509.h

-- Looking for 37 include files stdio.h, ..., x509.h - not found

-- Looking for 42 include files stdio.h, ..., idn-free.h - not found

-- Looking for 42 include files stdio.h, ..., idna.h

-- Looking for 42 include files stdio.h, ..., idna.h - not found

-- Looking for 42 include files stdio.h, ..., tld.h - not found

-- Looking for 45 include files stdio.h, ..., sys/filio.h - not found

-- Check size of __int64 - failed

-- Looking for stricmp - not found

-- Looking for strcmpi

-- Looking for strcmpi - not found

-- Looking for strncmpi

-- Looking for strncmpi - not found

-- Looking for inet_ntoa_r - not found

-- Looking for closesocket

-- Looking for closesocket - not found

-- Looking for getpass_r - not found

-- Looking for _strtoi64 - not found

-- Looking for strerror_r

-- Looking for idn_free - not found

-- Looking for idna_strerror

-- Looking for idna_strerror - not found

-- Looking for tld_strerror

-- Looking for tld_strerror - not found

-- Performing Curl Test HAVE_FIONBIO - Failed

-- Performing Curl Test HAVE_IOCTLSOCKET

-- Performing Curl Test HAVE_IOCTLSOCKET - Failed

-- Performing Curl Test HAVE_IOCTLSOCKET_CASE

-- Performing Curl Test HAVE_IOCTLSOCKET_CASE - Failed

-- Performing Curl Test HAVE_O_NONBLOCK

-- Performing Curl Test HAVE_O_NONBLOCK - Success

-- Performing Curl Test HAVE_SO_NONBLOCK

-- Performing Curl Test HAVE_SO_NONBLOCK - Failed

-- Performing Curl Test TIME_WITH_SYS_TIME

-- Performing Curl Test TIME_WITH_SYS_TIME - Success

-- Performing Curl Test HAVE_O_NONBLOCKHAVE_GETHOSTBYADDR_R_5

-- Performing Curl Test HAVE_O_NONBLOCKHAVE_GETHOSTBYADDR_R_5 - Failed

-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7

-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7 - Failed

-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8

-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8 - Success

-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5_REENTRANT

-- Performing Curl Test HAVE_GETHOSTBYADDR_R_5_REENTRANT - Failed

-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7_REENTRANT

-- Performing Curl Test HAVE_GETHOSTBYADDR_R_7_REENTRANT - Failed

-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8_REENTRANT

-- Performing Curl Test HAVE_GETHOSTBYADDR_R_8_REENTRANT - Success

-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3

-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3 - Failed

-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5

-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5 - Failed

-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6 

-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6 - Success

-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3_REENTRANT

-- Performing Curl Test HAVE_GETHOSTBYNAME_R_3_REENTRANT - Failed

-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5_REENTRANT

-- Performing Curl Test HAVE_GETHOSTBYNAME_R_5_REENTRANT - Failed

-- Performing Curl Test HAVE_GETHOSTBYNAME_R_6_REENTRANT

-- Performing Curl Test HAVE_INET_NTOA_R_DECL - Failed

-- Performing Curl Test HAVE_INET_NTOA_R_DECL_REENTRANT

-- Performing Curl Test HAVE_INET_NTOA_R_DECL_REENTRANT - Failed

-- Check size of curl_off_t - done

-- Performing Test curl_cv_recv

-- Performing Test curl_cv_recv - Success

-- Performing Test int recv(int, void *, size_t, int) (curl_cv_func_recv_test)

-- Performing Test int recv(int, void *, size_t, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(int, void *, int, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(int, void *, int, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(int, void *, int, unsigned int) (curl_cv_func_recv_test) - 
Failed

-- Performing Test int recv(int, void *, socklen_t, int) (curl_cv_func_recv_test)

-- Performing Test int recv(int, void *, socklen_t, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(int, char *, size_t, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(int, char *, size_t, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(int, char *, size_t, unsigned int) (curl_cv_func_recv_test)
 - Failed

-- Performing Test int recv(int, char *, int, int) (curl_cv_func_recv_test)

-- Performing Test int recv(int, char *, int, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(int, char *, int, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(int, char *, int, unsigned int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(int, char *, socklen_t, int) (curl_cv_func_recv_test)

-- Performing Test int recv(int, char *, socklen_t, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(int, char *, socklen_t, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(int, char *, socklen_t, unsigned int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(int, char *, unsigned int, int) (curl_cv_func_recv_test)

-- Performing Test int recv(int, char *, unsigned int, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(int, char *, unsigned int, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(int, char *, unsigned int, unsigned int) 
(curl_cv_func_recv_test) - Failed

-- Performing Test int recv(ssize_t, void *, size_t, int) (curl_cv_func_recv_test)
-- Performing Test int recv(ssize_t, void *, size_t, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(ssize_t, void *, size_t, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(ssize_t, void *, size_t, unsigned int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(ssize_t, void *, int, int) (curl_cv_func_recv_test)

-- Performing Test int recv(ssize_t, void *, int, int) (curl_cv_func_recv_test) - Failed


-- Performing Test int recv(ssize_t, void *, int, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(ssize_t, void *, int, unsigned int) (curl_cv_func_recv_test)
 - Failed

Failed

(curl_cv_func_recv_test) - Failed

-- Performing Test int recv(ssize_t, void *, unsigned int, int) (curl_cv_func_recv_test)

-- Performing Test int recv(ssize_t, void *, unsigned int, int) (curl_cv_func_recv_test)
 - Failed

-- Performing Test int recv(ssize_t, void *, unsigned int, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(ssize_t, void *, unsigned int, unsigned int) (curl_cv_func_recv_test) - Failed


-- Performing Test int recv(ssize_t, char *, size_t, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(ssize_t, char *, size_t, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(ssize_t, char *, size_t, unsigned int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(ssize_t, char *, int, int) (curl_cv_func_recv_test)

-- Performing Test int recv(ssize_t, char *, int, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(ssize_t, char *, socklen_t, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(ssize_t, char *, socklen_t, unsigned int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(ssize_t, char *, unsigned int, int) (curl_cv_func_recv_test)

-- Performing Test int recv(ssize_t, char *, unsigned int, int) (curl_cv_func_recv_test)
 - Failed

-- Performing Test int recv(ssize_t, char *, unsigned int, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(ssize_t, char *, unsigned int, unsigned int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, void *, size_t, int) (curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, void *, size_t, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, void *, size_t, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, void *, size_t, unsigned int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, void *, int, int) (curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, void *, int, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, void *, int, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, void *, int, unsigned int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, void *, socklen_t, int) (curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, void *, socklen_t, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, void *, socklen_t, unsigned int) 
(curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, void *, socklen_t, unsigned int) 
(curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, void *, unsigned int, int) (curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, void *, unsigned int, int) (curl_cv_func_recv_test) 
- Failed

-- Performing Test int recv(SOCKET, void *, unsigned int, unsigned int) 
(curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, void *, unsigned int, unsigned int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, char *, size_t, int) (curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, char *, size_t, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, char *, size_t, unsigned int) 
(curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, char *, size_t, unsigned int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, char *, int, int) (curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, char *, int, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, char *, int, unsigned int) (curl_cv_func_recv_test)


-- Performing Test int recv(SOCKET, char *, int, unsigned int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, char *, socklen_t, int) (curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, char *, socklen_t, int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, char *, socklen_t, unsigned int) (curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, char *, socklen_t, unsigned int) (curl_cv_func_recv_test) - Failed

-- Performing Test int recv(SOCKET, char *, unsigned int, int) (curl_cv_func_recv_test)

-- Performing Test int recv(SOCKET, char *, unsigned int, int) (curl_cv_func_recv_test) - Failed

-- Performing Test curl_cv_send

-- Performing Test curl_cv_send - Success

-- Performing Test int send(int, const void *, size_t, int) (curl_cv_func_send_test)

-- Performing Test int send(int, const void *, size_t, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, const void *, size_t, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, const void *, size_t, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, const void *, int, int) (curl_cv_func_send_test)

-- Performing Test int send(int, const void *, int, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, const void *, int, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, const void *, int, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, const void *, socklen_t, int) (curl_cv_func_send_test)

-- Performing Test int send(int, const void *, socklen_t, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, const void *, socklen_t, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, const void *, socklen_t, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, const void *, unsigned int, int) (curl_cv_func_send_test)

-- Performing Test int send(int, const void *, unsigned int, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, const void *, unsigned int, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, const void *, unsigned int, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, void *, size_t, int) (curl_cv_func_send_test)

-- Performing Test int send(int, void *, size_t, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, void *, size_t, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, void *, size_t, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, void *, int, int) (curl_cv_func_send_test)

-- Performing Test int send(int, void *, int, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, void *, int, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, void *, int, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, void *, socklen_t, int) (curl_cv_func_send_test)

-- Performing Test int send(int, void *, socklen_t, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, void *, socklen_t, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, void *, socklen_t, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, void *, unsigned int, int) (curl_cv_func_send_test)

-- Performing Test int send(int, void *, unsigned int, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, void *, unsigned int, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, void *, unsigned int, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, char *, size_t, int) (curl_cv_func_send_test)

-- Performing Test int send(int, char *, size_t, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, char *, size_t, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, char *, size_t, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, char *, int, int) (curl_cv_func_send_test)

-- Performing Test int send(int, char *, int, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, char *, int, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, char *, int, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, char *, socklen_t, int) (curl_cv_func_send_test)

-- Performing Test int send(int, char *, socklen_t, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, char *, socklen_t, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, char *, socklen_t, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, char *, unsigned int, int) (curl_cv_func_send_test)

-- Performing Test int send(int, char *, unsigned int, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, char *, unsigned int, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, char *, unsigned int, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, const char *, size_t, int) (curl_cv_func_send_test)

-- Performing Test int send(int, const char *, size_t, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, const char *, size_t, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, const char *, size_t, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, const char *, int, int) (curl_cv_func_send_test)

-- Performing Test int send(int, const char *, int, int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, const char *, int, unsigned int) (curl_cv_func_send_test)

-- Performing Test int send(int, const char *, int, unsigned int) (curl_cv_func_send_test) - Failed

-- Performing Test int send(int, const char *, socklen_t, int) (curl_cv_func_send_test)

-- Performing Test int send(SOCKET, char *, int, int) (curl_cv_func_send_test)

-- Performing Test int send(SOCKET, char *, int, int) (curl_cv_func_send_test) - Failed

-- Found ZLIB: cmzlib  

-- Found BZip2: cmbzip2 (found version "1.0.5") 

-- Looking for BZ2_bzCompressInit in cmbzip2

-- Looking for BZ2_bzCompressInit in cmbzip2 - not found

-- Performing Test HAVE_DIRENT_H

-- Performing Test HAVE_DIRENT_H - Success

-- Looking for include files sys/types.h, acl/libacl.h

-- Looking for include files sys/types.h, acl/libacl.h - not found

-- Looking for include files sys/types.h, ctype.h

-- Looking for include files sys/types.h, ctype.h - found

-- Looking for 3 include files sys/types.h, ..., copyfile.h

-- Looking for 3 include files sys/types.h, ..., copyfile.h - not found

-- Looking for 3 include files sys/types.h, ..., direct.h

-- Looking for 3 include files sys/types.h, ..., direct.h - not found

-- Looking for 5 include files sys/types.h, ..., ext2fs/ext2_fs.h

-- Looking for 5 include files sys/types.h, ..., ext2fs/ext2_fs.h - not found

-- Performing Test HAVE_WORKING_EXT2_IOC_GETFLAGS

-- Performing Test HAVE_WORKING_EXT2_IOC_GETFLAGS - Failed

-- Looking for 26 include files sys/types.h, ..., sys/acl.h

-- Looking for 26 include files sys/types.h, ..., sys/acl.h - not found

-- Looking for 26 include files sys/types.h, ..., sys/cdefs.h

-- Looking for 26 include files sys/types.h, ..., sys/cdefs.h - found

-- Looking for 28 include files sys/types.h, ..., sys/mkdev.h

-- Looking for 28 include files sys/types.h, ..., sys/mkdev.h - not found

-- Looking for 28 include files sys/types.h, ..., sys/mount.h

-- Looking for 28 include files sys/types.h, ..., sys/mount.h - not found

-- Looking for 32 include files sys/types.h, ..., sys/statfs.h

-- Looking for 43 include files sys/types.h, ..., windows.h - not found

-- Looking for 43 include files sys/types.h, ..., wincrypt.h

-- Looking for 43 include files sys/types.h, ..., wincrypt.h - not found

-- Looking for 43 include files sys/types.h, ..., winioctl.h

-- Looking for 43 include files sys/types.h, ..., winioctl.h - not found

-- Performing Test SAFE_TO_DEFINE_EXTENSIONS

-- Performing Test SAFE_TO_DEFINE_EXTENSIONS - Success

-- Looking for MD5Init in md

-- Looking for MD5Init in md - not found

-- Looking for _CrtSetReportMode

-- Looking for _CrtSetReportMode - not found

-- Looking for chown

-- Looking for getpid

-- Looking for getpid - found

-- Looking for getvfsbyname

-- Looking for getvfsbyname - not found

-- Looking for lchflags

-- Looking for lchflags - not found

-- Looking for strncpy_s

-- Looking for strncpy_s - not found

-- Looking for _ctime64_s - not found

-- Looking for _fseeki64

-- Looking for _fseeki64 - not found

-- Looking for _get_timezone

-- Looking for _get_timezone - not found

-- Looking for _localtime64_s

-- Looking for _localtime64_s - not found

-- Looking for _mkgmtime64

-- Looking for _mkgmtime64 - not found

-- Looking for cygwin_conv_path

-- Looking for cygwin_conv_path - not found

-- Performing Test MAJOR_IN_MKDEV - Failed

-- Looking for EFTYPE

-- Looking for EFTYPE - not found

-- Looking for EILSE

-- Performing Test HAVE_STRUCT_TM___TM_GMTOFF

-- Performing Test HAVE_STRUCT_TM___TM_GMTOFF - Failed

-- Performing Test HAVE_STRUCT_STATFS_F_NAMEMAX

-- Performing Test HAVE_STRUCT_STATFS_F_NAMEMAX - Failed

-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME

-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME - Failed

-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC

-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC - Failed

-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC

-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed

-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC

-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success

-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_N

-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_N - Failed

-- Performing Test HAVE_STRUCT_STAT_ST_UMTIME

-- Performing Test HAVE_STRUCT_STAT_ST_UMTIME - Failed

-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_USEC

-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_USEC - Failed

-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE

-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE - Success

-- Performing Test HAVE_STRUCT_STAT_ST_FLAGS

-- Performing Test HAVE_STRUCT_STAT_ST_FLAGS - Failed

-- Performing Test HAVE_STRUCT_STATVFS_F_IOSIZE

-- Performing Test HAVE_STRUCT_STATVFS_F_IOSIZE - Failed

-- Checking _FILE_OFFSET_BITS for large files

-- Checking _FILE_OFFSET_BITS for large files - not needed

-- Checking support for ARCHIVE_CRYPTO_MD5_LIBC

-- Checking support for ARCHIVE_CRYPTO_MD5_LIBC -- not found

-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBC

-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBC -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBC

-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBC -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC

-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC

-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC

-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC2

-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC2 -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC2

-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC2 -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC2

-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC2 -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC3

-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC3 -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC3

-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC3 -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC3

-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC3 -- not found

-- Checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM

-- Checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM

-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM

-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM

-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM

-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM -- not found

-- Checking support for ARCHIVE_CRYPTO_MD5_LIBMD

-- Checking support for ARCHIVE_CRYPTO_MD5_LIBMD -- not found

-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBMD

-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBMD -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBMD

-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBMD -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBMD

-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBMD -- not found

-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBMD

-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBMD -- not found

-- Check if the system is big endian

-- Searching 16 bit integer

-- Check size of unsigned short

-- Check size of unsigned short - done

-- Using unsigned short

-- Check if the system is big endian - little endian

-- Looking for elf.h

-- Looking for elf.h - found

-- Looking for a Fortran compiler

-- Looking for a Fortran compiler - /usr/bin/f95

-- Looking for Q_WS_X11

-- Looking for Q_WS_X11 - not found

-- Looking for Q_WS_WIN

-- Looking for Q_WS_WIN - not found

-- Looking for Q_WS_QWS

-- Looking for Q_WS_QWS - not found

-- Looking for Q_WS_MAC

-- Looking for Q_WS_MAC - not found

-- Found unsuitable Qt version "5.0.1" from /usr/bin/qmake

-- Performing Test run_pic_test

-- Performing Test run_pic_test - Success

-- Configuring incomplete, errors occurred!

---------------------------------------------

Error when bootstrapping CMake:

Problem while running initial CMake

---------------------------------------------

Понравилась статья? Поделить с друзьями:
  • Error validate failed migrations have failed validation
  • Error utf8rus was not declared in this scope
  • Error usr bin ppcx64 returned an error exitcode
  • Error using vertcat dimensions of matrices being concatenated are not consistent
  • Error using vertcat dimensions of arrays being concatenated are not consistent матлаб