On 06/01/2010 09:29 PM, Alan W. Irwin wrote: > On 2010-06-01 16:03-0600 Orion Poplawski wrote: > >> I'm trying to build my plplot package for Fedora 14 which has cmake >> 2.8.1 and >> for some reason it is not producing versioned libraries for F77 and >> F95. The >> same package built fine on F-13 with cmake 2.8.0. Anyone else out there >> seeing this with 2.8.1? >> > > Here is what I get by default for CMake-2.8.1, > -DCMAKE_INSTALL_PREFIX=$prefix, > -DBUILD_TEST=ON, and "make VERBOSE=1 plplotf77d >& make_plplotf77d.out" > > [...] > Linking Fortran shared library libplplotf77d.so > cd /home/software/plplot_svn/HEAD/build_dir/bindings/f77 && > /home/software/cmake/install-2.8.1/bin/cmake -E cmake_link_script > CMakeFiles/plplotf77d.dir/link.txt --verbose=1 > /usr/bin/gfortran -fPIC -g -fvisibility=hidden -shared > -Wl,-soname,libplplotf77d.so.9 -o libplplotf77d.so.9.1.1 > CMakeFiles/plplotf77d.dir/strutil.f.o CMakeFiles/plplotf77d.dir/sfstubs.f.o > CMakeFiles/plplotf77d.dir/configurable.f.o libplplotf77cd.so.9.1.1 > ../../src/libplplotd.so.9.7.0 /usr/lib/libltdl.so /usr/lib/libdl.so > ../../lib/csa/libcsirocsa.so.0.0.1 ../../lib/nn/libcsironn.so.0.0.1 > /home/software/qhull/install/lib/libqhull.so > ../../lib/qsastime/libqsastime.so.0.0.1 /usr/lib/libm.so > /usr/lib/libfreetype.so > -Wl,-rpath,/home/software/plplot_svn/HEAD/build_dir/bindings/f77:/home/software/plplot_svn/HEAD/build_dir/src:/home/software/plplot_svn/HEAD/build_dir/lib/csa:/home/software/plplot_svn/HEAD/build_dir/lib/nn:/home/software/qhull/install/lib:/home/software/plplot_svn/HEAD/build_dir/lib/qsastime: > > > cd /home/software/plplot_svn/HEAD/build_dir/bindings/f77 && > /home/software/cmake/install-2.8.1/bin/cmake -E cmake_symlink_library > libplplotf77d.so.9.1.1 libplplotf77d.so.9 libplplotf77d.so > make[3]: Leaving directory /home/software/plplot_svn/HEAD/build_dir' > > This last stanza you didn't quote, but I assume you have that as well to > create the appropriate symlinks. However, the important point is my > CMake-2.8.1-based build does have -Wl,-soname,libplplotf77d.so.9 while > your F14 CMake-2.8.1 build does not. > > I suggest you try the same build with a virgin CMake-2.8.1 that you build > yourself. IIRC, Fortran support was substantially reorganized for > CMake-2.8.1, and it is easily possible that F-14 has screwed up their > binary > rpm version of CMake-2.8.1 by forgetting, for example, to include one or > more of the new Fortran Platform support files in their CMake-2.8.1 rpm.
5.9.5 just isn't compatible with cmake 2.8.1 because the CMakeFortranInformation.cmake files conflict between the two. Looks like this is fixed in current svn by moving it to cmake/modules/language_support/cmake-2.6. Looks like I need to wait for the new plplot release. -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane or...@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel