Skip to content
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

Installation of ana2 #1

Open
TianmingQu opened this issue Jan 18, 2022 · 4 comments
Open

Installation of ana2 #1

TianmingQu opened this issue Jan 18, 2022 · 4 comments

Comments

@TianmingQu
Copy link

TianmingQu commented Jan 18, 2022

Hi, I am new to ana2 and today when I am trying to install ana2 from source code, some error like below shows up:

[ 87%] Linking CXX executable ANA2
ld: warning: directory not found for option '-L/usr/local/Cellar/gsl/1.16/lib/'
ld: library not found for -lgmp
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [ANA2] Error 1
make[1]: *** [CMakeFiles/ANA2.dir/all] Error 2
make: *** [all] Error 2

Could you please give me some instructions on how to solve this problem?

Best,
Tianming

@isolated-matrix
Copy link

I am having the same issue, along with several other errors. Did you ever find a solution to this?

@pgbarletta
Copy link
Contributor

Hi, it looks like you might be missing the gmp library that ANA uses for arbitrary precision arithmetic.
If you're on Ubuntu, have you tried?:

sudo apt-get install libgmp3-dev

@isolated-matrix
Copy link

I'm on Mac. I have installed gmp via MacPorts, but for some reason I'm still getting the same error. The directory is in my path, though. I'm also getting lots of errors saying things like:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__config:1037:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
# define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED

@pgbarletta
Copy link
Contributor

pgbarletta commented Jun 11, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants