-
Notifications
You must be signed in to change notification settings - Fork 3.7k
MacOS compilation error #5302
Comments
CMake assumes that if xcode-select can be found, that you have XCode installed and functional. It appears something is wrong with your XCode installation. Follow Apple's instructions for repairing and/or reinstalling XCode, including the development files for the three frameworks listed. |
xcode-select can be found. but build script still failing. |
|
Are you manually installing or using the .sh script? Our configs are identical according to your output. Here are my brew versions if that helps norsegaud@norsegaudnet ~ ll /Users/norsegaud/Library/Caches/Homebrew 1 ↵ 2012 17:09:14 total 1388568 drwxr-xr-x 4 norsegaud staff 128B Jun 11 22:26 Cask -rw-r--r-- 1 norsegaud staff 871K Sep 14 2017 autoconf-2.69.high_sierra.bottle.4.tar.gz -rw-r--r-- 1 norsegaud staff 943K Mar 11 19:32 automake-1.16.1.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 87M Apr 18 11:30 boost-1.67.0_1.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 12M Jul 17 11:56 cmake-3.12.0.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 75K Sep 18 2017 cpptest-1.1.2.high_sierra.bottle.1.tar.gz -rw-r--r-- 1 norsegaud staff 4.0M Dec 28 2017 doxygen-1.8.14.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 1.2M May 3 06:33 fontconfig-2.13.0.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 877K May 2 07:45 freetype-2.9.1.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 290K Sep 15 2017 gd-2.2.5.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 190K Jun 28 06:54 gdbm-1.16.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 7.8M Sep 14 2017 gettext-0.19.8.1.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 1.0M Mar 19 14:02 gmp-6.1.2_2.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 6.9M Sep 15 2017 graphviz-2.40.1.high_sierra.bottle.1.tar.gz -rw-r--r-- 1 norsegaud staff 25M Jun 21 22:15 icu4c-62.1.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 298K Feb 26 04:11 jpeg-9c.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 144K Sep 23 2017 lcov-1.13.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 97K Sep 14 2017 libffi-3.2.1.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 217K May 18 06:25 libidn2-2.0.5.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 445K Jul 25 08:20 libpng-1.6.35.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 1.0M Jul 2 03:33 libtiff-4.0.9_4.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 1.0M Sep 14 2017 libtool-2.4.6_1.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 1.4M May 25 13:21 libunistring-0.9.10.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 100K Sep 14 2017 libyaml-0.1.7.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 204K Jul 31 07:46 linkage.db -rw-r--r-- 1 norsegaud staff 319M Sep 17 2017 llvm@4-4.0.1.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 5.7M Mar 27 09:07 media-info-18.03.1.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 85M Jun 28 12:21 mongodb-4.0.0.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 16M Jul 4 23:08 node-10.6.0.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 3.7M Mar 28 07:30 openssl-1.0.2o_1.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 3.7M Jun 17 04:02 openssl-1.0.2o_2.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 236K Sep 14 2017 pkg-config-0.29.2.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 11M Mar 2 08:14 postgresql-10.3.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 22M Jul 23 18:22 python-3.7.0.high_sierra.bottle.1.tar.gz -rw-r--r-- 1 norsegaud staff 18M Jul 23 18:22 python@2-2.7.15_1.high_sierra.bottle.1.tar.gz -rw-r--r-- 1 norsegaud staff 495K Sep 14 2017 readline-7.0.3_1.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 494K Jul 5 12:21 readline-7.0.5.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 8.0M Mar 28 20:54 ruby-2.5.1.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 1.7M Jun 4 21:17 sqlite-3.24.0.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 94K Dec 19 2017 telnet-54.50.1.high_sierra.bottle.1.tar.gz -rw-r--r-- 1 norsegaud staff 75K Feb 7 2018 uriparser-0.8.5.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 835K Apr 21 03:04 webp-1.0.0.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 1.3M May 6 23:52 wget-1.19.5.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 373K May 1 07:07 xz-5.2.4.high_sierra.bottle.tar.gz -rw-r--r-- 1 norsegaud staff 923K May 23 17:02 yarn-1.7.0.tar.gz |
made |
Are you using eosio_build.sh and then the install.sh? I’m almost 100% certain this is a problem with something you have installed separate from EOS and it’s requirements. Create a new user account on your Mac and try the build/install from scratch |
@NorseGaud created new user, same story. what kind of requirements are you talking about except the one, that script installs itself? is there some list i need to go through?
am i missing something? @lazaridiscom i don't have problems installing, i can't compile. |
Might be best to just use virtual box and Centos 7 if you can’t get it to work on your Mac |
@lazaridiscom Of course the comment on #4244 seems related—it's the same person with the same problem report. For once, Homebrew is not at fault. There is something wrong with the XCode and framework installation. CMake's Failing all of that, VirtualBox with a Linux installation has been reported to work by another Mac user with a permanently sick system. |
@lazaridiscom Mac OS X and XCode technical support is provided by Apple Corporation. This forum is for EOS.IO software problems. CMake's functions constitute a sanity check. If CMake fails to locate XCode frameworks, the problem lies with the system, not the EOS.IO software. Systems damaged or deviant enough to prevent CMake from functioning are not supported. The issue is closed. |
Fixes EOSIO#5302, same issue as EOSIO#2719
Ran into the same problem, but since I've encountered this before with a case-sensitive file system, I figured it'd be a simple enough fix. Pull request with the solution has been submitted to |
@aaroncox thanx man. |
@Vasiliy-Bondarenko Oh it's definitely an issue with Apple. They pulled the same crap Microsoft did with a case-preserving but case-insensitive filesystem, which is a travesty in a filesystem that in every other respect appears POSIX compliant. |
@jgiszczak :))) yep, you are right, apple did a lot of nonsense staff, especially in the last two years :) @lazaridiscom appreciate it. looks like you know how the team is doing software testing - can you elaborate a little how do you test for performance bottlenecks? our team is going to investigate hardware optimisation for different kind of nodes. thanks. |
Can't compile v1.2.* on MacOS with error:
MacOS: 10.13.6 (17G65)
The text was updated successfully, but these errors were encountered: