public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Octave Plotting, Invoking Octave
@ 2011-04-19 15:23 Doug Pace
  2011-04-19 17:16 ` marco atzeri
  0 siblings, 1 reply; 4+ messages in thread
From: Doug Pace @ 2011-04-19 15:23 UTC (permalink / raw)
  To: cygwin

Thanks Marco

   I deleted the cygwin directory and reinstalled, selecting cygwin 1.7.8-1.
This did not work either; but I may have done a rebaseall after installing octave.

Got octave working with this sequence:

install cygwin, with x11; do a >/cygwin/bin/ash ? ./rebaseall;
run setup again:  downgrade to 1.7.8-1, select octave, octave-forge ...;
(do NOT run ./rebaseall)
now sombrero demo plot works in octave.
BUT with the figure displayed a second Octave -> figure  command does not work.

Doug

REFERENCE:  http://cygwin.com/ml/cygwin/2011-04/msg00252.html

On Mon, Apr 18, 2011 at 6:25 PM, Doug Pace  wrote:
> Installed cygwin with gnuplot, X11, and octave.
>
> Octave will not run the 'sombrero' demo plot.
>
> Have removed c:\cygwin and reinstalled; have attempted previous releases of
> cygwin and octave.
> Yes, I needed to use ash and do
> ? ? ? ? ? ?$ ./rebaseall
> to get startx to work.
>
> Now octave no longer opens, no error messages are issued just returns to the
> shell prompt.
>
> This is on XP sp 3.
> Thanks for any help,

Doug,
rebaseall seems to break octave on WinXP. I already noted it on 1.7.9
and on some snapshots.

Workaround.
- reinstall octave
- downgrade cygwin from 1.7.9-1 to 1.7.8-1

At least on my WinXP SP3 it works.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Octave Plotting, Invoking Octave
  2011-04-19 15:23 Octave Plotting, Invoking Octave Doug Pace
@ 2011-04-19 17:16 ` marco atzeri
  0 siblings, 0 replies; 4+ messages in thread
From: marco atzeri @ 2011-04-19 17:16 UTC (permalink / raw)
  To: cygwin

On Tue, Apr 19, 2011 at 4:09 PM, Doug Pace  wrote:
> Thanks Marco
>
>  I deleted the cygwin directory and reinstalled, selecting cygwin 1.7.8-1.
> This did not work either; but I may have done a rebaseall after installing
> octave.
>
> Got octave working with this sequence:
>
> install cygwin, with x11; do a >/cygwin/bin/ash ? ./rebaseall;
> run setup again:  downgrade to 1.7.8-1, select octave, octave-forge ...;
> (do NOT run ./rebaseall)
> now sombrero demo plot works in octave.
> BUT with the figure displayed a second Octave -> figure  command does not
> work.

For me it is fine.

octave:1> sombrero
octave:2> figure (2)
octave:3> x=1:10;
octave:4> plot(x,x)
octave:5> figure (3)
octave:6> plot(x,x)

and I have 3 window plots.

>
> Doug
>

Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Octave Plotting, Invoking Octave
  2011-04-18 19:23 Doug Pace
@ 2011-04-18 20:01 ` marco atzeri
  0 siblings, 0 replies; 4+ messages in thread
From: marco atzeri @ 2011-04-18 20:01 UTC (permalink / raw)
  To: cygwin

On Mon, Apr 18, 2011 at 6:25 PM, Doug Pace  wrote:
> Installed cygwin with gnuplot, X11, and octave.
>
> Octave will not run the 'sombrero' demo plot.
>
> Have removed c:\cygwin and reinstalled; have attempted previous releases of
> cygwin and octave.
> Yes, I needed to use ash and do
>            $ ./rebaseall
> to get startx to work.
>
> Now octave no longer opens, no error messages are issued just returns to the
> shell prompt.
>
> This is on XP sp 3.
> Thanks for any help,

Doug,
rebaseall seems to break octave on WinXP. I already noted it on 1.7.9
and on some snapshots.

Workaround.
- reinstall octave
- downgrade cygwin from 1.7.9-1 to 1.7.8-1

At least on my WinXP SP3 it works.

>
> Doug

Marco

>
> -- in octave /usr/share/octave/3.4.0/m/plot/__gnuplot_get_var__.m
>    the line                    str = strcat(str {:});     ---------latest
> version
>                   str = strcat(str, {:});   -------------previous version
>      previous version is correct.
>
> screen capture follows:
> **************************************************************************************************
>
> $ octave
>
> GNU Octave, version 3.4.0
>
> Copyright (C) 2011 John W. Eaton and others.
>
> This is free software; see the source code for copying conditions.
>
> There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
>
> FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.
>
>
>
> Octave was configured for "i686-pc-cygwin".
>
>
>
> Additional information about Octave is available at http://www.octave.org.
>
>
>
> Please contribute if you find this software useful.
>
> For more information, visit http://www.octave.org/help-wanted.html
>
>
>
> Read http://www.octave.org/bugs.html to learn how to submit bug reports.
>
>
>
> For information about changes from previous versions, type `news'.
>
>
>
> octave:1> who
>
> Variables in the current scope:
>
>
>
> ans
>
>
>
> octave:2> x = 1:1:10
>
> x =
>
>
>
>   1 2 3 4 5 6 7 8 9 10
>
>
>
> octave:3> y = x .* x
>
> y =
>
>
>
>    1     4     9    16    25    36    49    64    81   100
>
>
>
> octave:4> sombrero
>
>     0 [main] octave-3.4.0 3668 C:\cygwin\bin\octave-3.4.0.exe: *** fatal
> error - couldn't release memory 0x18D01000(61440) for
> '\\?\C:\cygwin\lib\octave\3.4.0\oct\i686-pc-cygwin\cellfun.oct' alignment,
> Win32 error 487
>
> Stack trace:
>
> Frame     Function  Args
>
> 00229828  6102796B  (00229828, 00000000, 00000000, 00000000)
>
> 00229B18  6102796B  (6117EC60, 00008000, 00000000, 61180977)
>
> 0022AB48  61004F1B  (611A7F74, 18D01000, 0000F000, 6124A284)
>
> End of stack trace
>
>     0 [main] octave 3664 fork: child 3668 - died waiting for dll loading,
> errno 11
>
> error: popen2: process creation failed -- Resource temporarily unavailable
>
> error: called from:
>
> error:   /usr/share/octave/3.4.0/m/plot/__gnuplot_open_stream__.m at line
> 30, column 44
>
> error:   /usr/share/octave/3.4.0/m/plot/__gnuplot_drawnow__.m at line 72,
> column 19
>
> octave:5
>
>
>
> $ cygcheck -c cygwin x11 gnuplot octave
>
> Cygwin Package Information
>
> Package              Version        Status
>
> cygwin               1.7.9-1        OK
>
> gnuplot              4.4.0-1        OK
>
> octave               3.4.0-3        OK
>
>
>
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Octave Plotting, Invoking Octave
@ 2011-04-18 19:23 Doug Pace
  2011-04-18 20:01 ` marco atzeri
  0 siblings, 1 reply; 4+ messages in thread
From: Doug Pace @ 2011-04-18 19:23 UTC (permalink / raw)
  To: cygwin

Installed cygwin with gnuplot, X11, and octave.

Octave will not run the 'sombrero' demo plot.

Have removed c:\cygwin and reinstalled; have attempted previous releases 
of cygwin and octave.
Yes, I needed to use ash and do
             $ ./rebaseall
to get startx to work.

Now octave no longer opens, no error messages are issued just returns to 
the shell prompt.

This is on XP sp 3. 

Thanks for any help,

Doug

-- in octave /usr/share/octave/3.4.0/m/plot/__gnuplot_get_var__.m
     the line 
                    str = strcat(str {:});     ---------latest version
                    str = strcat(str, {:});   -------------previous version
       previous version is correct.

screen capture follows:
**************************************************************************************************

$ octave

GNU Octave, version 3.4.0

Copyright (C) 2011 John W. Eaton and others.

This is free software; see the source code for copying conditions.

There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or

FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

 

Octave was configured for "i686-pc-cygwin".

 

Additional information about Octave is available at http://www.octave.org.

 

Please contribute if you find this software useful.

For more information, visit http://www.octave.org/help-wanted.html

 

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

 

For information about changes from previous versions, type `news'.

 

octave:1> who

Variables in the current scope:

 

ans

 

octave:2> x = 1:1:10

x =

 

    1    2    3    4    5    6    7    8    9   10

 

octave:3> y = x .* x

y =

 

     1     4     9    16    25    36    49    64    81   100

 

octave:4> sombrero

      0 [main] octave-3.4.0 3668 C:\cygwin\bin\octave-3.4.0.exe: *** 
fatal error - couldn't release memory 0x18D01000(61440) for 
'\\?\C:\cygwin\lib\octave\3.4.0\oct\i686-pc-cygwin\cellfun.oct' 
alignment, Win32 error 487

Stack trace:

Frame     Function  Args

00229828  6102796B  (00229828, 00000000, 00000000, 00000000)

00229B18  6102796B  (6117EC60, 00008000, 00000000, 61180977)

0022AB48  61004F1B  (611A7F74, 18D01000, 0000F000, 6124A284)

End of stack trace

      0 [main] octave 3664 fork: child 3668 - died waiting for dll 
loading, errno 11

error: popen2: process creation failed -- Resource temporarily unavailable

error: called from:

error:   /usr/share/octave/3.4.0/m/plot/__gnuplot_open_stream__.m at 
line 30, column 44

error:   /usr/share/octave/3.4.0/m/plot/__gnuplot_drawnow__.m at line 
72, column 19

octave:5

 

$ cygcheck -c cygwin x11 gnuplot octave

Cygwin Package Information

Package              Version        Status

cygwin               1.7.9-1        OK

gnuplot              4.4.0-1        OK

octave               3.4.0-3        OK





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-19 14:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-19 15:23 Octave Plotting, Invoking Octave Doug Pace
2011-04-19 17:16 ` marco atzeri
  -- strict thread matches above, loose matches on Subject: below --
2011-04-18 19:23 Doug Pace
2011-04-18 20:01 ` marco atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).