From: Rafael L. <lab...@ps...> - 2003-02-26 19:58:13
|
* Alan W. Irwin <ir...@be...> [2003-02-26 08:02]: > configure and make are okay, but in the installed examples directory > please try the following: > > ./plplot-test.sh --front-end=octave > > error: plplot_octave' undefined near line 922 column 10 This works in my Debian installation, because the Octave goes into standard locations (i.e. I use --prefix=/usr). That is the reason I never went accros this bug. Below is the (untested) patch that should fixes the problem: --- plplot-test.sh.in-orig 2003-02-26 19:14:24.000000000 +0100 +++ plplot-test.sh.in 2003-02-26 19:20:04.000000000 +0100 @@ -39,7 +39,7 @@ export pythondir tcldir=tcl export tcldir -octavedir=@prefix@/share/plplot_octave//:@prefix@/@DATA_DIR@/../examples/octave +octavedir=@PLPLOT_OCTAVE_DIR@//:@OCTAVE_M_DIR@//:@OCTAVE_OCT_DIR@//:@prefix@/@DATA_DIR@/../examples/octave//: export octavedir installbindir=@prefix@/bin export installbindir --- test_octave.sh-orig 2003-02-26 19:16:24.000000000 +0100 +++ test_octave.sh 2003-02-26 19:19:42.000000000 +0100 @@ -7,7 +7,7 @@ # WARNING, 'octave' can be defined at 'configure' time, to # allow for different installed versions. (work in progress) -octave -f -q -p $octavedir//: <<EOF +octave -f -q -p $octavedir <<EOF plplot_stub; t = split("$options", "-"); t(1,:)=""; for i=1:rows(t) Test it please, Alan. I have to change something in use_plplot.m in order to have it working in non-standard installation, but this is another story. -- Rafael |