help-octave
[Top][All Lists]
Advanced

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

Re: GUI - start?


From: jkr
Subject: Re: GUI - start?
Date: Mon, 1 Dec 2014 22:02:32 -0800 (PST)

Alexander,

Followed your instructions below.  At one point my iMac was hung for over a 
half hour (even clock on screen not updating, no disk noises) and I forced it 
to power down.  This was apparently during fink install octave-qtmacs 
octave382-dev.  After rebooting, I did findk list -it octave and got:

 i      fink-octave-scripts     0.3.3-1 Convenience scripts for Octave add-ons
 p      liboctave382            [virtual package]
 p      liboctave382-accelerate         [virtual package]
 p      liboctave382-accelerate-dev             [virtual package]
 p      liboctave382-aqua               [virtual package]
 p      liboctave382-aqua-dev           [virtual package]
 p      liboctave382-dev                [virtual package]
 p      liboctave382-gcc49              [virtual package]
 p      liboctave382-gcc49-dev          [virtual package]
 i      octave382       3.8.2-4 MATLAB-like language for computations
 i      octave382-dev   3.8.2-4 MATLAB-like language for computations
 p      octave382-interpreter           [virtual package]
 p      octave382-interpreter-accelerate                [virtual package]
 p      octave382-interpreter-aqua              [virtual package]

Then I did fink install octave-qtmac octave382-dev, counting on fink to figure 
out whether it had any work to do (as the list looked incomplete - no qtmac).  
This appeared to work, apart from complaints about not being able to stat 
unstable/crypto/...  It said it found that it needed to install both packages, 
but took hardly any time.  Next it said:

Could not resolve inconsistent dependencies!

Fink isn't sure how to install the above packages safely. You may be able to
fix things by running:

  fink scanpackages
  sudo apt-get update
  sudo apt-get install octave-qtmac=3.8.2-4 octave382-qtmac=3.8.2-4

So, I ran all of the recommended commands.  During sudo apt-get install 
octave-qtmac-3.8.2-4 octave382-qtmac=3.8.2-4 it said:

The following packages will be REMOVED:
  octave382 octave382-dev 
The following NEW packages will be installed:
  octave-qtmac octave382-qtmac 
0 packages upgraded, 2 newly installed, 2 to remove and 0  not upgraded.
Need to get 0B/26.7MB of archives. After unpacking 791kB will be freed.

Then it appeared to proceed gracefully except for warnings like:

Removing octave382-dev ...
Removing octave382 ...
dpkg - warning: while removing octave382, directory `/sw/var/octave/3.8.2' not 
empty so not removed.
dpkg - warning: while removing octave382, directory `/sw/var/octave' not empty 
so not removed.
dpkg - warning: while removing octave382, directory `/sw/share/octave' not 
empty so not removed.
dpkg - warning: while removing octave382, directory `/sw/lib/octave' not empty 
so not removed.

Finally it said Setting up octave-qtmac (3.8.2-4) ..., which it appeared to do 
successfully.

Next I ran octave --force-gui

It brought up a beautiful GUI.  Command line recall worked.  But on a first 
simple plot I got a dialog "octave-gui quite unexpectedly" and on the command 
console "octave exited with signal 11".

I tried starting again at remove --recursive octave382.  fink said No packages 
to remove. I tried 'fink remove octave382' - same answer.  'find remove 
octave382-interpreter', same answer.  

I tried using octave from its command line.  I generated a simple plot, but on 
the command console, it posted pages of:

Dec  1 17:46:56 Jamess-iMac.local octave-cli-3.8.2[1459] <Error>: 
CGContextFillRects: invalid context 0x0. This is a serious error. This 
application, or a library it uses, is using an invalid context  and is thereby 
contributing to an overall degradation of system stability and reliability. 
This notice is a courtesy: please fix this problem. It will become a fatal 
error in an upcoming update. 

(repeated many times).

I feel totally snake-bit.  It seems like I need to start over with a fresh 
installation, but it seems like I cannot.  Recommendation?

Thanks,

Jim


> On Dec 1, 2014, at 11:04 AM, Alexander Hansen-2 [via Octave] <address@hidden> 
> wrote:
> 
> 
> > On Dec 1, 2014, at 10:56 AM, James Russell <[hidden email] 
> > <x-msg://4/user/SendEmail.jtp?type=node&node=4667616&i=0>> wrote: 
> > 
> > Alexander, 
> > 
> > I got to 3.8.2 using fink update-all after configuring to not restrict to 
> > stable (my local octave installation was at 3.8.1 before that). fink list 
> > -it octave yields: 
> > 
> > i fink-octave-scripts       0.3.3-1 Convenience scripts for Octave add-ons 
> > p liboctave382      [virtual package] 
> > p liboctave382-accelerate   [virtual package] 
> > p liboctave382-accelerate-dev       [virtual package] 
> > p liboctave382-aqua [virtual package] 
> > p liboctave382-aqua-dev     [virtual package] 
> > p liboctave382-dev  [virtual package] 
> > p liboctave382-gcc49        [virtual package] 
> > p liboctave382-gcc49-dev    [virtual package] 
> > i octave    3.8.2-4 MATLAB-like language for computations 
> > p octave-interpreter        [virtual package] 
> > p octave-interpreter-accelerate     [virtual package] 
> > p octave-interpreter-aqua   [virtual package] 
> > i octave382 3.8.2-4 MATLAB-like language for computations 
> > i octave382-dev     3.8.2-4 MATLAB-like language for computations 
> > p octave382-interpreter     [virtual package] 
> > p octave382-interpreter-accelerate  [virtual package] 
> > p octave382-interpreter-aqua        [virtual package] 
> > 
> > 
> > At fink, searching for packages with 'octave 382' yields 36 results, many 
> > of which include qtx11 or qtmac in their name.  Some include 'atlas', some 
> > 'ref', some simply follow octave382 with 'x11', and some have no such 
> > qualifier.  For what it's worth, pursuing a working installation earlier by 
> > another means, I installed X Quartz.  So, I expect a qtx11 variant is 
> > indicated.  Earlier you helped me enable install some packages to extend 
> > basic octave, which required something involving -dev.  How do I know how 
> > to get from where I am to where I need to be without disturbing the (sorry 
> > - rather painful) progress I've made?  Can you recommend a particular fink 
> > install command argument?  It is really pretty hard for a newbie to 
> > decipher all of the alternatives. 
> > 
> > I am guessing what I need is 'fink install octave382-qtx11-dev', but I'm 
> > leery of just guessing.  I've put a good deal of time into getting a 
> > working 3.8.2 installation in place and don't want to mess it up. 
> > 
> > Thanks so much for your help - I recognize that the community you are 
> > serving is very diverse in requirements, and really appreciate your helpful 
> > instructions. 
> > 
> > Jim 
> > 
> >
> 
> You can use either -qtx11 or -qtmac depending on whether you want the X11 GUI 
> or the native GUI.  You aren’t forced to use X11. :-)  And you aren’t going 
> to lose anything apart from some time, since you’re going to have to install 
> Qt.  If you haven’t enabled the official binary distribution yet, I’d 
> recommend doing that to save time. 
> 
> The cleanest way to do the swap is “fink remove —recursive octave382 ; fink 
> install octave-qtx11 octave382-dev”.  In Fink Commander you can use a 
> Binary->Remove operation on the octave382 package to accomplish the removal, 
> and then do your install. 
> 
> I’m not sure what Octave Forge packages you have installed, but you can 
> install them afterwards. 
> -- 
> Alexander Hansen, Ph.D. 
> Fink User Liaison 
> 
> 
> _______________________________________________ 
> Help-octave mailing list 
> [hidden email] <x-msg://4/user/SendEmail.jtp?type=node&node=4667616&i=1> 
> https://lists.gnu.org/mailman/listinfo/help-octave 
> <https://lists.gnu.org/mailman/listinfo/help-octave>
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://octave.1599824.n4.nabble.com/GUI-start-tp4667606p4667616.html 
> <http://octave.1599824.n4.nabble.com/GUI-start-tp4667606p4667616.html>
> To unsubscribe from GUI - start?, click here 
> <http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4667606&code=amFtZXMuay5ydXNzZWxsQG1hYy5jb218NDY2NzYwNnwtMTg2NTUzMTgzNQ==>.
> NAML 
> <http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://octave.1599824.n4.nabble.com/GUI-start-tp4667606p4667633.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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