New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS 10.13.6 installation: cannot run C++ compiled programs #151
Comments
ExpressionAnalysis/ea-utils#75 you could try this to see if it works for you |
The sparsehash-c11 version doesn't have the
I'm not very familiar with C code structure and compiling, so not sure where to go from here... |
https://github.com/sparsehash/sparsehash-c11 is header only - there is no configure required. make is just compiling the tests, which it looks like you're having trouble with a system call with |
are you positive your compiler is not misconfigured in some way? |
Not sure what may be misconfigured. The system is rather fresh. I've been googling, finding some suggestions about "LD_LIBRARY_PATH" variable (empty in my case), but not sure where to go from there. My configuration files are rather simple: dotfiles. And, some info about
Anything obviously misconfigured? |
clang++ and g++ have different targets did you install the latest xcode? that has a version of clang > 4 I think and I would suggest using that if possible |
Xcode seem up-to-date, Version 10.1 (10B61), no updates. clang version is
Re: "clang++ and g++ have different targets" - anything one can do about it? |
https://travis-ci.org/mkn/google.sparsehash/jobs/517842961 looks all ok here with OSX 10.2 and CLANG 7 |
I was following https://embeddedartistry.com/blog/2017/2/20/installing-clangllvm-on-osx. After setting the path and the flags in a terminal session as recommended, I can run Not sure what to do next to compile |
did you try "./configure" after setting the flags/etc? |
Compiling after setting the environment as described https://embeddedartistry.com/blog/2017/2/20/installing-clangllvm-on-osx worked! So, after running As of the bigger picture, Thank you, @dekken, for quick help with this. |
Hello,
Running
./configure
fails with "configure: error: cannot run C++ compiled programs." A bigger picture - I'm trying to compile ea-utils, which fails with the same error.The detailed output of
./configure
is:And the full
config.log
is attached.Thanks for your help,
Mikhail
config.log
The text was updated successfully, but these errors were encountered: