On 2006-01-09, Viv Kendon wrote:
> On Mon, 9 Jan 2006, Corey Halpin wrote:
> > Does
> > fink install gsl gsl-shlibs
> > fink remove octave-forge
> > fink rebuild octave-forge
> >
> > fix it?
> 
> Nope, no surprise there.  It fixes the missing stuff in 
> octave-forge, I think I now have the same amount (size of 
> files) as the others reported.  But I still get the errors 
> from octave just the same.  Now...the first error (on 
> starting octave) is with processing some octave-forge stuff:
 
  Yeah, I didn't think that it would.  But it would have been nice.  :-)

  Can you run
  octave -x | tee oct.log
  and send the result?  That will let us know what commands octave is trying 
to run, not just what fails.

> error: `dispatch' undefined near line 2 column 1
> error: near line 2 of file 
> `/sw/share/octave/2.1.71/site/m/octave-forge/comm//PKG_ADD'
> error: source: error sourcing file 
> `/sw/share/octave/2.1.71/site/m/octave-forge/comm//PKG_ADD'
> 
> but "dispatch" is not part of octave-forge, right?  And the 
> other example commands that fail, like
 
  dispatch is a part of octave itself.
calvin:~$ find /sw/lib/octave -name \*dispatch\*
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/dispatch.oct
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/dispatch_help.oct

> octave:1> b=rand(3,3)
> error: `rand' undefined near line 1 column 3
> error: evaluating assignment expression near line 1, column 
> 2
 
  rand is also a part of octave itself, however octave-forge ships an enhanced 
version: 
calvin:~$ find /sw/lib/octave -name \*rand\*
/sw/lib/octave/2.1.71/oct/powerpc-apple-darwin/rand.oct
/sw/lib/octave/2.1.71/oct/powerpc-apple-darwin/randn.oct
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/rand.oct
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/rande.oct
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/randg.oct
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/randn.oct
/sw/lib/octave/2.1.71/site/oct/powerpc-apple-darwin/octave-forge/randp.oct

> aren't either??  So...there is still something wrong with my 
> copy of octave...where should I find something related to 
> "dispatch" or "rand" that I could check??
 
  Have you tried just doing
  fink remove octave-forge

  Then running the example code?  That would help determine if the problem is 
octave related, octave-forge related, or some strange interaction.

crh


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to