[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave 3.2.4 for windows: MSYS old / system path
From: |
Tatsuro MATSUOKA |
Subject: |
Re: Octave 3.2.4 for windows: MSYS old / system path |
Date: |
Wed, 13 Oct 2010 07:28:26 +0900 (JST) |
Hello
Octave for windows is windows native application ':' cannot be used in
EXEC_PATH but ';' should be
used.
My EXEC PATH is
octave:1> EXEC_PATH
ans =
C:\Programs\Octave\3.2.4_gcc-4.4.0\MINGW32\bin;C:\Programs\Octave\3.2.4_gcc-4.4.0\MSYS\bin;C:\Programs\Octave\3.2.4_gcc-4.4.0\libexec\octave\3.2.4\site\exec\i686-pc-mingw32;C:\Programs\Octave\3.2.4_gcc-4.4.0\libexec\octave\api-v37\site\exec\i686-pc-mingw32;C:\Programs\Octave\3.2.4_gcc-4.4.0\libexe
c\octave\site\exec\i686-pc-mingw32;C:\Programs\Octave\3.2.4_gcc-4.4.0\libexec\octave\3.2.4\exec\i686-pc-mingw32;C:\Programs\Octave\3.2.4_gcc-4.4.0\bin;C:\Programs\MiKTeX
2.8\miktex\bin;c:\program
files\imagemagick-6.5.3-q16;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;D:\usr\Tatsu\program\ScriptTools;C:\Program
Files\ckw;C:\Program Files\gawk-mbcs-win32-20070407;C:\Program
Files\wscite;C:\Program
Files\Hidemaru;C:\Programs\gs\gs8.70\bin;C:\Programs\gs\gs8.70\lib;C:\Programs\GnuWin32\bin;C:\Program
Files\pstoedit;C:\Program Files\fig2dev;C:\Programs\ispell-w32\bin;C:\Program
Files\ckw
You can add the path which have priority that octave path,
you can write like
EXEC_PATH(['C:\Programs\Msys\1.0\bin;' EXEC_PATH])
Regards
Tatsuro
--- "John W. Eaton" wrote:
> On 12-Oct-2010, Schirmacher, Rolf wrote:
>
> | what I see on my Win XP system running 3.2.4 is that the path during
> | system() calls is extended with leading octave directories including the
> | standard unix tools in MSYS.
> | While this is probably a good idea within a generic win environment, it
> | results in issues in my environment as we have the GNU utilities installed
> | in our default system configuration as well.
> | Unfortunately, some tools in the MSYS set seem to be quite old (e.g. sed),
> | so I get compatibility issues with the generic GNU util installation (which
> | e.g. batch files find first outside octave) and the old MSYS version (found
> | from an octave system() call).
> |
> | This results in 2 questions:
> | 1) is it (easily) possible to change the path / environment for the system
> | call to disable the added path?
> | 2) is it (easily) possible to update the MSYS tools within the octave
> | installation?
>
> If you have newer/other tools installed that you would prefer to use
> instead of the ones distributed with Octave, why not just delete the
> ones from the Octave installation?
>
> If you don't want to do that, you can modify the value of EXEC_PATH:
>
> octave> EXEC_PATH ("/what/ever:/you/want");
>
> Put the call to EXEC_PATH in your ~/.octaverc file if you want that to
> be changed for every session.
>
> jwe
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
--------------------------------------
Learn more about breast cancer - Pink Ribbon Campaign 2010
http://yj.pn/JAy9L7