-
Notifications
You must be signed in to change notification settings - Fork 82
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
Error at make
: VariantIndex.cpp:89:16: error: call to 'abs' is ambiguous
#141
Comments
I suspect you're using gcc >4? Do you get an error if you use one of the 4.x gcc versions? |
I don't think so. I'm trying this on my MacOS:
So it looks like I get this via gcc 4.2.1 |
It is probably due to clang. Could you try installing using homebrew? SGA hasn't been updated in awhile so homebew should give you the latest version. |
The above via Brew currently installs:
I think you mean use the newest version of gcc installed via Homebrew. Homebrew places this in I've tried
I'm still getting the same error with
|
I meant to install sga with homebrew, sorry for being unclear:
|
Oh, I see Hmmm. It doesn't like that:
Brew is upgraded/updated. |
Also, just to clarify, as I'm installing soon on Linux as well: what would be the correct gcc/clang versions to use? |
Ah sorry, you need to install the homebrew science formulas first:
For linux gcc-4.7 or gcc-4.8 should be fine. Jared |
It works, thanks! I'll let you know if there's an installation on Linux in a new Issue. Consider this closed I suppose (though it might be a good idea to tell Mac OS users just to try brew, or to specify the correct gcc, e.g. if they already use MacPorts/whatever) Thanks, Evan |
Great, glad I could help. |
Here's a PR to fix this error |
@evanbiederstedt Once PR brewsci/homebrew-bio#67 has been merged, you can install brew install brewsci/bio/sga See http://linuxbrew.sh and https://brew.sh |
This is good to know! Thanks!
…On Tue, Feb 27, 2018 at 12:31 AM Shaun Jackman ***@***.***> wrote:
@evanbiederstedt <https://github.com/evanbiederstedt> Once PR
brewsci/homebrew-bio#67 <brewsci/homebrew-bio#67>
has been merged, you can install sga on both Linux and macOS using
Linuxbrew and Homebrew.
brew install brewsci/bio/sga
See http://linuxbrew.sh and https://brew.sh
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#141 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGpTgbPjTaPY4e4MjvtRZI7vXjmh1mFWks5tY5NAgaJpZM4Q4l8X>
.
|
All dependencies appear to be installed correctly, in the "default" locations with sudo privileges. (I am not using the jemalloc memory allocator.)
Within
/sga-master/src
, I first ran./configure
viawhereby all checks pass successfully. Then I try
make
in the same location:Resolutions?
The text was updated successfully, but these errors were encountered: