Re: No octave prompt (no error messages)

2006-12-16 Thread James R. Phillips
Robbie Gates wrote:

 Check also that your PATH includes /usr/lib/lapack, as octave appears
 to need the dlls found there.  My default path doesn't contain this,

Lapack is installed in /usr/lib/lapack, which is not on the path by default. 
It is then added to the end of the path at login by
/etc/profile.d/lapack.[sh|csh].

This is a design decision taken so that users may compile their own optimized
atlas libraries, linked with lapack, and install them in /usr/local/bin, which
would normally precede /usr/lib/lapack in the path.  The optimized libraries
would then be used in preference to the generic ones.

Instructions on how to do this are in

/usr/share/doc/Cygwin/lapack-3.0.README

It requires, of course, downloading the lapack source package, and building
from source.  More detailed instructions are in the source package.

Users who insist on trying to use octave outside of the normal bash or c-shell
login process, will likely find it non-functional due to the lapack libraries
not being found.  This may also happen if the user's ~/.profile,
~/.bash_profile, ~/.bashrc, etc, modify the path that is set by default during
the processing of /etc/profile and the scripts in /etc/profile.d.

If cygwin octave is being heavily used, it is really worth building and
installing the optimized libraries.  User reports regarding attempts to do so
would be appreciated.

Some may wonder why pre-built optimized libraries are not available.  The
design of atlas makes this very difficult to do, because atlas wants to
iterativey test its optimizations and customize them to your precise cpu
architecture.  Yes, Debian somehow manages to build and package optimized
libraries, but they do it in a way that subverts the upstream design approach
of atlas.  It _wants_ to optimize to your precise cpu architecture, so you
might as well let it.

James R. Phillips
cygwin lapack/octave packager


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: No octave prompt (no error messages)

2006-12-08 Thread Albert Vos

On 07 December 2006 14:22, Tony Richardson wrote:


Albert Vos vos_albert at hotmail.com writes:


at home and at work I have the same problem with octave under cygwin. In
both cases I octave just quits without giving any output, no prompt, no
error messages. One computer runs on win2000 Sp4 on which I'm no
administrator and the other runs on winXp Sp2 on which I have all rights.


You might try starting octave using octave -V or octave -x (or both) 
to

determine if it is getting hung in one of the startup scripts.
Otherwise follow the problem reporting guidelines ...

Tony Richardson



Also try cygcheck -c octave, which verifies the package is intact.  If
that doesn't show anything, try cygcheck /bin/octave.exe which shows all 
the

DLLs that octave depends on, and make sure they're all installed: maybe
there's a missed dependency in the setup.ini lines.


octave -V, octave -x, octave -V -x   all output nothing


cygcheck -c octave

Cygwin Package Information
Package  VersionStatus
octave   2.1.73-1   OK


cygcheck /bin/octave.exe

M:/cygwin/bin/octave.exe

I attached the cygcheck.out file, as requested. It was made on the win2000 
computer with rxvt as terminal, but I have the same problem with cmd as 
terminal.


_
Play online games with your friends with Messenger 
http://www.join.msn.com/messenger/overview


cygcheck.out
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Re: No octave prompt (no error messages)

2006-12-08 Thread Larry Hall (Cygwin)

Albert Vos wrote:

On 07 December 2006 14:22, Tony Richardson wrote:


Albert Vos vos_albert at hotmail.com writes:

at home and at work I have the same problem with octave under 
cygwin. In

both cases I octave just quits without giving any output, no prompt, no
error messages. One computer runs on win2000 Sp4 on which I'm no
administrator and the other runs on winXp Sp2 on which I have all 
rights.


You might try starting octave using octave -V or octave -x (or 
both) to

determine if it is getting hung in one of the startup scripts.
Otherwise follow the problem reporting guidelines ...

Tony Richardson



Also try cygcheck -c octave, which verifies the package is intact.  If
that doesn't show anything, try cygcheck /bin/octave.exe which shows 
all the

DLLs that octave depends on, and make sure they're all installed: maybe
there's a missed dependency in the setup.ini lines.


octave -V, octave -x, octave -V -x   all output nothing


cygcheck -c octave

Cygwin Package Information
Package  VersionStatus
octave   2.1.73-1   OK


cygcheck /bin/octave.exe

M:/cygwin/bin/octave.exe

I attached the cygcheck.out file, as requested. It was made on the 
win2000 computer with rxvt as terminal, but I have the same problem with 
cmd as terminal.



You mean 'cmd.exe' or 'bash' in 'cmd.exe'?  If the latter, remove 'tty'
from your CYGWIN environment variable and try again.  See:

http://cygwin.com/cygwin-ug-net/using-cygwinenv.html


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: No octave prompt (no error messages)

2006-12-08 Thread Robbie Gates

Albert Vos writes:

at home and at work I have the same problem with octave under
cygwin. In
both cases I octave just quits without giving any output, no prompt, no
error messages.


Check also that your PATH includes /usr/lib/lapack, as octave appears
to need the dlls found there.  My default path doesn't contain this,
and octave by itself fails as you describe:
 : 1007; octave
 : 1008; echo $?
 53
whereas
 : 1009; PATH=$PATH:/usr/lib/lapack octave
 GNU Octave, version 2.1.73 (i686-pc-cygwin).
 [...]
 octave:1 quit
 : 1010; echo $?
 0

- robbie

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



No octave prompt (no error messages)

2006-12-07 Thread Albert Vos

Hi,

at home and at work I have the same problem with octave under cygwin. In 
both cases I octave just quits without giving any output, no prompt, no 
error messages. One computer runs on win2000 Sp4 on which I'm no 
administrator and the other runs on winXp Sp2 on which I have all rights.


Both cygwin environment are downloaded this month.

I have no idea what the problem is, can anyone help me find out??

Albert

_
FREE pop-up blocking with the new Windows Live Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: No octave prompt (no error messages)

2006-12-07 Thread Tony Richardson
Albert Vos vos_albert at hotmail.com writes:

 at home and at work I have the same problem with octave under cygwin. In 
 both cases I octave just quits without giving any output, no prompt, no 
 error messages. One computer runs on win2000 Sp4 on which I'm no 
 administrator and the other runs on winXp Sp2 on which I have all rights.

You might try starting octave using octave -V or octave -x (or both) to
determine if it is getting hung in one of the startup scripts.
Otherwise follow the problem reporting guidelines ...

Tony Richardson




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/