From help-request at octave dot org Sun Feb 6 13:54:59 2005 Subject: RE: Newbie, 2.1.64 & octave-forge-2004.11.16 & more or less experienced From: "F L" To: kirjeet at hotmail dot com, help@octave.org Date: Sun, 06 Feb 2005 19:59:47 +0000 >From: "F L" >To: help at octave dot org >Subject: Newbie, 2.1.64 & octave-forge-2004.11.16 & more or less problems >Date: Wed, 02 Feb 2005 01:17:03 +0000 > >Thank you for the answer to my previous question. > >I installed cygwin and Octave 2.1.64. I tried again MATLAB - macros and >noticed some progress in excuting the macros. But I received complains of >missing functions like 'transpose' etc. thus I installed >octave-forge-2004.11.16 (gcc 3.3.3) > >It didn't succeed perfectly. 'make check' complained and 'make icheck' >chose to exit with 'panic & segment violation'. > >The startup of Octave greets me like this: > >error: /home/Järjestelmänvalvoja/octave-forge/oct/dispatch.oct is not a >valid shared library >error: `dispatch' undefined near line 2 column 1 >error: near line 2 of file >`/home/Järjestelmänvalvoja/octave-forge/comm//PKG_ADD >' >error: source: error sourcing file >`/home/Järjestelmänvalvoja/octave-forge/comm/ >/PKG_ADD' >error: evaluating assignment expression near line 5, column 10 >error: near line 5 of file >`/usr/local/share/octave/2.1.64/m/startup/octaverc' > > >but it doesn't seem to be serious. Many more MATLAB macros seem to run. > >**************************************** >Then to a perceived *significant* problem: > >For example this: 'results(j).beta = res.beta;' >seems to cause irritation: error: matrix cannot be indexed with . > >Earlier code to clarify what's being done: ' > >% RETURNS a structure >% results.meth = 'vare' >% results.nobs = nobs, # of observations >% results.neqs = neqs, # of equations >% results.nlag = nlag, # of lags >% results.nvar = nlag*neqs+nx+1, # of variables per equation >% --- the following are referenced by equation # --- >% results(eq).beta = bhat for equation eq >% results(eq).tstat = t-statistics >% results(eq).tprob = t-probabilities >% results(eq).resid = residuals >% results(eq).yhat = predicted values >% results(eq).y = actual values >% results(eq).sige = e'e/(n-k) >% results(eq).rsqr = r-squared >% results(eq).rbar = r-squared adjusted >% results(eq).boxq = Box Q-statistics >% results(eq).ftest = Granger F-tests >% results(eq).fprob = Granger marginal probabilities' > >... > >'results.nobs = nobse; >results.neqs = neqs; >results.nlag = nlag;' > >Is that supposed to be correct? If not, how to circumvent it? > > >***************************************************** > >I see this too: > >error: >/home/Järjestelmänvalvoja/octave_files/octave-forge-2004.11.16/extra/grac >eplot/__grclf__.oct is not a valid shared library >error: `__grclf__' undefined near line 29 column 3 >error: called from `clf' in file >`/home/Järjestelmänvalvoja/octave_files/octave- >forge-2004.11.16/extra/graceplot/alternatives/clf.m' >error: evaluating switch command near line 31, column 1 > >************************************** > >I think I've seen a complaint of 'fopen' mode but at the moment I can't >find it. > I reinstalled, reinstalled and reinstalled the before mentioned versions with trial and error process on cygwin and now it seems to work much better even if I see occasional errors but now they might be genious bugs. Install first ATLAS. Use only ./configure in octave-forge-2004.11.16 INSTALL.WINDOWS in octave-forge-2004.11.16 seems to be a good source of trouble in cygwin. At least if you don't know what the instructions mean. 'A little bit of knowledge is a dangerous thing.' effect is in work here. I think Octave Forge might be less dangerous if it were packaged with NOINSTALL defaults. I was looking for MATLAB-compatility there but I suspect that I have installed some broken pieces too in the process, which I haven't noticed yet. Hopefully I can continue in my ignorance. fopen is slightly incompatible. MATLAB's fopen('file.name','wr'); causes internal error in Octave. I replaced it with fopen('file.name','w'); . Octave Forge's ./configure assumes that the previous attempt of installation has not broken Octave completely which is a realistic scenario. Well, ./configure works somehow even if Octave is slightly broken. _________________________________________________________________ Play online games with your friends with MSN Messenger http://messenger.msn.nl/ ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------