[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dirty but most simple method by which pkg install will be successful in
From: |
Tatsuro MATSUOKA |
Subject: |
dirty but most simple method by which pkg install will be successful in mingw octave |
Date: |
Wed, 7 Nov 2007 10:32:39 +0900 (JST) |
Hi
This is Tatsuro.
Perhaps Benjamin's binary appear in the near future.
I fount that dirty but most simple method by which pkg install will be
successful in mingw octave.
That is modify DEFUN filesep in dirfns.cc
DEFUN (filesep, args, ,
"-*- texinfo -*-\n\
@deftypefn {Built-in Function} {} filesep ()\n\
Return the system-dependent character used to separate directory names.\n\
@seealso{pathsep, dir, ls}\n\
@end deftypefn")
{
octave_value retval;
if (args.length () == 0)
retval = "/"; /*retval = file_ops::dir_sep_str; */ /* Dirtty hack for msys
*/
else
print_usage ();
return retval;
}
retval = "/"; /*retval = file_ops::dir_sep_str; */ /* Dirtty hack for msys
*/
This is the most dirty but simple solution.
octave.exe:12> pkg prefix
C:/Programs/msys/1.0/local/octave-2.9.16/octave-forge/main
C:/Programs/msys/1.0/local/octave-2.9.16/octave-forge/main
ans = C:\Programs\msys\1.0\local\octave-2.9.16\octave-forge\main
octave.exe:13>
octave.exe:13>
octave.exe:13>
octave.exe:13> cd
C:/progra~1/cygwin/opt/octave/octave-forge-bundle-20071014/main
octave.exe:14>
octave.exe:14> pkg install -local io-1.0.3.tar.gz
octave.exe:15> pkg list
Package Name | Version | Installation directory
--------------+---------+-----------------------
io *| 1.0.3 | .../io-1.0.3
However, in this patch the Octave should be exectuted on the msys shell.
Tatsuro
--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/
- dirty but most simple method by which pkg install will be successful in mingw octave,
Tatsuro MATSUOKA <=
- Re: dirty but most simple method by which pkg install will be successful in mingw octave, David Bateman, 2007/11/07
- Re: dirty but most simple method by which pkg install will be successful in mingw octave, Benjamin Lindner, 2007/11/07
- Re: dirty but most simple method by which pkg install will be successful in mingw octave, John W. Eaton, 2007/11/07
- Re: dirty but most simple method by which pkg install will be successful in mingw octave, David Bateman, 2007/11/07
- Re: dirty but most simple method by which pkg install will be successful in mingw octave, Benjamin Lindner, 2007/11/07
- Re: dirty but most simple method by which pkg install will be successful in mingw octave, Tatsuro MATSUOKA, 2007/11/07
- Re: dirty but most simple method by which pkg install will be successful in mingw octave, Michael Goffioul, 2007/11/08
- Re: dirty but most simple method by which pkg install will be successful in mingw octave, Tatsuro MATSUOKA, 2007/11/08
- Re: dirty but most simple method by which pkg install will be successful in mingw octave, Michael Goffioul, 2007/11/09