From: Alan W. I. <ir...@be...> - 2003-02-25 18:42:11
|
Fresh checkout today at 17:09 UTC (there have been two commits since, but they are only concerned with docbook). ./configure --prefix=/usr/local/plplot_at --with-double --enable-dyndrivers --enable-octave --enable-gnome --enable-ntk --enable-java --with-www-user=airwin > & ! configure.out gives the following message: checking for octave... yes error: structure has no member localoctfiledir' error: evaluating expression error: evaluating argument list element number 2 error: evaluating index expression near line 2, column 9 Although this message says error, the configuration continued without problems afterward, and I was also able to build and install everything without any obvious error message. However, later I ran plplot-test.sh in the installed examples area and there were severe octave problems. I therefore looked closer at the make install output, and I found this command was executed: /usr/bin/install -c plplot_octave-libdir.oct \ /usr/local/plplot_at//plplot_octave.oct So clearly, plplot_octave.oct is being installed in the wrong place (probably something to do with the above configuration error message). Rafael, if you cannot confirm the configure error message, please try again using octave-2.0.16.92-7 from Debian woody. It is probably best to always check your changes with that version since Joao has stated within the last few months that it is important to continue support for octave-2.0.16. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |
From: Rafael L. <lab...@ps...> - 2003-02-25 20:30:20
|
* Alan W. Irwin <ir...@be...> [2003-02-25 10:40]: > Fresh checkout today at 17:09 UTC (there have been two commits > since, but they are only concerned with docbook). > > ./configure --prefix=/usr/local/plplot_at --with-double --enable-dyndrivers > --enable-octave --enable-gnome --enable-ntk --enable-java > --with-www-user=airwin > & ! configure.out > > gives the following message: > > checking for octave... yes > error: structure has no member localoctfiledir' > error: evaluating expression > error: evaluating argument list element number 2 > error: evaluating index expression near line 2, column 9 The localoctfiledir has been introduced in octave 2.1. Sorry for not testing my changes with Octave 2.0. IMHO, we should not insist in supporting Octave 2.0. The 2.1 series is fully stable and I frequently hear in of Octave users mailing lists that 2.0 should be abandoned. However, I will try to find a fix to have the configuration working with Octave 2.0 (here we go: more cruft in confiugre.ac ...) -- Rafael |
From: Alan W. I. <ir...@be...> - 2003-02-25 21:58:27
|
On Tue, 25 Feb 2003, Rafael Laboissiere wrote: > The localoctfiledir has been introduced in octave 2.1. Sorry for not > testing my changes with Octave 2.0. IMHO, we should not insist in > supporting Octave 2.0. The 2.1 series is fully stable and I frequently hear > in of Octave users mailing lists that 2.0 should be abandoned. I just checked and RH7.3 and 8.0 use octave 2.1, but Debian woody does not. Although that is my distribution, I don't care since supporting old versions is often more trouble than it is worth. If we decide not to support octave 2.0, then we should put in a configuration test for octave version. Debian woody tarball users (probably a pretty small group of users) who want octave can always download the latest version. > > However, I will try to find a fix to have the configuration working with > Octave 2.0 (here we go: more cruft in confiugre.ac ...) I would wait to see what Joao says before you make these changes. He may have changed his mind by now about supporting 2.0, and I certainly don't mind if we insist on 2.1 by the appropriate octave version test in our configuration. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |
From: Rafael L. <lab...@ps...> - 2003-02-25 22:52:08
|
* Alan W. Irwin <ir...@be...> [2003-02-25 13:56]: > I would wait to see what Joao says before you make these changes. He may > have changed his mind by now about supporting 2.0, and I certainly don't > mind if we insist on 2.1 by the appropriate octave version test in our > configuration. Too late. The change is done and CVS committed. I tested it with Octave 2.0 and it works fine here. Could you test it again, please? -- Rafael |
From: Alan W. I. <ir...@be...> - 2003-02-26 16:03:47
|
On Tue, 25 Feb 2003, Rafael Laboissiere wrote: > I tested it with Octave > 2.0 and it works fine here. Could you test it again, please? Just tried that with fresh checkout including your recent docbook fix, and there are still problems. 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 error: evaluating index expression near line 922, column 10 error: evaluating assignment expression near line 922, column 8 error: called from plgstrm' error: evaluating argument list element number 1 error: called from figure' in file /usr/local/plplot_at/share/plplot_octave/figure.m' Apparently octavedir is set wrong for your new install location. If I attempt to fix that problem in the local script file using octavedir=/usr/local/plplot_at/lib/octave/site/oct/i386-pc-linux-gnu/:/usr/local/plplot_at/lib/plplot5.2.0/data/../examples/octave then the following error results: ./plplot-test.sh --front-end=octave error: plplot_stub' undefined near line 1 column 1 error: evaluating expression near line 1, column 1 I suspect an additional directory is needed for octavedir, but which one? Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |
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 |
From: Joao C. <jc...@fe...> - 2003-02-25 23:54:15
|
On Tuesday 25 February 2003 18:40, Alan W. Irwin wrote: > Fresh checkout today at 17:09 UTC (there have been two commits > since, but they are only concerned with docbook). > > ./configure --prefix=3D/usr/local/plplot_at --with-double --enable-dynd= rivers > --enable-octave --enable-gnome --enable-ntk --enable-java > --with-www-user=3Dairwin > & ! configure.out > > gives the following message: > > checking for octave... yes > error: structure has no member localoctfiledir' > error: evaluating expression > error: evaluating argument list element number 2 > error: evaluating index expression near line 2, column 9 > > Although this message says error, the configuration continued without > problems afterward, and I was also able to build and install everything > without any obvious error message. > > However, later I ran plplot-test.sh in the installed examples area and > there were severe octave problems. I therefore looked closer at the ma= ke > install output, and I found this command was executed: > > /usr/bin/install -c plplot_octave-libdir.oct \ > /usr/local/plplot_at//plplot_octave.oct > > So clearly, plplot_octave.oct is being installed in the wrong place > (probably something to do with the above configuration error message). > > Rafael, if you cannot confirm the configure error message, please try a= gain > using octave-2.0.16.92-7 from Debian woody. It is probably best to alw= ays > check your changes with that version since Joao has stated within the l= ast > few months that it is important to continue support for octave-2.0.16. I still think that we must support octave-2.0.16/17, as that is the *offi= cial=20 stable* release. Even if RH ships a 2.1 version, which means nothing -- R= H=20 also shipped a non-existent gcc version, what caused a lot of problems to= its=20 users. There are a *lot* of improvements in plplot_octave that could be done if = we=20 stick to the 2.1.x series, but I don't think that to be wise, as there is= =20 many people still using 2.0.16 -- that's enough to read the octave mailii= ng=20 lists to understand that. I don't have time in the next weeks to do anything for plplot. Joao > > Alan > __________________________ > Alan W. Irwin > email: ir...@be... > phone: 250-727-2902 > > Astronomical research affiliation with Department of Physics and Astron= omy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the Canadian Centre for Climate Modelling= and > Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting > software package (plplot.org). > > __________________________ > > Linux-powered Science > __________________________ > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel |