I have just completed some additional testing for the release (all with
the -DENABLE_ada=ON -DBUILD_TEST=ON options and all with my specially built
pango/cairo stack which includes python but not Numpy so the python part
of the testing was automatically turned off).

I tested three different configurations on my Debian testing platform.

(1) default (which corresponds to -DENABLE_DYNDRIVERS=ON,
-DBUILD_SHARED_LIBS=ON)

(2) -DENABLE_DYNDRIVERS=OFF, -DBUILD_SHARED_LIBS=ON

(3) -DENABLE_DYNDRIVERS=OFF, -DBUILD_SHARED_LIBS=OFF
N.B. this case excludes testing of java, octave, (and python) because they
require shared libraries.  Also, for this case the compiled examples are
large (2.2M each) since the libplplot code (including device code) is 
embedded in each separately compiled example.

For cases (1) and (2), the build-tree build and the installed examples build
showed no warnings except the known extensive warning issues with the java
examples for my gcj/gij case.  Thanks, Andrew, for your recent extensive
work on getting rid of all those warnings!

For case (3) some additional warnings occurred for
bindings/tk/plframe.c:2648 and drivers/tk.c:1453 (repeated more than 100
times for some reason) with the message

tmpnam is dangerous, better use mkstemp

Is this large set of warnings easy to fix?

For case (3) there was also an install-tree build error for wxPLplotDemo
with the following message:

/home/software/plplot_cvs/installcmake/lib/libplplotd.a(wxwidgets.o): In
function wxCreateApp()':
/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/wxwidgets.cpp:366:
multiple definition of wxCreateApp()'

Werner, I suspect the problem is you use wxCreateApp() as part of #define
IMPLEMENT_PLAPP_NO_MAIN(appname), but that (somehow?) conflicts with use of
this function in #define IMPLEMENT_APP_NO_MAIN(appname) in
/usr/include/wx-2.6/wx/app.h.  However, I am no expert at such deep (at
least for me) C++ questions, and it could be something else.  Anyhow, could
you please fix this problem for the -DBUILD_SHARED_LIBS=OFF case?

ctest and install tree tests worked fine for all cases except for the known
segfault issues for psttfc for two of our examples for my particular set
of installed fonts.  For the install-tree tests, I exercised
plplot-test.sh (which in turn exercises various non-interactive devices) and
also did a number of interactive tests of -dev tk, -dev gcw, the gnomecanvas
examples, and the wxPLplotDemo example.  All seems well.  This success was
despite the tremendous complexity of linking when all devices are part of
our core library for configurations (2) and (3) above.  To illustrate this
complexity, here is the ldd result for our core library for configuration (2).

        linux-vdso.so.1 =>  (0x00007fffd35fd000)
        libpangocairo-1.0.so.0 => 
/home/software/pango_stack/install/lib64/libpangocairo-1.0.so.0 
(0x00002ba2d78f0000)
        libpango-1.0.so.0 => 
/home/software/pango_stack/install/lib64/libpango-1.0.so.0 (0x00002ba2d7afb000)
        libcairo.so.2 => /home/software/pango_stack/install/lib64/libcairo.so.2 
(0x00002ba2d7d3e000)
        libgobject-2.0.so.0 => 
/home/software/pango_stack/install/lib64/libgobject-2.0.so.0 
(0x00002ba2d7fbb000)
        libgmodule-2.0.so.0 => 
/home/software/pango_stack/install/lib64/libgmodule-2.0.so.0 
(0x00002ba2d81fe000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002ba2d8413000)
        libglib-2.0.so.0 => 
/home/software/pango_stack/install/lib64/libglib-2.0.so.0 (0x00002ba2d8617000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00002ba2d88e2000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00002ba2d8aea000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002ba2d8d05000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002ba2d8f0f000)
        libgnomeprintui-2-2.so.0 => /usr/lib/libgnomeprintui-2-2.so.0 
(0x00002ba2d9020000)
        libgnomeprint-2-2.so.0 => /usr/lib/libgnomeprint-2-2.so.0 
(0x00002ba2d9266000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00002ba2d93d8000)
        libgnomecanvas-2.so.0 => /usr/lib/libgnomecanvas-2.so.0 
(0x00002ba2d95ef000)
        libxml2.so.2 => /home/software/pango_stack/install/lib64/libxml2.so.2 
(0x00002ba2d9824000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x00002ba2d9b65000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00002ba2d9c7c000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00002ba2da234000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00002ba2da4cc000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 
(0x00002ba2da6ed000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002ba2da907000)
        libgd.so.2 => /usr/lib/libgd.so.2 (0x00002ba2dab85000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00002ba2dadca000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00002ba2dafee000)
        libtcl8.5.so.0 => /usr/lib/libtcl8.5.so.0 (0x00002ba2db211000)
        libtk8.5.so.0 => /usr/lib/libtk8.5.so.0 (0x00002ba2db520000)
        libLASi.so.0 => /home/software/lasi_svn/install/lib/libLASi.so.0 
(0x00002ba2db85e000)
        libpangoft2-1.0.so.0 => 
/home/software/pango_stack/install/lib64/libpangoft2-1.0.so.0 
(0x00002ba2dba71000)
        libwx_gtk2u_core-2.6.so.0 => /usr/lib/libwx_gtk2u_core-2.6.so.0 
(0x00002ba2dbca3000)
        libwx_baseu-2.6.so.0 => /usr/lib/libwx_baseu-2.6.so.0 
(0x00002ba2dc226000)
        libm.so.6 => /lib/libm.so.6 (0x00002ba2dc56f000)
        libcsirocsa.so.0 => 
/home/software/plplot_cvs/installcmake/lib/libcsirocsa.so.0 (0x00002ba2dc7f0000)
        libcsironn.so.0 => 
/home/software/plplot_cvs/installcmake/lib/libcsironn.so.0 (0x00002ba2dc9f9000)
        libqhull.so.5 => /usr/lib/libqhull.so.5 (0x00002ba2dcc04000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002ba2dce56000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002ba2dd161000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002ba2dd379000)
        libc.so.6 => /lib/libc.so.6 (0x00002ba2dd594000)
        libfontconfig.so.1 => 
/home/software/pango_stack/install/lib64/libfontconfig.so.1 (0x00002ba2dd8f2000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002ba2ddb27000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00002ba2ddd30000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002ba2dde33000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00002ba2ddf38000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00002ba2de03a000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00002ba2de243000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00002ba2de44b000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00002ba2de655000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00002ba2de857000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00002ba2de95a000)
        libgailutil.so.18 => /usr/lib/libgailutil.so.18 (0x00002ba2dea5f000)
        libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00002ba2dec68000)
        libXss.so.1 => /usr/lib/libXss.so.1 (0x00002ba2dee79000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x00002ba2def7d000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002ba2df090000)
        libgthread-2.0.so.0 => 
/home/software/pango_stack/install/lib64/libgthread-2.0.so.0 
(0x00002ba2df2b4000)
        librt.so.1 => /lib/librt.so.1 (0x00002ba2df4b8000)
        libtiff.so.4 => /usr/lib/libtiff.so.4 (0x00002ba2df6c1000)

That's a hell of a lot of libraries that are referenced by our core library
when the device drivers become part of that core library.  It's amazing our
build system works at all for the complex linking conditions for
configurations (2) and (3)!

Note the references to the special install locations for my system

/home/software/pango_stack/install/lib64/
/home/software/lasi_svn/install/lib/
/home/software/plplot_cvs/installcmake

which are all handled properly and automatically with rpath.

I have been pleasantly surprised by these mostly good test results since it
has been a while since I have looked at configurations (2) and (3) above or
done any interactive testing.

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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to