Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

mpfr failed to build on 10.4.11 #15

Closed
rghammonds opened this Issue · 7 comments

2 participants

@mistydemeo
Owner

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

@rghammonds

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

Thanks.

@mistydemeo
Owner

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
Owner

Bug filed at Homebrew/homebrew#18781.

@mistydemeo
Owner

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

@rghammonds

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
@mistydemeo
Owner

Fixed, thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.