Alan, On Jul 1, 2010, at 9:20 PM, Alan W. Irwin wrote:
> On 2010-07-01 19:24-0500 Marius Schamschula wrote: > >> Puneet, >> >> Don't rename the entire directory. I just rename files. In my case I have >> >> Jupiter:etc marius$ ls /usr/X11R6/include/ >> GL fontconfig.off libpng12.off pngconf.h.off >> X11 freetype2.off pixman-1 xcb >> cairo.off ft2build.h.off png.h.off >> > >> Note: I have built fontconfig, freetype, gtk+, etc, and installed them in > /usr/local. > > Just as general advice, any time you have special versions of headers or > libraries that have their own unique locations, use the well-documented (see > cmake --help-full output) CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH to help > cmake find your special version without any need to rename the standard > version. Unfortunately, this is not only a problem for cmake. Some autoconf based packages require this as well. Since I never intend to build against Apple's obsolete libraries, I have found the rename option very effective. > 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 Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
