mpfr failed to build on 10.4.11 #15

Closed
rghammonds opened this Issue Mar 27, 2013 · 7 comments

Comments

Projects
None yet
2 participants
Owner

mistydemeo commented Mar 27, 2013

I think I know where the problem is here. I'll fix this soon.

Great! I also looked at mxcl/homebrew#15061 but none of the suggestions there helped.

Thanks.

Owner

mistydemeo commented Mar 27, 2013

The problem is here:

env :std if MacOS.clang_build_version < 425

MacOS.clang_build_version usually returns an int, but returns nil on Tiger and Leopard since clang was first shipped in Xcode 3.2. nil doesn't define the < operator, hence the NoMethodError.

This is actually a bug in upstream Homebrew so I'll get it fixed there, and get the fix in to Tigerbrew the next time I merge in Homebrew updates.

@mistydemeo mistydemeo referenced this issue in Homebrew/legacy-homebrew Mar 27, 2013

Closed

MacOS.(gcc|clang|llvm)_version can return nil #18781

Owner

mistydemeo commented Mar 27, 2013

Bug filed at mxcl/homebrew#18781.

Owner

mistydemeo commented Mar 27, 2013

(If you need a hotfix right now, just comment out line 17.)

Final succeeded in compiling by commenting out line 17, as suggested, and in additioon changing patch source to

"http://www.mpfr.org/mpfr-3.1.1/allpatches"

and removing "--disable-dependency-tracking" from args and commenting out the entire Build 32 section.

downloaded separately, mpfr builds out of the box for me, so pretty much all it needs are the right patches and --prefix.

@mistydemeo mistydemeo closed this in 087989c Apr 1, 2013

Owner

mistydemeo commented Apr 1, 2013

Fixed, thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment