-
Notifications
You must be signed in to change notification settings - Fork 2
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 about installing libfermat #2
Comments
Hi, This may be hard to figure out for me, because I'm a Linuxbrew user and this formula is not tested on any Mac :-) Could you show more detailed build logs? I think Homebrew generated some log files. Or you can run |
Hi, |
It turns out that the build error is due to the fact that Apple uses a case-insensitive file system by default, which is enough to confuse CMake about two targets For now, a workaround is applying a patch renaming one of the targets to libFermat, like https://gist.githubusercontent.com/tueda/df668f4e0c1d47379c41332580310d9a/raw/libfermat.rb. You can use it in Homebrew as:
FYI: Test on Travis CI: |
Thank you very much for this help.
However, after this failure, I just tried to run: It worked!(But why FIRE could not find Fermat anyway? It told me I have to specify it in config file.
Thank you. |
My patch has been merged in the upstream.
Just in case, note that FIRE doesn't use libFermat at all. In the context of Homebrew, we need to install the files into the specified directory. (The build directory is deleted after the installation.) FIRE doesn't offer such an installation, so the formula just copies the files. But I didn't include Fermat in the list of files to be copied because
Instead, when
About the undefined symbols linked from libMLi4.a, this would be very tricky (even on Linux). You need to have a compiler configuration that is compatible to one used in building libMLi4.a by Wolfram Research. One thing you could try is: http://community.wolfram.com/groups/-/m/t/610879. In
You could try to append For this I can't test, because I don't have any macOS configuration with Mathematica. |
Hi Takahiro, |
Dear Ueda-san, Here I put the last few error message. Last 15 lines from /Users/rds/Library/Logs/Homebrew/kira/01.configure: Alternatively, you may set the environment variables GINAC_CFLAGS To get pkg-config, see http://pkg-config.freedesktop.org/. If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): rds:kira-1.0 rds$ echo $GINAC_CFLAGS |
@raydsameshima Thank you for your report. By the way, in a next bug report, making a new issue instead of adding comments would be more helpful unless it's closely related. (But for now, OK.) |
Hi Tueda:
Thank you for your work on this tap, which is very useful for us.
I am now trying to install libfermat for FIRE with your Homebrew Taps, however, something is wrong with my installing.
My OS is macOS Sierra 10.12.4.
After I do "brew install --HEAD tueda/loops/libfermat", I get this error:
Could you please help me to figure out this issue?
Thanks,
Xing Wang
The text was updated successfully, but these errors were encountered: