bertiniteam / b2

Bertini 2.0: The redevelopment of Bertini in C++.
90 stars 34 forks source link

issues building on a mac #118

Closed ofloveandhate closed 6 years ago

ofloveandhate commented 6 years ago

Passed along from an email I received. Reader, if this is yours, feel free to claim it.

I'm installing Bertini2 on my personal laptop (a mac), and everything was going well except that I've run in to three errors. One of these was a failed test case and a message said to report this. The errors are as follows:

This is more minor, but it keeps telling me that I didn't use the '-pthread' argument during compilation, but I didn't see that as an option on the documentation. I used the option CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" during configuration as recommended for macs (as per https://github.com/bertiniteam/b2/wiki/Compilation-Guide), but I keep getting an error during testing that says that "ld: warning: directory not found for option '-L/opt/local/lib' " My installation failed endgames_test, but passed the other test cases.

ofloveandhate commented 6 years ago
  1. It is a low priority for me to stop the -pthread from getting written into the compile instructions. Ignore.
  2. Are you sure there is a directory at /opt/local/lib? At any rate, it's a warning, and not one I am responsible for.
  3. Thanks for telling me about the error. Can you share the results of the tests? I am guessing it is a failing test on the precision of the tracker matching the precision of the result, after an endgame is finished running. I attempted to solve that one the other night, but was too tired. Wish i had time for it right now. It is safely ignorable, I believe.

Thanks for sharing, dear emailer.

ofloveandhate commented 6 years ago

the failing test was fixed in #120