This repository has been archived by the owner on Jan 16, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Issue installing imagemagick on Mountain Lion (missing fontconfig due to missing freetype) #13638
Comments
So, after some research and on a whim, I tried adding ENV.x11 to /usr/local/Library/Formula/fontconfig.rb:
....Still no dice. Refuses to see freetype. |
I could not get imagemagick to compile using clang. I got it working installing the apple-gcc42 package from homebrew/dupes:
Then exporting CC:
And finally installing imagemagick
|
I'm working on this in #13784. |
Should be fixed now. |
Beautiful, thank you much! |
Sharpie
pushed a commit
to Sharpie/homebrew
that referenced
this issue
Aug 13, 2012
fgeller
pushed a commit
to fgeller/homebrew
that referenced
this issue
Aug 22, 2012
snakeyroc3
pushed a commit
to snakeyroc3/homebrew
that referenced
this issue
Dec 17, 2012
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm running a newly installed Mountain Lion and decided to switch from MacPorts to brew. I (believe) I removed everything having anything to do with Macports, installed XCode 4.4, installed XQuartz 2.7.2, and everything seems to be running smoothly with brew:
~/ $ brew doctor
Your system is raring to brew.
And I've got a few kegs in the cellar already:
~/ $ brew list
gettext jasper jpeg libgpg-error libksba libtiff libxml2 libxslt little-cms pkg-config
However, when installing imagemagick, everything goes to hell. I get the same result with and without the -without-x flag.
So I try to install fontconfig:
Which leads me to trying to install freetype:
~/ $ brew install freetype
Error: No available formula for freetype
Apple distributes freetype with OS X, you can find it in /usr/X11/lib.
However not all build scripts look here, so you may need to call ENV.x11
in your formula's install function.
But freetype exists right where it's supposed to be:
~/ $ ls /usr/X11/lib/ | grep free
libfreetype.6.dylib
libfreetype.dylib
Sooooo, I'm not sure what "call ENV.x11" means, but I suspect maybe that's the key? I can't seem to find anything on google about what that means, though. Any help would be much appreciated. Thanks!
The text was updated successfully, but these errors were encountered: