octave-maintainers
[Top][All Lists]
Advanced

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

Re: dirty but most simple method by which pkg install will be successful


From: Tatsuro MATSUOKA
Subject: Re: dirty but most simple method by which pkg install will be successful in mingw octave
Date: Thu, 8 Nov 2007 09:01:13 +0900 (JST)

Hello

I am using the sh and  make on the msys. Perhaps John, Benjamin and David know 
that the msys is the
de-facto standard developing system for developing Unixy like software on the  
mingw. The pkg command
requires sh shell and make. In the msys, the default file separator is '/' not 
but '\'.
I have been not able to overcome the problem around pkg for a long time. 

In the mkoctfile script produced during the octave building, the file separator 
is '/' on mingw+msys.
I think that using the msys system for the pkg install command is natural 
because it uses configure
script, make and mkoctfile with file separator '/'.

Benjamin, don't you use the msys system for building mingw octave?

I also think my method will be dangerous and should not to be used in the 
future.
So I used the word of 'dirty'.

I wrote this thread as a caution the file separator problem in mingw system is 
not a simple problem. 
Excuse me for my giving insufficient explanation.
It is the best the to make the patch for pkg.m but it is not completed yet as I 
wrote before.    
http://www.cae.wisc.edu/pipermail/octave-maintainers/2007-November/004714.html


I the msys system, yesterday I aware that the double quoting path with '\' is 
acceptable like 

$ ls "D:\usr\Tatsu\mingwhome"
CXSparse/    MinGW.lnk      msys-1.0.lnk

So that this will also be a clue to the solution.


Without the double quoting, the result is 
$ ls D:\usr\Tatsu\mingwhome
ls: D:usrTatsumingwhome: No such file or directory

So that configure and make does not work without any modification in pkg 
install command as long as
msys is used.

Thanks to all for the extensive discussion.

Regards

Tatsuro

--- Benjamin Lindner <address@hidden> wrote:

> 
> Personally, I'd be very careful to change the file separator to '/'.
> 
> Tatsuro, at which stage in the pkg build process does the error occur? 
> during configure or during make?
> What does a system("which make") yield?
> 
> benjamin
> 



--------------------------------------
New Design Yahoo! JAPAN  2008/01/01
http://pr.mail.yahoo.co.jp/newdesign/


reply via email to

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