On Thu, Mar 12, 2009 at 10:35:28AM -0600, Deis, Robert CTR MDA/DES wrote:
> Classification:  UNCLASSIFIED 
> Caveats: NONE
> 
> 
> I am building plplot 5.9.0 on two RedHat Enterprise linux systems, IA64
> Enterprise 4, and x86_64 Enterprise 5.
> 
> I am able to build and link executables using plplot *.so libraries
> installed as system level libraries.
> 
> However, for a number of reasons, my system strongly prefers tightly
> controlled static libraries to shared objects. Instead of using plplot
> shared objects installed in system level /usr/lib directories, they want to
> control the plplot package within an SVN repository and include the library
> directories and static library files as SVN external objects attached to the
> applications that need it.
> 
> Can I configure plplot to build only static lib*.a libraries and no shared
> object libraries to support this requirement?
> 
> If so, what options should I feed to Cmake to accomplish this?
> 
> Thanks!

Robert,

The options you are looking for are

BUILD_SHARED_LIBS:BOOL=ON - build shared libraries (ON) or static
libraries (OFF)

ENABLE_DYNDRIVERS:BOOL=ON - build device drivers as dynamically
loaded plugins (ON) or as part of the PLplot core C library (OFF) 

which enable / disable shared libraries and dynamically loaded
device drivers. Turning both of these to OFF should do what you
want. 

By the way the plplot wiki
http://www.miscdebris.net/plplot_wiki/index.php
is a useful source of information on these (and many other)
topics related to building and using plplot on different
platforms. 

Andrew

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to