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

Problem installing amuse-brutus #1037

Open
carpark421 opened this issue Mar 10, 2024 · 7 comments
Open

Problem installing amuse-brutus #1037

carpark421 opened this issue Mar 10, 2024 · 7 comments
Labels
question stale Issues that have been around for a while without updates

Comments

@carpark421
Copy link

carpark421 commented Mar 10, 2024

Please can someone offer an insight into how to fix my problem?
The output is:

  error in call, tail output:
  
  amusifier --type=c interface.py BrutusInterface -o worker_code.cc
  amusifier --type=H -i amuse.community.interface.stopping_conditions.StoppingConditionInterface interface.py BrutusInterface -o worker_code.h
  make -C src all CXXFLAGS="-g -O2 -fno-common  -I./mpfrc++     -std=c++0x -I../mpfrc++"
  g++ -O1 -g -O2 -fno-common  -I./mpfrc++     -std=c++0x -I../mpfrc++ -c Star.cpp
  In file included from Star.cpp:1:
  In file included from ./Star.h:6:
  ../mpfrc++/mpreal.h:125:10: fatal error: 'mpfr.h' file not found
  #include <mpfr.h>
           ^~~~~~~~
  1 error generated.
  make[1]: *** [Star.o] Error 1
  make: *** [src/libbrutus.a] Error 2
@spzwart
Copy link
Contributor

spzwart commented Mar 10, 2024 via email

@carpark421
Copy link
Author

I did brew install mpfr before receiving this output. Would that not have tried to fix it?

@rieder
Copy link
Member

rieder commented Mar 10, 2024 via email

@carpark421
Copy link
Author

Yes, what I did was naïvely uninstall amuse-framework and mpfr. I then installed mpfr, amuse-framework, and then finally tried pip install amuse-brutus: same error.

@rieder
Copy link
Member

rieder commented Mar 10, 2024 via email

@carpark421
Copy link
Author

I thought that would be the case, so, when uninstalling the stuff, I did this: rm -r ~/Library/Caches/pip/wheels/*

Copy link

stale bot commented May 10, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 28 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issues that have been around for a while without updates label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question stale Issues that have been around for a while without updates
Projects
None yet
Development

No branches or pull requests

3 participants