Compile all components in a temporary build location, then install "in place" into the version locker. To build on Suns: Add gnuplot_v4.2. Put /mit/gnuplot_v4.2/lib:/usr/athena/lib:/mit/gcc-4.0/arch/SunOS/go-SunOS-2007-02-17-212713/lib:/usr/sfw/lib on LD_LIBRARY_PATH, add /mit/gnuplot_v4.2/bin to path. Set LD_RUN_PATH to /mit/gnuplot_v4.2/lib Set LDFLAGS to "-L/mit/gnuplot_v4.2/lib -L/usr/athena/lib -L/usr/sfw/lib", CPPFLAGS to "-I/mit/gnuplot_v4.2/include -I/usr/athena/include -I/usr/sfw/include", PKG_CONFIG_PATH to /mit/gnuplot_v4.2/lib/pkgconfig. Do add -f gcc-4.0, set F77 to gfortran. Build: gd-2.0.34.tar Hide the following in /usr/athena/lib, and replace .la files with links back to locker location (like: libglib-2.0.la -> /mit/gnuplot_v4.2/lib/libglib-2.0.la): libglib-2.0* libgmodule-2.0* libgobject-2.0* libgdk-x11-2.0* libgtk-x11-2.0* libgdk_pixbuf-2.0* libpango-1.0* libpangoft2-1.0* libpangox-1.0* libpangoxft-1.0* and hide the following in /usr/lib: libglib-2.0* libgmodule-2.0* libgobject-2.0* libpango-1.0* libgdk_pixbuf-2.0* libgdk-x11-2.0* libgtk-x11-2.0* libpangoft2-1.0* libpangox-1.0* libpangoxft-1.0* Build, in order: glib-2.8.6.tar with ./configure --prefix=/mit/gnuplot_v4.2 --with-libiconv=gnu gmake gmake install cairo-1.4.0.tar pango-1.10.4.tar gtk+-2.8.9.tar wxWidgets-2.8.0.tar plotutils-2.4.1.tar with ./configure --prefix=/mit/gnuplot_v4.2 gmake gmake install Copy old pdflib .h and libs from gnuplot_v4.0 locker- it won't compile anymore on Suns. ./configure --prefix=/mit/gnuplot_v4.2 Install gnuplot-4.2.0.tar with: ./configure --prefix=/mit/gnuplot_v4.2 --with-plot=/mit/gnuplot_v4.2/lib --with-gd --with-pdf=/mit/gnuplot_v4.2/lib --with-cwdrc --with-kpsexpand --with-lasergnu --with-x --enable-thin-splines --disable-wxwidgets Note: it crashes on trying to build the latter- release notes says it's "problematic" on Solaris. gmake gmake install ******************************************************************************* It prints configuration summary: gnuplot will be compiled with the following terminals: Standalone terminals: yes (always builtin) (aed512, aed767, aifm, bitgraph, cgm, corel, dumb, dxf, eepic, emf, emtex, epslatex, epson_180dpi, epson_60dpi, epson_lx800, fig, gpic, hp2623A, hp2648, hp500c, hpdj, hpgl, hpljii, hppj, imagen, kc_tek40xx, km_tek40xx, latex, metafont, metapost, mif, pbm, postscript, pslatex, nec_cp6, okidata, pcl5, pstex, pstricks, qms, regis, selanar, svg, starc, tandy_60dpi, tek40xx, tek410x, texdraw, tgif, tkcanvas, tpic, vttek) x11/xlib terminal: yes (with mouse support) (with multi-byte fonts) (with binary polygon protocol (EXPERIMENTAL)) jpeg terminal: yes gif terminal: yes (with animated gif) png terminal: yes (jpeg, gif and png terminals can use TTF fonts) pdf terminal: yes plot library terminal: yes (gnugraph - GNU version) linux terminal (vga console): no (use --with-linux-vga to enable, requires SVGAlib) vgagl terminal ((s)vga console): no (use --with-linux-vga to enable, requires SVGAlib with vgagl) ggi terminal: no (use --with-ggi to enable, requires libggi) iris4d terminal: no (use --enable-iris to enable, requires libgl_s) mgr terminal: no (use --enable-mgr to enable, requires libpixrect) rgip/uniplex terminal: no (use --enable-rgip to enable) svga terminal (MSDOS/djgpp): no be terminal (BeOS): no next terminal: no aqua terminal (MacOS X): no wxt terminal: no (requires C++, wxWidgets>2.6, cairo>0.9, pango>1.10) Additional terminals are availaible in platform-specific makefiles: amiga (makefile.amg and makefile.ami), apollo/gpr (makefile.unx), atari/vdi (makefile.st), cgi (makefile.unx), mtos (makefile.mto), pm (makefile.os2), sun (makefile.unx), unixpc (makefile.unx), windows (various Windows makefiles) Additional terminals are built automatically if possible at compile-time: vesa (MSDOS), emxvga (MSDOS, OS/2), ega/vga/svga/ssvga/hercules (Windows with Zortec compiler), macintosh gnuplot will be compiled with the following features: Fitting error variables: yes String-handling in datafiles: yes Plot style histograms: yes String variables: yes Command line macros: yes (EXPERIMENTAL) Placement of rectangles and other objects: yes (EXPERIMENTAL) Plot style image: yes (EXPERIMENTAL) General binary data file reading: yes (EXPERIMENTAL) gnuplot will be compiled with the following options: Readline library: GNU readline library with -lcurses Command-line history file: yes Check current directory for .gnuplot file: yes Sort help/subtopic tables by column: no (use --without-row-help to enable) Use TeX kpsexpand to search for fonts: yes Thin plate splines: yes Hidden3d optimization: quadtree Deprecated syntax and terminal options : yes gnuplot will install the following additional materials: lasergnu printer script: yes gnuplot-mode for X/Emacs: yes LaTeX tutorial: yes Help file: yes (always), in ${prefix}/share/gnuplot/4.2/gnuplot.gih PostScript prologue files: yes (always) ******************************************************************************* then copy over to /mit/gnuplot_v4.0 from build tree: demo, tutorial dirs. To build on Linux: Add gnuplot_v4.2. Put /mit/gnuplot_v4.2/lib on LD_LIBRARY_PATH, add /mit/gnuplot_v4.2/bin to path. Set LD_RUN_PATH to /mit/gnuplot_v4.2/lib Set LDFLAGS to "-L/mit/gnuplot_v4.2/lib -L/usr/athena/lib", CPPFLAGS to "-I/mit/gnuplot_v4.2/include -I/usr/athena/include", PKG_CONFIG_PATH to /mit/gnuplot_v4.2/lib/pkgconfig. Hide the following in /usr/athena/lib, and replace .la files with links back to locker location (like: libglib-2.0.la -> /mit/gnuplot_v4.2/lib/libglib-2.0.la): libglib-2.0* and hide the following in /usr/lib: libglib-2.0* Install, in order: glib-2.8.6.tar cairo-1.4.0.tar pango-1.10.4.tar gtk+-2.8.9.tar wxWidgets-2.8.0.tar plotutils-2.4.1.tar PDFlib-Lite-7.0.0p3.tar with ./configure --prefix=/mit/gnuplot_v4.2 make make install Install gnuplot-4.2.0.tar with: ./configure --prefix=/mit/gnuplot_v4.2 --with-plot=/mit/gnuplot_v4.2/lib --with-gd --with-pdf=/mit/gnuplot_v4.2/lib --with-cwdrc --with-kpsexpand --with-lasergnu --with-x --enable-thin-splines make make install ******************************************************************************* It prints configuration summary: gnuplot will be compiled with the following terminals: Standalone terminals: yes (always builtin) (aed512, aed767, aifm, bitgraph, cgm, corel, dumb, dxf, eepic, emf, emtex, epslatex, epson_180dpi, epson_60dpi, epson_lx800, fig, gpic, hp2623A, hp2648, hp500c, hpdj, hpgl, hpljii, hppj, imagen, kc_tek40xx, km_tek40xx, latex, metafont, metapost, mif, pbm, postscript, pslatex, nec_cp6, okidata, pcl5, pstex, pstricks, qms, regis, selanar, svg, starc, tandy_60dpi, tek40xx, tek410x, texdraw, tgif, tkcanvas, tpic, vttek) x11/xlib terminal: yes (with mouse support) (with multi-byte fonts) (with binary polygon protocol (EXPERIMENTAL)) jpeg terminal: yes gif terminal: yes (without animated gif, requires libgd support) png terminal: yes (jpeg, gif and png terminals can use TTF fonts) pdf terminal: yes plot library terminal: yes (gnugraph - GNU version) linux terminal (vga console): no (use --with-linux-vga to enable, requires SVGAlib) vgagl terminal ((s)vga console): no (use --with-linux-vga to enable, requires SVGAlib with vgagl) ggi terminal: no (use --with-ggi to enable, requires libggi) iris4d terminal: no (use --enable-iris to enable, requires libgl_s) mgr terminal: no (use --enable-mgr to enable, requires libpixrect) rgip/uniplex terminal: no (use --enable-rgip to enable) svga terminal (MSDOS/djgpp): no be terminal (BeOS): no next terminal: no aqua terminal (MacOS X): no wxt terminal: yes (EXPERIMENTAL) Additional terminals are availaible in platform-specific makefiles: amiga (makefile.amg and makefile.ami), apollo/gpr (makefile.unx), atari/vdi (makefile.st), cgi (makefile.unx), mtos (makefile.mto), pm (makefile.os2), sun (makefile.unx), unixpc (makefile.unx), windows (various Windows makefiles) Additional terminals are built automatically if possible at compile-time: vesa (MSDOS), emxvga (MSDOS, OS/2), ega/vga/svga/ssvga/hercules (Windows with Zortec compiler), macintosh gnuplot will be compiled with the following features: Fitting error variables: yes String-handling in datafiles: yes Plot style histograms: yes String variables: yes Command line macros: yes (EXPERIMENTAL) Placement of rectangles and other objects: yes (EXPERIMENTAL) Plot style image: yes (EXPERIMENTAL) General binary data file reading: yes (EXPERIMENTAL) gnuplot will be compiled with the following options: Readline library: GNU readline library with -lncurses Command-line history file: yes Check current directory for .gnuplot file: yes Sort help/subtopic tables by column: no (use --without-row-help to enable) Use TeX kpsexpand to search for fonts: yes Thin plate splines: yes Hidden3d optimization: quadtree Deprecated syntax and terminal options : yes gnuplot will install the following additional materials: lasergnu printer script: yes gnuplot-mode for X/Emacs: yes LaTeX tutorial: yes Help file: yes (always), in ${prefix}/share/gnuplot/4.2/gnuplot.gih PostScript prologue files: yes (always) ******************************************************************************* Also do demo, tutorial dirs for Linux- they're different from Sun. Build docs manually in docs directory; gmake html gmake dvi and copy these (and pdf manuals downloaded separately) to /mit/gnuplot_v4.2/doc.