On 2011-11-24 18:04-0800 Alan W. Irwin wrote:

> My remaining ToDo list for this project is to complete Orion's list of
> libraries (i.e., do the NON_TRANSITIVE implementation for
> libplplotwxwidgetsd and libplplotqtd); fix the now broken static build
> (by adding the --static option to pkg-config in that case) for the
> traditional installed examples tree; and do a comprehensive test with
> -DNON_TRANSITIVE=ON to fill in any tests that were missed by my
> limited and piece-meal testing of my NON_TRANSITIVE changes as I went
> along.

With one exception (the comprehensive test for the static build case)
I have completed the above as of revision 12055.  Therefore, please
test (for the -DENABLE_DYNDRIVERS=OFF and also default
-DENABLE_DYNDRIVERS=ON cases) with recent Linux distros such as Fedora
or Debian unstable to find and resolve any shared library linking
issues missed by the slack and lazy linker on my Debian stable
platform.

Some complications arose in the static build case that can be resolved
by forcing CMake to search for and only use static external libraries
to be consistent with what pkg-config does in the --static case for
the traditional build system for the installed examples. Forcing CMake
to use static external libraries is also a desired outcome for the
case where users want to install binary versions of PLplot without
worrying about library dependencies.

Therefore with revision 12055, I have implemented an experimental
(with default OFF) FORCE_EXTERNAL_STATIC option which only partially
works at this time to force external libraries to be static for the
UNIX case by demanding all external libraries have the ".a" suffix.  I
think I know what the problem is (I have to use the "_STATIC" version
of all variables returned by the CMake pkg-config module for this
case) so with some luck I can make this completely work on Unix.
According to CMake list traffic I have reviewed, currently there is no
reliable way to get CMake to force use of static external libraries in
the Windows case so for the forseeable future the
FORCE_EXTERNAL_STATIC will only be a UNIX option for our build system.

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
__________________________

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to