On 2016-03-17 08:57-0000 Arjen Markus wrote: > Hi Alan, > > > >> -----Original Message----- >> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] >> >> Ib. disabling octave >> >> There has been no recent PLplot work on the octave binding so you may have to >> keep that disabled. It appears that the octave-devel-4.0.0-3 package is >> available >> for Cygwin. Does that work or is there some incompatiblity with that >> version of >> octave? I am virtually positive I have asked this question before, but I >> don't >> remember the answer, and hopefully you can just refer to notes to supply me >> with >> the answer rather than having to run a special octave test. >> > TRY_OCTAVE4=ON leads to the following problems: > > - If an X server is available, some Octave GUI is started and the whole > process hangs. I do not see a screen from that GUI, instead the X server > itself is unresponsive. So I had to turn that off. > > - If no X server is available, the process continues and builds fine. > However, the Octave examples cause problems, UTF8 characters are malformed. > So the tests are aborted at that point. > > I have attached the tar file with all the details.
Hi Arjen: Thanks for that report tarball for your octave try. I had forgotten that TRY_OCTAVE4=ON was needed to attempt to use octave-4. But a search back through all my e-mails that mention TRY_OCTAVE4 shows that I could historically use that option to build the Octave binding of PLplot against epa-built octave-4 without any noticeable issues if I used an epa-built swig-3.0.6 that had Orion's octave-4 swig patch applied. From <http://www.swig.org/Release/RELEASENOTES> that patch got into swig-3.0.7. Your Cygwin version of swig is 3.0.7 which is why you did not have to apply that patch in order to also obtain a good build result. With regard to run-time issues, my (historical) attempt to use the Octave-4 binding of PLplot all failed with immediate segfaults. So I gave up on TRY_OCTAVE4=ON at that time. But from your report tarball you got through most of the octave examples before you ran into UTF-8 problems. So that is hugely encouraging and likely indicates my segfault problems were due to a problem with epa-built octave-4 (either inherent in that epa_build configuration or else due to some incompatibility between that build and the old set of system libraries I was using at the time). So in a week or so when I will have a bit more time, I plan to try some more TRY_OCTAVE4=ON experiments here (with a more modern set of system library dependencies of octave) to see how far I get. If I can get as far as you did, then there is a fairly good chance I can solve the utf-8 issues you encountered for octave-4 since I am the author of the special utf-8 handling required for octave-3. N.B. while waiting to see whether I can solve that utf-8 issue, you should not have to disable octave in the current brute-force way. Instead, simply refrain from specifying TRY_OCTAVE4=ON, and because octave-3 is not available for Cygwin, our build system should automatically disable octave in a nice way with informative message. <aside> It turns out that nobody has yet packaged octave (either version 3 or 4) for MinGW-w64/MSYS2. So because octave-3 is unavailable for that platform, our build system should automatically disable octave in a nice way with (again) no need to brute force the disablement of octave. </aside> Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel