[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave won't plot in GNU
From: |
Ben Abbott |
Subject: |
Re: Octave won't plot in GNU |
Date: |
Mon, 23 Apr 2012 20:25:36 -0400 |
On Apr 23, 2012, at 7:00 PM, Timothy Field wrote:
> On Mon, Apr 23, 2012 at 10:23 AM, Ben Abbott <address@hidden> wrote:
>
> On Apr 23, 2012, at 9:16 AM, Timothy Field wrote:
>
> > On Mon, Apr 23, 2012 at 8:49 AM, Ben Abbott <address@hidden> wrote:
> >
> > On Apr 23, 2012, at 8:15 AM, Ben Abbott wrote:
> >
> > >
> > > On Apr 22, 2012, at 11:37 PM, Timothy Field wrote:
> > >
> > >> On Sun, Apr 22, 2012 at 11:21 PM, Ben Abbott <address@hidden> wrote:
> > >> Please reply-all so that other can follow along. Also, please Also
> > >> please avoid top-posting.
> > >>
> > >> On Apr 22, 2012, at 10:25 PM, Timothy Field wrote:
> > >>
> > >>> On Sun, Apr 22, 2012 at 8:04 PM, Ben Abbott <address@hidden> wrote:
> > >>>
> > >>>> On Apr 22, 2012, at 6:21 PM, Timothy Field wrote:
> > >>>>
> > >>>>> Hi all,
> > >>>>>
> > >>>>> I've recently downloaded Octave 3.4.0 and the corresponding newest
> > >>>>> version of GNU plot on my macbook pro. But I am still unable to plot
> > >>>>> anything from the plot() command in Octave. I get long error messages
> > >>>>> such as:
> > >>>>>
> > >>>>> Fontconfig error: Cannot load default config file
> > >>>>> warning: could not match any font: *-normal-normal-10
> > >>
> > >> <snip>
> > >
> > >>
> > >>>>> warning: ft_render: unable to load appropriate font
> > >>>>> warning: could not match any font: *-normal-normal-10
> > >>>>> warning: ft_render: unable to load appropriate font
> > >>>>> dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
> > >>>>> Referenced from: /usr/X11/lib/libfontconfig.1.dylib
> > >>>>> Reason: Incompatible library version: libfontconfig.1.dylib requires
> > >>>>> version 14.0.0 or later, but libfreetype.6.dylib provides version
> > >>>>> 13.0.0
> > >>>>> dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
> > >>>>> Referenced from: /usr/X11/lib/libfontconfig.1.dylib
> > >>>>> Reason: Incompatible library version: libfontconfig.1.dylib requires
> > >>>>> version 14.0.0 or later, but libfreetype.6.dylib provides version
> > >>>>> 13.0.0
> > >>>>> /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 71:
> > >>>>> 58238 Trace/BPT trap 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:
> > >>>>> 58234 Trace/BPT trap 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
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> So I see a lot of "Incompatible library version" errors and I'm not
> > >>>>> sure what that could be. I've followed some help recently from this
> > >>>>> and other forums (such as uninstalling both and reinstalling GNU plot
> > >>>>> first, which I'm not sure if I did correctly, and changing some lines
> > >>>>> in GNU plot referring to certain libraries to be compatible with OS X
> > >>>>> as recommended on the official site)
> > >>>>>
> > >>>>> If you know anything, I'd really appreciate some help. Thank you
> > >>>>>
> > >>>>> Tim Field | (650)521-6488
> > >>>>
> > >>>> Tim,
> > >>>>
> > >>>> We've seen this problem reported before and included a fix in the
> > >>>> wiki. See the section "Install gnuplot & Aquaterm"
> > >>>>
> > >>>>
> > >>>> http://www.octave.org/wiki/index.php?title=Installing_MacOS_X_Bundle
> > >>>>
> > >>>> Ben
> > >>>
> > >>> Thank you Ben,
> > >>>
> > >>> I downloaded the piece you mentioned and reinstalled Octave but now
> > >>> when I go to plot I get these lines where the old error lines were,
> > >>> everything else is the same:
> > >>>
> > >>> dyld: Library not loaded: /usr/X11R6/lib/libXpm.4.dylib
> > >>> Referenced from:
> > >>> /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot-4.2.5
> > >>> Reason: image not found
> > >>> dyld: Library not loaded: /usr/X11R6/lib/libXpm.4.dylib
> > >>> Referenced from:
> > >>> /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot-4.2.5
> > >>> Reason: image not found
> > >>>
> > >>> It looks like the library version is now compatible, but there is still
> > >>> a problem with the content. Any chance this has been a common problem
> > >>> as well?
> > >>>
> > >>> Tim Field | (650)521-6488
> > >>
> > >> I don't recall running into this problem before. What version of MacOS
> > >> are you running?
> > >>
> > >> Ben
> > >>
> > >> Ben, I am running OS X, 10.6.8
> > >
> > > Do you have X11 installed? It will be located at
> > > /Applications/Utilities/X11.app
> > >
> > > Ben
> >
> > If you do have X11 installed, then run the gnuplot app in your Applications
> > folder.
> >
> > When it opens, you should see the "Terminal type set to 'aqua'".
> >
> > At the prompt, type "plot sin(x))"
> >
> > Do you get a plot window ?
> >
> > Ben
> >
> >
> > Ok, now I have the latest version of Xquartz, but when I open gnuplot from
> > the applications folder I get:
> >
> >
> > Last login: Mon Apr 23 09:10:33 on ttys001
> > exec '/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot'
> > Timothy-Fields-MacBook-Pro:~ timothyfield$ exec
> > '/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot'
> > dyld: Library not loaded: /usr/X11R6/lib/libXpm.4.dylib
> > Referenced from:
> > /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot-4.2.5
> > Reason: image not found
> > /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 71: 61891
> > Trace/BPT trap 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.2.5" "$@"
> >
> > [Process completed]
>
> Did you install XQuartz from
>
> http://xquartz.macosforge.org/landing/
>
> or did you install x11 from the SnowLeopard install disks ?
>
> I haven' tried using XQuartz from macosforge. So, I'm not sure it will work
> properly with SnowLeopard.
>
> Ben
>
> Thank you Ben!
>
> I found the disks and installed X11. Gnuplot said Terminal type set to 'aqua'
> and I was able to plot a sin wave.
Great. Are you able t plot from Octave as well ?
Ben
- Octave won't plot in GNU, Timothy Field, 2012/04/22
- Re: Octave won't plot in GNU, Sergei Steshenko, 2012/04/22
- Re: Octave won't plot in GNU, Ben Abbott, 2012/04/22
- Message not available
- Re: Octave won't plot in GNU, Ben Abbott, 2012/04/22
- Re: Octave won't plot in GNU, Timothy Field, 2012/04/22
- Re: Octave won't plot in GNU, Ben Abbott, 2012/04/23
- Re: Octave won't plot in GNU, Ben Abbott, 2012/04/23
- Re: Octave won't plot in GNU, Timothy Field, 2012/04/23
- Re: Octave won't plot in GNU, Ben Abbott, 2012/04/23
- Message not available
- Re: Octave won't plot in GNU,
Ben Abbott <=
- Re: Octave won't plot in GNU, Timothy Field, 2012/04/23