[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac OS X Mountain Lion, Octave can not execute sombrero()
From: |
Ben Abbott |
Subject: |
Re: Mac OS X Mountain Lion, Octave can not execute sombrero() |
Date: |
Thu, 30 Aug 2012 09:32:00 -0400 |
On Aug 30, 2012, at 3:33 AM, Bobi Pu wrote:
> Hi,
> I am mac user, and a USC graduate. I am currently taking a Machine
> Learning course, and this course recommends using Octave to solve problems.
> I followed the instruction(http://wiki.octave.org/Installing_MacOS_X_Bundle)
> to install Octave on my macbook(10.8.1) .
>
> But unfortunately, when I test sombrero () function, the terminal shows:
>
> octave-3.4.0:1> sombrero
> dyld: Library not loaded: /opt/X11/lib/libfreetype.6.dylib
> Referenced from: /usr/X11/lib/libfontconfig.1.dylib
> Reason: Incompatible library version: libfontconfig.1.dylib requires
> version 15.0.0 or later, but libfreetype.6.dylib provides version 13.0.0
> dyld: Library not loaded: /opt/X11/lib/libfreetype.6.dylib
> Referenced from: /usr/X11/lib/libfontconfig.1.dylib
> Reason: Incompatible library version: libfontconfig.1.dylib requires
> version 15.0.0 or later, but libfreetype.6.dylib provides version 13.0.0
> /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 71: 4296
> Trace/BPT trap: 5 GNUTERM="${GNUTERM}" GNUPLOT_HOME="${GNUPLOT_HOME}"
> PATH="${PATH}" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" HOME="${HOME}"
> GNUHELP="${GNUHELP}" DYLD_FRAMEWORK_PATH="${DYLD_FRAMEWORK_PATH}"
> GNUPLOT_PS_DIR="${GNUPLOT_PS_DIR}" DISPLAY="${DISPLAY}"
> GNUPLOT_DRIVER_DIR="${GNUPLOT_DRIVER_DIR}" "${ROOT}/bin/gnuplot-4.4.3" "$@"
> /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 71: 4301
> Trace/BPT trap: 5 GNUTERM="${GNUTERM}" GNUPLOT_HOME="${GNUPLOT_HOME}"
> PATH="${PATH}" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" HOME="${HOME}"
> GNUHELP="${GNUHELP}" DYLD_FRAMEWORK_PATH="${DYLD_FRAMEWORK_PATH}"
> GNUPLOT_PS_DIR="${GNUPLOT_PS_DIR}" DISPLAY="${DISPLAY}"
> GNUPLOT_DRIVER_DIR="${GNUPLOT_DRIVER_DIR}" "${ROOT}/bin/gnuplot-4.4.3" "$@"
> warning: broken pipe -- some output may be lost
> warning: broken pipe -- some output may be lost
> warning: broken pipe -- some output may be lost
> warning: broken pipe -- some output may be lost
> warning: broken pipe -- some output may be lost
> warning: broken pipe -- some output may be lost
> warning: broken pipe -- some output may be lost
>
> and can not draw the graph. By the way, my mac's PATH does
> include"/usr/bin" and "/usr/local/bin".
> If I add "export GNUTERM=x11" in ~./bash_profile(I've already installed
> XQuartz), the result is the same: Octave still failed to draw that graph and
> showed "broken pipe" warning.
>
> So, can you help to fix this problem? Thank you very much~
That bundle was built on MacOS 10.5 (? ... maybe 10.6). We were able to get it
to run on 10.7, but as far as I know there has been no success on 10.8. I've
added a note to the wiki.
http://wiki.octave.org/Installing_MacOS_X_Bundle
Please install Octave using one of the package managers (Fink, MacPorts, or
Homebrew)
http://wiki.octave.org/Octave_for_MacOS_X
Ben