Terminal brew issue installing fontforge

Discussion in 'Mac Basics and Help' started by kiwitotoro, Mar 3, 2012.

  1. kiwitotoro macrumors newbie

    Joined:
    Nov 24, 2006
    #1
    Hello, I am trying to install font forge. I found this explanation : http://joewong.blogspot.com.au/2011/11/how-to-install-fontforge-on-mac-os-x.html I went through the instructions but got stuck on the part afte "brew install cairo --use-clang" where I actually install fontforge "brew install fontforge --use-gcc" I get the following error:


    ==> Installing fontforge dependency: gettext
    Error: GCC could not be found

    I also got the warning that I have macports or fink installed ( I think I installed macports to get gimp) I looked through the code and found this line back when I installed brew:

    Warning: The following *evil* dylibs exist in /usr/local/lib
    They may break builds or worse. You should consider deleting them:
    /usr/local/lib/libssl.0.9.8.dylib


    Question 1: what is libssl, how did it get in my computer and why should I delete it? (ok, question 1a, 1b and 1c...)

    Question 2: How do I remove it?

    I am a terminal beginner, I went through the tutorial here:
    http://guides.macrumors.com/Terminal

    I could not find the /usr/local/libpath and putting libssl in spotlight I found libssl.1.0.0.dylib in /opt/local/lib/ so is it a hidden file?


    Any advice would be greatly appreciated.
     
  2. stomer macrumors 6502a

    Joined:
    Apr 2, 2007
    Location:
    Leeds, UK
    #2
    Sounds like gcc isn't installed. If you don't already have Xcode installed you should install it. Xcode installs gcc and other bits required for compilation.

    I would only delete dylibs if you are 100% sure of what you're doing.
     
  3. kiwitotoro thread starter macrumors newbie

    Joined:
    Nov 24, 2006
    #3
    Thanks for the advice

    Hi Stomer,

    Thanks for the reply. I have xcode installed but it was 4.2 and 4.3 is available so I'm updating then we will see if that fixes it although checked the gcc version "gcc --V" and got "i686-apple-darwin11-llvm-gcc-4.2: no input files"

    will report back when update is complete. :)
     
  4. kiwitotoro thread starter macrumors newbie

    Joined:
    Nov 24, 2006
    #4
    Didn't work

    Looks like the xcode upgrade did not work.


    terminaloutput:
    Code:
    :~ me$ brew install fontforge --use-gcc
    Warning: It appears you have MacPorts or Fink installed.
    Software installed with other package managers causes known problems for
    Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
    ==> Installing fontforge dependency: gettext
    Error: GCC could not be found
    :~ me$ gcc --V
    i686-apple-darwin11-llvm-gcc-4.2: no input files
    :~ me$ 
    
    So it looks (to me) like I have gcc but it dose not work. so would uninstalling macports and/or fink help? Or should I install gcc again and if so where would I do this from?

    Thanks again
     

Share This Page