help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave-3.4.0.dmg + XQuartz = broken Octave & Matlab


From: Miriam Heller
Subject: Re: Octave-3.4.0.dmg + XQuartz = broken Octave & Matlab
Date: Sat, 8 Sep 2012 21:34:02 -0400

Ben,

My political activities (I'm a neighborhood Team Leader) and my meeting with my Coursera Study Group are over. I am devoting the remainder of time I have (until the homework is due) to getting Octave to run.

*** I hope this was not a bad move, but I upgraded my OS to Mac OSX to Version 10.8.1. ***

Will your recommendation below, i.e.,

  http://wiki.octave.org/Octave_for_MacOS_X

using either Fink or MacPorts to manage Applications still work with this Version?

Miriam



On Sat, Sep 8, 2012 at 1:08 PM, Ben Abbott <address@hidden> wrote:
On Sep 8, 2012, at 12:26 PM, Miriam Heller wrote:

> On Sat, Sep 8, 2012 at 12:03 PM, Ben Abbott <address@hidden> wrote:
>
>> *** Please REPLY-ALL and respond at the bottom to allow those who arrive late to follow along ***
>>
>> On Sep 8, 2012, at 11:45 AM, Miriam Heller wrote:
>>
>> > On Sat, Sep 8, 2012 at 11:42 AM, Ben Abbott <address@hidden> wrote:
>> >> *** Please REPLY-ALL and respond at the bottom to allow those who arrive late to follow along ***
>> >>
>> >> On Sep 8, 2012, at 11:30 AM, Miriam Heller wrote:
>> >>
>> >> > On 9/8/12 11:10 AM, "Ben Abbott" <address@hidden> wrote:
>> >> >
>> >> >> On Sep 8, 2012, at 3:28 AM, avatarmh wrote:
>> >> >>
>> >> >>> Please help me! I also am in the Coursera course and would like to take it
>> >> >>> and learn. Unfortunately, I can't get Octave to work at all now. I know
>> >> >>> nothing about Mac OSX. I know how to double-click on dmg files and have them
>> >> >>> work. I don't understand anything anyone has suggested that involves more
>> >> >>> than that. Also, when I see ">" I don't know where they are. Finally, I
>> >> >>> don't know what bash, profile, etc. are. Please help me take this course,
>> >> >>> which is nothing without a plotting capability.
>> >> >>>
>> >> >>> First, I followed the original instructions, which entailed loading
>> >> >>> (double-clicking on the icons of) Octave and gnuplot. Octave worked. I put
>> >> >>> in an instruction at the prompt and it was interpreted.
>> >> >>>
>> >> >>> Then I tried the "plot" function. Like the two posts before me, nothing
>> >> >>> happened, then finally I got similar errors as my fellow students above.
>> >> >>>
>> >> >>> Next, someone put XQuartz up on the installation site and said that was what
>> >> >>> I needed. I loaded (double-clicked on) it. I reloaded Octave and gnuplot. I
>> >> >>> double-clicked on Octave in my applicaitons folder and now I get the
>> >> >>> following:
>> >> >>>
>> >> >>> --------------
>> >> >>> Last login: Sat Sep  8 03:20:27 on ttys000
>> >> >>> exec '/Applications/Octave.app/Contents/Resources/bin/octave'
>> >> >>> Macintosh-34159e0b8e58:~ MiriamHeller$ exec
>> >> >>> '/Applications/Octave.app/Contents/Resources/bin/octave'
>> >> >>> dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib
>> >> >>> Referenced from:
>> >> >>> /Applications/Octave.app/Contents/Resources/bin/octave-3.4.0
>> >> >>> Reason: image not found
>> >> >>> /Applications/Octave.app/Contents/Resources/bin/octave: line 68:  1793
>> >> >>> Trace/BPT trap          OCTAVE_HOME="${OCTAVE_HOME}" PATH="${PATH}"
>> >> >>> DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" CC="${CC}" CXX="${CXX}"
>> >> >>> CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}"
>> >> >>> FFLAGS="${FFLAGS}" LDFLAGS="${LDFLAGS}" DL_LDFLAGS="${DL_LDFLAGS}"
>> >> >>> SED="$SED" MAGICK_HOME="${ROOT}" FONTCONFIG_PATH="${ROOT}/etc/fonts"
>> >> >>> "${ROOT}/bin/octave-3.4.0" "$@"
>> >> >>>
>> >> >>> [Process completed]
>> >> >>> -----------------------------
>> >> >>>
>> >> >>> So now I can't even use MatLab.
>> >> >>>
>> >> >>> Please help me. I will officially be behind on Monday, when I won't have
>> >> >>> been able to go through the Octave Tutorial, Review Questions, and
>> >> >>> Programming Problem.
>> >> >>>
>> >> >>> I'd do anything if this could be interactive.
>> >> >>>
>> >> >>> Know that you'd have an enormously appreciative person, if you could help
>> >> >>> me. I've been at this over a week now.
>> >> >>>
>> >> >>> Thank you in advance in anticipation of you helping me.
>> >> >>
>> >> >> Miriam,
>> >> >>
>> >> >> Please avoid hijacking threads started by others.  You should start your own.
>> >> >> I've changed the subject to describe your problem.
>> >> >>
>> >> >> To start, please tell us your MacOS X version.
>> >> >>
>> >> >> It appears to me that you've broken your X11 by installing XQuartz.  To verify
>> >> >> ...
>> >> >>
>> >> >> (1) run /Applications/Utilities/Terminal
>> >> >> (2) At the command line type "xeyes"
>> >> >> (3) Tell us what happens
>> >> >>
>> >> >> Ben
>> >> >
>> >> > Dear Ben,
>> >> >
>> >> > Thank you infinitely for responding, starting a debug as well as a new
>> >> > thread (which I'd love to know how to find). Then I'd put this email in
>> >> > there.
>> >> >
>> >> > I think I ran what you suggested. I think the first command was meant to
>> >> > pull up a terminal window using. If not please let me know.
>> >> >
>> >> > This is what I got:
>> >> >
>> >> > Last login: Sat Sep  8 03:25:06 on ttys000
>> >> > Macintosh-34159e0b8e58:~ MiriamHeller$ run /Applications/Utilities/Terminal
>> >> > -bash: run: command not found
>> >>
>> >> You are already running the Terminal
>> >>
>> >> > Macintosh-34159e0b8e58:~ MiriamHeller$ xeyes
>> >>
>> >>
>> >> What happened when your entered "xeyes" ?
>> >>
>> >> Ben
>> >
>> > Sorry  - I didn't answer your main question (I'm a Team Leaders for the election and today is our "Weekend of Action". That is I'm juggling.)
>> >
>> > The response was two big cartoon eyes that follow my cursor.
>> >
>> > Miriam
>>
>> Ok. Good.
>>
>> Looks like your X11 is working, but now have no idea what happened to your Matlab installation.  You may need to contact Mathworks technical support.
>>
>> I'll see what can be done to get your Octave running.
>>
>> Please tell us what version of MacOS X are you running?
>>
>> *** Please REPLY-ALL and reply below (at the bottom of the email) to allow those who arrive late to follow along ***
>>
>> Ben
>

> Mac OSX 10.6.8 (Snow Leopard)

Miriam,

Please respond below (at the bottom of the email) to allow those who arrive late to follow along.

Our wiki has a section of MacOS X.  At the bottom of the page is a note regarding the dmg you have installed.

        http://wiki.octave.org/Octave_for_MacOS_X#Installing_a_MacOS_X_Bundle

"Warning: Octave-Forge does have App bundles for old Octave, versions and have problems running on MacOS 10.6 and above. The latest App bundle does not provide full support for the printing, or the documentation features of Octave. Other features may be missing as well. For individuals who'd like to use it anyway please carefully follow the instructions for Installing MacOS X Bundle."

I recommend you place the following in the Trash ...

        /Applications/Octave.app
        /Applications/Gnuplot.app
        /Applications/AquaTerm.app

... and install Octave using either Fink, MacPorts, or Homebrew (see the link below).

        http://wiki.octave.org/Octave_for_MacOS_X

I have used both Fink and MacPorts to manage Applications.  In my experience it is difficult to judge which package manager another individual would be happiest with.  However, as Fink works nicely using its command line utility and has a GUI (for those who prefer a GUI), I tend to recommend that those who have never used to package manager before to start with Fink.

Simplified instructions for installing Fink are at the link below.

        http://wiki.octave.org/Octave_for_MacOS_X#Fink

If you like the idea of the Fink GUI, you will find Fink Commander at the link below.

        http://finkcommander.sourceforge.net

Ben






--
Miriam Heller

reply via email to

[Prev in Thread] Current Thread [Next in Thread]