From: Alan W. I. <ir...@be...> - 2004-04-04 16:49:45
|
On 2004-04-04 07:45-0700 ooOoo wrote: > > Thanks very much for the tips and helpful > explanations. > The following older message was also quite > informative: > > http://sourceforge.net/mailarchive/message.php?msg_id=6293797 > > In case others have a need to make the occasional > stand-alone program for friends, I will post what > worked for me (note that I have been slow to make good > use of pkg-config to manage libraries). > > ============================================================= > > 1. I created a separate plplot-5.3.0 installation just > > for static linking. > > I turned off everything I did not need by editing > configure. Here are the options I used: > > with_debug=no with_opt=yes with_double=no > with_profile=no with_warn=no with_pkgdir= > with_rpath=yes with_nobraindead=no with_csa=no > with_freetype=no with_qhull=no > with_pthreads=no with_ltdlsystem=no > > enable_shared=no enable_drivers=yes > enable_dyndrivers=no > enable_f77=yes enable_cxx=yes > enable_python=no > enable_tcl=no enable_itcl=no enable_java=no > enable_octave=no enable_gnome=no enable_ntk=no > enable_tkwin=no enable_png=no enable_jpeg=no > enable_cgm=no enable_tk=no > enable_xwin=yes > > enable_ljii=yes enable_ljiip=yes enable_pbm=yes > enable_ps=yes enable_pstex=yes > enable_xfig=yes > One amendment I would suggest. Try ./configure --help to see the easy way to set all the above options without having to edit the configure script. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |