Two issues arose trying to build plplot with octave 3.6.0:
- octave needs to be passed "--no-window-system" if DISPLAY is not set, which I need to due when building the fedora package. The attached patch allows me to set the $otaveopts variable to do this.
- split has now be removed from octave in favor of strsplit: 6: error: `split' undefined near line 3 column 5I believe this has been raised before but was decided to stay with split at the time for octave 3.0 support. Octave 3.0 is still in EPEL 5, though no idea who is using that, and in our case we won't be building a newer plplot in EPEL 5 anyway.
-- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder Office FAX: 303-415-9702 3380 Mitchell Lane or...@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com
diff -up plplot-5.9.9/plplot_test/test_octave.sh.in.octave plplot-5.9.9/plplot_test/test_octave.sh.in --- plplot-5.9.9/plplot_test/test_octave.sh.in.octave 2011-10-12 18:43:01.000000000 -0600 +++ plplot-5.9.9/plplot_test/test_octave.sh.in 2012-01-16 08:29:46.551852247 -0700 @@ -35,7 +35,7 @@ echo "$TOPDIR" export LD_LIBRARY_PATH="$TOPDIR"/src:"$TOPDIR"/lib/csa:"$TOPDIR"/lib/nn # Launch an Octave script that exercises all the demos -$octave -f -q -p "$octavedir" <<EOF 2> test.error +$octave -f -q $octaveopts -p "$octavedir" <<EOF 2> test.error # Check verbose_test variable if (strcmp(getenv("verbose_test"),"on") == 1)
------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel