help-octave
[Top][All Lists]
Advanced

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

Re: saving structure error in octave 3.2.3, ubuntu 10.04


From: Tatsuro MATSUOKA
Subject: Re: saving structure error in octave 3.2.3, ubuntu 10.04
Date: Sat, 7 Jan 2012 05:35:44 +0900 (JST)

I am forwarding to then mail to the help ML.

--- On Fri, 2012/1/6, yashar mehmani <address@hidden wrote:

The installation from source gave a LOT of headache but that was because I was 
new to ubuntu. If you are too, here are a few pointers:

1) Go on wikipedia (or somehing that starts with a wiki prefix, just google it) 
and find the page for octave installation. Follow the steps there to extract, 
configure, make and make install. But before install the packages listed there. 
Packages not listed that I remember were, "pcre" (<= which I also downloaded 
and compiled from source) "texinfo" and some more (./configure will let you 
know what you need!). Just also remember to close the terminal and reopen it 
every time you install something, it's simple but I was stumped because of this 
for a while. The rest you can find anywhere on the net as well as the 
readme.txt:

extract with: tar -xvzf name.tar.gz (<==look up the comand I may have made a 
mistake)
cd to directory
type: ./configure
wait
pay attention to messages at the end, you may have to go and install some 
libraries.
then type: make
type: "sudo make install" to install

Done ;)

On Fri, Jan 6, 2012 at 2:39 AM, Tatsuro MATSUOKA <address@hidden> wrote:
Hello
> 
> On Fri, Jan 6, 2012 at 2:39 AM, Tatsuro MATSUOKA <address@hidden> wrote:
> Hello
> 
> --- On Fri, 2012/1/6, Steve Thompson wrote:
> 
> > Hello,
> >
> > For our development, we are running Ubuntu LTS 10.04 (because we need 
> > something stable).  In that distro, Octave 3.2.3 is supplied.
> >
> > I have a strange error, and it can be boiled down to this:
> >
> > +++ snip ++++++++++++++++
> >
> > % this gives me a bad file:
> > clear y
> > for i = 1 : 36
> > y(i).hi = [-0.707106781186547 - 0.707106781186547i, ...
> >             0.707106781186547 - 0.707106781186547i, ...
> >            -0.707106781186547 + 0.707106781186547i, ...
> >             0.707106781186547 + 0.707106781186547i].';
> > end
> > save ohmy.mat y
> > clear y
> > load ohmy.mat
> >
> > % this gives me a good file:
> > clear y
> > for i = 1 : 36
> > y(i).hi = [1 + j, 1 - j; 1 - j, 1 + j];
> > y(i).hi = [-0.70711 - 0.70711i, ...
> >             0.70711 - 0.70711i, ...
> >            -0.70711 + 0.70711i, ...
> >             0.70711 + 0.70711i].';
> > end
> > save ohmy.mat y
> > clear y
> > load ohmy.mat
> >
> > +++ snip ++++++++++++++++
> >
> > In the first case, after the load ohmy.mat,  the y structure is now where 
> > to be seen.  Opening ohmy.mat in a text editor, it appears corrupted.
> >
> > In the second case, everything is fine.  Opening ohmy.mat reads nicely.
> >
> > This appears to be some type of bug in Octave 3.2.3 and Octave 3.0.5 as 
> > supplied by Ubuntu 10.04.
> >
> > When I do the same thing in Octave 3.4.2 as supplied by cygwin and Octave 
> > 3.4.3 as supplied by the MS Windows install, I do not get this bad 
> > behavior: everything works as it should in these cases.
> >
> > I need to stay in my Ubuntu 10.04 environment.  Is there a fixed to Octave 
> > 3.2.3 to make this problem go away?  Or, do I have to install a newer 
> > version of Octave in Ubuntu 10.04?  Is there an easy way to install, for 
> > example, Octave 3.2.4 in Ubuntu 10.04?  (I've poked around the web, and it 
> > looks like this has to be done by compiling from source?  I'd like to avoid 
> > this step if possible!)
> 
> To my knowledge, you should build octave from source to use version 3.4 on 
> Ubuntu.
> Please see the guide
> 
> http://www.octave.org/wiki/index.php?title=Octave_for_GNU_Linux:_Binary_Octave_packages_for_GNU_Linux#Ubuntu
> 
> I am a newbie to the Ubuntu. However, the build from octave 3.4 from source 
> is far easy that on windows.
> 
> Regards
> 
> Tatsuro
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
> 
> 
> 
> -- 
> Yashar Mehmani
> Dept. of Petroleum & Geosystems Engineering
> The University of Texas at Austin
> 1 University Station, C0300
> Austin, TX  78712-0228
>


reply via email to

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