help-octave
[Top][All Lists]
Advanced

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

Re: Cygwin Command Line Strangeness


From: Marco Atzeri
Subject: Re: Cygwin Command Line Strangeness
Date: Tue, 18 Mar 2014 22:48:40 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0


On 18/03/2014 19:00, Damian Harty wrote:
O Learned Denizens,

1) My machine:

Windows 7 64 Bit, Octave3.6.4_gcc4.6.2_20130408.

Using Cygwin NT-6.1-WOW64, I can do the following:

     echo 'printf ("    Octave: Hello, World!\n")'  > test_me.m
     /cygdrive/c/Octave/Octave3.6.4_gcc4.6.2/bin/octave.exe -q test_me.m 2> 
test_me.log

Hopefully you can see it makes a little file called "test_me" and dutifully runs it to 
produce a "hello world" message.

No problem.


2) Not my machine:

Windows 7 64 Bit, Octave3.6.4_gcc4.6.2, Cygwin_NT-6.1.

Same deal, except that when I try to run octave as above, it declares the 
test_me.m doesn't exist:

C:\Users\gaarama\test_me.m could not be found

That's entirely accurate. The file isn't there. When I call Octave from the 
command line, I expect any file not given an absolute path to be searched for 
in the local directory - which it plainly is on my machine. Any suggestions as 
to why it might work as advertised on my machine but not his?

have you looked where was created the file ?

Could there be some flag I set when I first installed Octave on my machine 
(less than a year ago) that I've forgotten? Or something?

I'm dreading the idea that it's a Cygwin setup issue; I had a very bad 
experience on their mailing list, unlike you lovely chaps...

asking for cygwin specific here is also not a good idea ;-)


Damian

probably the HOME or PATH is not defined as you think.


Marco




reply via email to

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