I have repeated my tests with a 64-bit Ubuntu Ibex system (the new
release). Cmake options were
  -DHAVE_PTHREAD=ON -DBUILD_TEST=ON -DHAVE_ADA_2007
 
Everything builds and runs fine, provided I set JAVA_HOME to find jni.h.
This includes tcl (no longer need to set ITCL_LIBRARY) and psttf (latest
version of lasi now available as a package). The only thing missing is
PDL (I don't have it installed).

Ctest results: Example 19 missing from java, octave, python and tcl
(known issue - hard to work around). All results agree except for tcl
examples 11, 20 and 21. Note this is a better result than Ubuntu Hardy,
32-bit. Maybe it is a software version issue - maybe 32/64-bit issue.

Install proceeds fine. I've found two further bugs in the install tree
related to building and testing examples.

1) the PATH is not set correctly to point to the install tree bin
directory (exec_prefix is not set) so either pltcl is not found, or the
wrong version is picked up.

2) examples/Makefile.examples does not include ocaml in the list of
directories to build.

Both are now fixed in svn.

Andrew

On Thu, Nov 27, 2008 at 09:36:46PM +0000, Andrew Ross wrote:
> 11
> Alan,
> 
> I've also tried the latest svn version with -DHAVE_PTHREAD=ON
> -DBUILD_TEST=ON -DBUILD_DOC=ON on my Ubuntu Hardy system. Enabled
> drivers and bindings are the same as Alan, except that I don't have
> PDL/perl enabled. The -fvisibility=hidden option was added to the
> gcc / g++ command line. All code (including documentation) builds. There
> are some warnings for the Ada documentation. Ctest runs fine and results
> agree with Alan. 
> 
> I also have a problem with tcl. I have tcl 8.5 installed but this 
> doesn't come with itcl so the bindings won't build. Removing all 
> references to 8.5 from cmake/modules/FindTCL.cmake and it
> does work (I also have tcl 8.4 + itcl installed). This is a bit of a
> pain, but I'm not sure there is a neat workaround except setting lots of
> cmake variables explicitly on the cmake command line. 
> 
> I've also built and tested all the examples in the install tree. The
> only issue I found is that the ocaml examples don't run. test_ocaml.sh
> assumes the examples are x??ocaml, as in the build tree, but the
> Makefile generates x?? executables. I'll try and fix this up tomorrow,
> unless anyone beats me to it.
> 
> Otherwise looks good for a release so far.
> 
> Andrew
> 
> On Thu, Nov 27, 2008 at 10:49:50AM -0800, Alan Irwin wrote:
> > My initial pre-release testing (currently of revision 9023) has been done
> > with cmake-2.6.2 (my first use of this version of cmake) with default cmake
> > device-driver and bindings options except for -DBUILD_TEST=ON
> > -DHAVE_PTHREAD=ON -DENABLE_pdl=ON -DHAVE_ADA_2007=ON.  My system is
> > Debian Lenny (testing) with all possible PLplot dependencies installed.
> > 
> > Here is the CMake summary that resulted:
> > 
> > ENABLE_DYNDRIVERS:      ON
> > DRIVERS_LIST:
> > cairo;gd;gcw;hpgl;mem;null;pbm;ps;psttf;svg;tk;tkwin;wxwidgets;xfig;xwin
> > DEVICES_LIST:
> > pdfcairo;pngcairo;pscairo;svgcairo;xcairo;gif;jpeg;png;gcw;hp7470;hp7580;lj_hpgl;mem;null;pbm;ps;psttf;svg;tk;tkwin;wxwidgets;xfig;xwin
> > 
> > Library options:
> > BUILD_SHARED_LIBS:      ON              PL_DOUBLE:      ON
> > 
> > Optional libraries:
> > HAVE_QHULL:             ON              WITH_CSA:       ON
> > HAVE_FREETYPE:          ON              HAVE_PTHREAD:   ON
> > HAVE_AGG:               ON
> > 
> > Language Bindings:
> > ENABLE_f77:             ON              ENABLE_f95:             ON
> > ENABLE_cxx:             ON              ENABLE_java:            ON
> > ENABLE_python:          ON              ENABLE_octave:          ON
> > ENABLE_tcl:             ON              ENABLE_itcl:            OFF
> > ENABLE_tk:              ON              ENABLE_itk:             OFF
> > ENABLE_pdl:             ON              ENABLE_wxwidgets:       ON
> > ENABLE_gnome2:          ON              ENABLE_pygcw:           ON
> > ENABLE_ada:             ON              ENABLE_d: 
> > ENABLE_ocaml:           ON
> > 
> > IOW, I test all aspects of the default devices and bindings available on
> > Linux except for PLD_cgm (libcd not installed) and iTcl/iTk (not available
> > on my Debian testing system).
> > 
> > The build (done in parallel with -j3 for my Intel core duo system), install,
> > and ctest were done without obvious errors.  Here are the ctest compare
> > results:
> > 
> > c++
> >    Missing examples   :
> >    Differing examples : 
> > f77
> >    Missing examples   :
> >    Differing examples : 
> > f95
> >    Missing examples   :
> >    Differing examples : 
> > java
> >    Missing examples   :  19
> >    Differing examples : 
> > octave
> >    Missing examples   :  19
> >    Differing examples : 
> > python
> >    Missing examples   :  19
> >    Differing examples : 
> > tcl
> >    Missing examples   :  19
> >    Differing examples :  11 13 15 16 20
> > perl
> >    Missing examples   :  20 27 28 29 30
> >    Differing examples :  02 08 21 23
> > ada
> >    Missing examples   :
> >    Differing examples : 
> > ocaml
> >    Missing examples   :
> >    Differing examples :
> > 
> > 
> > Perl/PDL has externally implemented bindings being maintained by Doug Hunt,
> > one of our internal developers. Those bindings are currently missing some
> > API required for example 20.  Therefore, I have dropped that implemented
> > example from the test list. Presumably some/all of the unimplemented
> > examples 27 through 30 for Perl/PDL will also require some bindings
> > improvements from Doug.  Thus, if anyone decides to implement those examples
> > they should work closely with Doug on the bindings issues.  I don't think we
> > should delay the release over these issues, but it "would be nice" if the
> > external Perl/PDL bindings and our internal Perl/PDL examples were updated
> > before our release, and I would certainly be willing to test at short notice
> > any new version of the PDL bindings for PLplot that Doug comes up with.
> > 
> > The issues with the missing example 19 for some bindings and the differing
> > Tcl issues are long-standing issues which we cannot fix.
> > 
> > Thus, aside from Perl/PDL the initial testing results look good.
> > 
> > I plan to expand substantially on these tests before our release including
> > install-tree tests (both non-interactive and interactive), and tests of
> > shared library/static devices, and static library/static devices. For now I
> > am happy there are no obvious cmake-2.6.2 issues and everything is working
> > aside from the known issues discussed above.
> > 
> > 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); PLplot scientific plotting software
> > package (plplot.org); 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
> > __________________________
> > 
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> > Build the coolest Linux based applications with Moblin SDK & win great 
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Plplot-devel mailing list
> > Plplot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/plplot-devel
> > 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
> 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to