help-octave
[Top][All Lists]
Advanced

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

Re: Error when crating a window with Octave - gnuplot cygwin x11


From: marco atzeri
Subject: Re: Error when crating a window with Octave - gnuplot cygwin x11
Date: Mon, 12 Mar 2012 17:33:28 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

On 3/12/2012 11:48 AM, Fabien Delaloye wrote:
Hi everyone,
I have dowloaded the latest version of Cygwin and then installed the
following packages : xterm, gnuplot, xorg-server, xinit and octave.
My goal is to be able to plot a simple graph using the octave plot function.
I use windows 7.

I launch Cygwin and then startxwin, in the xterm window I do the following :


address@hidden ~

*$ octave*
GNU Octave, version 3.6.1


*octave:1> plot(1:10)*
       0 [main] octave-3.6.1 2736 child_info_fork::abort: unable to
remap find.oct to same address as parent (005C0000) - try running rebaseall
error: popen2: process creation failed -- Resource temporarily unavailable
error: called from:
error:
/usr/share/octave/3.6.1/m/plot/private/__gnuplot_open_stream__.m at line
30, column 44
error:   /usr/share/octave/3.6.1/m/plot/__gnuplot_drawnow__.m at line
72, column 19
octave:2>


when I try to open a new Window with the command /figure/, I get the
following error :

*octave:4> figure(2)*
       0 [main] octave-3.6.1 3708 child_info_fork::abort:
cyglapack-0.dll: Loaded to different address: parent(0x930000) !=
child(0x5B0000)
error: popen2: process creation failed -- Resource temporarily unavailable
error: called from:
error:
/usr/share/octave/3.6.1/m/plot/private/__gnuplot_open_stream__.m at line
30, column 44
error:   /usr/share/octave/3.6.1/m/plot/__gnuplot_drawnow__.m at line
72, column 19
octave:5>



I feel I have installed everything needed and just have to configure it
right.
Does anyone knows how to configure X11 and gnuplot so it works ?


Thanks,

Fabien Delaloye


It is not a configuration issue, but a fork issue.

Save the attachment as octave_rebaseall.bat on your
root cygwin directory
(c:\cygwin  or wherever you installed)

and run it from explorer with no other cygwin process running.

It will rebase correctly all the cygwin dll's, including the
octave ".oct" ones


Regards
Marco


Attachment: octave_rebaseall.txt
Description: Text document


reply via email to

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