From: Alan W. I. <ir...@be...> - 2012-04-11 19:40:55
|
On 2012-04-11 02:57+0530 Atri wrote: > Hi! > I have been trying to get the vanilla (i.e., without any patches) > svn/trunk version of plplot (rev 12185) to build on openSUSE Factory > (which will become the next openSUSE release later). For the most part > the build system works great. > > Unfortunately there is one issue with the svn version that is not > present with the 5.9.9 release. It is that the cmake build system fails > to detect the presence of the gnat library in my (openSUSE) system and > turns off the ada bindings automatically. > ============================================== > -- Build files have been written > to: /home/abuild/rpmbuild/BUILD/plplot/builddir/language_tests/Ada > -- Check for working Ada builder: /usr/bin/gnatmake > -- Check for working Ada builder: /usr/bin/gnatmake -- works > -- gnat version = > -- WARNING: gnat library not found. Disabling ada bindings > ============================================== > > With plplot 5.9.9 and a small patch [2], this used to work perfectly > fine on all versions of openSUSE, i.e., the build system would detect > the presence of gnat 4.6 just fine. Please note that gnat is provided in > openSUSE by the package named libada46 which is pulled in automatically > when one installs gcc-ada (gcc46-ada), i.e., gnat is installed in an > openSUSE system as a dependency of gcc-ada. Hi Atri: Thanks for your report. I think the fix here should be straightforward. Basically, all you have to do is make sure you have installed the appropriate library that is needed in lib*.so form, and then give CMake enough hints so that it can find that library. To proceed further I need some additional information. Does the patch you mentioned solve the issue? (You said the patch works for 5.9.9, but it appears you only tested vanilla plplot svn trunk version without the patch.) What is the exact filename (including the full path) of the library that is packaged by the libada46 package? Note, that CMake will look for development libraries with filenames in the form lib*.so. If libada46 does not include such a name form or set up a symlink with such a name form, then perhaps you should be installing the development version of the libada46 package? 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 __________________________ |