Closed gamache closed 5 years ago
Hi @gamache, sorry for the late response. The last couple weeks have been a little crazy.
It looks like you're using Clang v10, which we haven't tested with. I've built the system with clang-5, clang-6, and clang-7 at various points, and I've never seen this issue. A quick Google search seems to indicate that this is because #include <iostream>
is missing. Can you try including that in kvs/include/common.hpp
and see if that fixes the issue?
Hi! I'm trying to build Fluent on my 2013 MacBook Pro running OS X 10.13.6, and I hit a problem once I get to
flkvs-ring
:Click here for the full output of scripts/install-dependencies-osx.sh and scripts/build-all.sh.
``` gamache@silver-rocket:~/code/Appcues/fluent master be28a44 $ scripts/install-dependencies-osx.sh Installing the following packages via homebrew: * autoconf * automake * libtool * build-essential * unzip * pkg-config * wget Updating Homebrew... Warning: autoconf 2.69 is already installed and up-to-date To reinstall 2.69, run `brew reinstall autoconf` Warning: libtool 2.4.6_1 is already installed and up-to-date To reinstall 2.4.6_1, run `brew reinstall libtool` Warning: pkg-config 0.29.2 is already installed and up-to-date To reinstall 0.29.2, run `brew reinstall pkg-config` Error: automake 1.15.1 is already installed To upgrade to 1.16.1_1, run `brew upgrade automake` Error: wget 1.14 is already installed To upgrade to 1.19.5, run `brew upgrade wget` Installing cmake... Installing lcov... You might be asked for your password to install lcov... --2018-09-26 19:23:41-- http://downloads.sourceforge.net/ltp/lcov-1.13.tar.gz Resolving downloads.sourceforge.net... 216.105.38.13 Connecting to downloads.sourceforge.net|216.105.38.13|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://downloads.sourceforge.net/project/ltp/Coverage%20Analysis/LCOV-1.13/lcov-1.13.tar.gz [following] --2018-09-26 19:23:41-- http://downloads.sourceforge.net/project/ltp/Coverage%20Analysis/LCOV-1.13/lcov-1.13.tar.gz Reusing existing connection to downloads.sourceforge.net:80. HTTP request sent, awaiting response... 302 Found Location: https://astuteinternet.dl.sourceforge.net/project/ltp/Coverage%20Analysis/LCOV-1.13/lcov-1.13.tar.gz [following] --2018-09-26 19:23:41-- https://astuteinternet.dl.sourceforge.net/project/ltp/Coverage%20Analysis/LCOV-1.13/lcov-1.13.tar.gz Resolving astuteinternet.dl.sourceforge.net... 162.213.157.36 Connecting to astuteinternet.dl.sourceforge.net|162.213.157.36|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 156709 (153K) [application/x-gzip] Saving to: ‘lcov-1.13.tar.gz’ 100%[==========================================================>] 156,709 404KB/s in 0.4s 2018-09-26 19:23:43 (404 KB/s) - ‘lcov-1.13.tar.gz’ saved [156709/156709] Password: Sorry, try again. Password: bin/install.sh bin/lcov /usr/local/bin/lcov -m 755 bin/install.sh bin/genhtml /usr/local/bin/genhtml -m 755 bin/install.sh bin/geninfo /usr/local/bin/geninfo -m 755 bin/install.sh bin/genpng /usr/local/bin/genpng -m 755 bin/install.sh bin/gendesc /usr/local/bin/gendesc -m 755 bin/install.sh man/lcov.1 /usr/local/share/man/man1/lcov.1 -m 644 bin/install.sh man/genhtml.1 /usr/local/share/man/man1/genhtml.1 -m 644 bin/install.sh man/geninfo.1 /usr/local/share/man/man1/geninfo.1 -m 644 bin/install.sh man/genpng.1 /usr/local/share/man/man1/genpng.1 -m 644 bin/install.sh man/gendesc.1 /usr/local/share/man/man1/gendesc.1 -m 644 bin/install.sh man/lcovrc.5 /usr/local/share/man/man5/lcovrc.5 -m 644 bin/install.sh lcovrc /usr/local/etc/lcovrc -m 644 bin/updateversion.pl /usr/local/bin/lcov 1.13 1 1.13 Updating bin tool /usr/local/bin/lcov Done. bin/updateversion.pl /usr/local/bin/genhtml 1.13 1 1.13 Updating bin tool /usr/local/bin/genhtml Done. bin/updateversion.pl /usr/local/bin/geninfo 1.13 1 1.13 Updating bin tool /usr/local/bin/geninfo Done. bin/updateversion.pl /usr/local/bin/genpng 1.13 1 1.13 Updating bin tool /usr/local/bin/genpng Done. bin/updateversion.pl /usr/local/bin/gendesc 1.13 1 1.13 Updating bin tool /usr/local/bin/gendesc Done. bin/updateversion.pl /usr/local/share/man/man1/lcov.1 1.13 1 1.13 Updating man page /usr/local/share/man/man1/lcov.1 Done. bin/updateversion.pl /usr/local/share/man/man1/genhtml.1 1.13 1 1.13 Updating man page /usr/local/share/man/man1/genhtml.1 Done. bin/updateversion.pl /usr/local/share/man/man1/geninfo.1 1.13 1 1.13 Updating man page /usr/local/share/man/man1/geninfo.1 Done. bin/updateversion.pl /usr/local/share/man/man1/genpng.1 1.13 1 1.13 Updating man page /usr/local/share/man/man1/genpng.1 Done. bin/updateversion.pl /usr/local/share/man/man1/gendesc.1 1.13 1 1.13 Updating man page /usr/local/share/man/man1/gendesc.1 Done. bin/updateversion.pl /usr/local/share/man/man5/lcovrc.5 1.13 1 1.13 Updating man page /usr/local/share/man/man5/lcovrc.5 Done. /usr/local/bin/lcov lcov: LCOV version 1.13 All dependencies installed! gamache@silver-rocket:~/code/Appcues/fluent master be28a44 $ scripts/build-all.sh -- The C compiler identification is AppleClang 10.0.0.10001145 -- The CXX compiler identification is AppleClang 10.0.0.10001145 -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/clang++ -- Check for working CXX compiler: /usr/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE -- Found Protobuf: /usr/local/lib/libprotobuf.dylib (found version "2.5.0") -- Downloading/updating googletest -- Configuring done -- Generating done -- Build files have been written to: /Users/gamache/code/Appcues/fluent/build/googletest-download Scanning dependencies of target googletest-download [ 11%] Creating directories for 'googletest-download' [ 22%] Performing download step (git clone) for 'googletest-download' Cloning into 'googletest-src'... Note: checking out 'release-1.8.0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -bThanks for any help!