From: <hba...@ma...> - 2006-07-28 23:32:58
|
On Jul 28, 2006, at 4:36 PM, Alan W. Irwin wrote: > Update of /cvsroot/plplot/plplot/bindings/f77 > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23733/ > bindings/f77 > > Modified Files: > CMakeLists.txt > Log Message: > Drop LINKER_LANGUAGE C workaround for Fortran libraries in the > Linux case > since it causes problems on non-Linux platforms. To actually solve > this > CMake bug on the Linux platform for Fortran libraries, CMake users > need to > apply the following patch to their installed CMake-2.4.2 tree: Thanks! It was indeed causing problems. With this change I can now compile with Fortran on OS-X. However, at the install phase I get the following error: -- Install configuration: "" -- Installing /usr/local/lib/libplplotf77cd.dylib.9.1.0 CMake Error: Error in cmake code at /Users/hbabcock/Documents/OpenSource/PLplot/plplot-build/bindings/f77/ cmake_install.cmake:39: FILE INSTALL cannot find file "/Users/hbabcock/Documents/OpenSource/ PLplot/plplot-build/bindings/f77/libplplotf77d.dylib.9.1.0" to install. make: *** [install] Error 255 iMac ~/Documents/OpenSource/PLplot/plplot-build : ls bindings/f77/ libplplotf77* bindings/f77/libplplotf77cd.dylib bindings/f77/ libplplotf77cd.dylib.9.1.0 bindings/f77/libplplotf77cd.dylib.9 bindings/f77/libplplotf77d.dylib It looks like one of "libplplotf77cd.dylib.9.1.0" or "libplplotf77d.dylib" should be what it is actually looking for. I haven't had as much luck with Python. I think that it might be related to the following bug in cmake with Frameworks on OS-X: http://public.kitware.com/pipermail/cmake/2006-March/008783.html Any idea when cmake version 2.4.2 was created? -Hazen |
From: Alan W. I. <ir...@be...> - 2006-07-29 00:06:51
|
On 2006-07-28 19:31-0400 hba...@ma... wrote: > > On Jul 28, 2006, at 4:36 PM, Alan W. Irwin wrote: > >> Update of /cvsroot/plplot/plplot/bindings/f77 >> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23733/bindings/f77 >> >> Modified Files: >> CMakeLists.txt >> Log Message: >> Drop LINKER_LANGUAGE C workaround for Fortran libraries in the Linux case >> since it causes problems on non-Linux platforms. To actually solve this >> CMake bug on the Linux platform for Fortran libraries, CMake users need to >> apply the following patch to their installed CMake-2.4.2 tree: > > Thanks! It was indeed causing problems. With this change I can now compile > with Fortran on OS-X. However, at the install phase I get the following > error: > > -- Install configuration: "" > -- Installing /usr/local/lib/libplplotf77cd.dylib.9.1.0 > CMake Error: Error in cmake code at > /Users/hbabcock/Documents/OpenSource/PLplot/plplot-build/bindings/f77/ > cmake_install.cmake:39: > FILE INSTALL cannot find file "/Users/hbabcock/Documents/OpenSource/ > PLplot/plplot-build/bindings/f77/libplplotf77d.dylib.9.1.0" to install. > make: *** [install] Error 255 > > iMac ~/Documents/OpenSource/PLplot/plplot-build : ls bindings/f77/ > libplplotf77* > bindings/f77/libplplotf77cd.dylib bindings/f77/ > libplplotf77cd.dylib.9.1.0 > bindings/f77/libplplotf77cd.dylib.9 bindings/f77/libplplotf77d.dylib > > It looks like one of "libplplotf77cd.dylib.9.1.0" or "libplplotf77d.dylib" > should be what it is actually looking for. This is the same symptom you will get on Linux if you do not patch Linux.cmake. Basically, cmake forgot about shared versioning of fortran not only on Linux but also on other platforms. Have a look at CMake/Modules/Platform/Darwin.cmake and apply a patch similar to the Linux.cmake one there and see whether that works, and if so, send me the patch. Note, I believe such patches are only a temporary measure. I think there must be a way we can collect such patches and use them in the PLplot tree without demanding our users apply the patches to CMake-2.4.2. Of course, I will report them to the cmake developers. My impression is they don't use fortran themselves so they are grateful for such help in filling in the fortran blanks. > > I haven't had as much luck with Python. I think that it might be related to > the following bug in cmake with Frameworks on OS-X: > > http://public.kitware.com/pipermail/cmake/2006-March/008783.html > > Any idea when cmake version 2.4.2 was created? I found some files dated July last year so on or later than that date. The developers are asked periodically on list about the next release, but all they will say is "when ready". 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 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 __________________________ |
From: Alan W. I. <ir...@be...> - 2006-07-29 14:56:13
|
On 2006-07-29 11:30+0200 Per Persson wrote: > Hazen, Alan, > > I'm following your work with cmake from a distance, and I hope you don't mind > me making comments from "the back seat"... > > Is it possible to configure cmake to name the shared libs e.g. > libplplotf77cd.9.1.0.dylib (with the version after the name but before the > extension) on OS X? My impression from reading articles is that CMake has strongly supported Mac OS X from the first, but I don't know the answer to your specific question. The Cmake developers are a helpful bunch so I think you will get a useful response if you ask the question on the cmake list. 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 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 __________________________ |
From: Per P. <per...@ma...> - 2006-07-29 09:31:05
|
Hazen, Alan, I'm following your work with cmake from a distance, and I hope you don't mind me making comments from "the back seat"... Is it possible to configure cmake to name the shared libs e.g. libplplotf77cd.9.1.0.dylib (with the version after the name but before the extension) on OS X? Although it is unlikely that the current naming will cause any problems, it is probably a good idea to follow platform conventions. I'll see if I can find some time during next week to try cmake for myself. Regards, Per On Jul 29, 2006, at 01:31, hba...@ma... wrote: > > On Jul 28, 2006, at 4:36 PM, Alan W. Irwin wrote: > >> Update of /cvsroot/plplot/plplot/bindings/f77 >> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23733/ >> bindings/f77 >> >> Modified Files: >> CMakeLists.txt >> Log Message: >> Drop LINKER_LANGUAGE C workaround for Fortran libraries in the >> Linux case >> since it causes problems on non-Linux platforms. To actually >> solve this >> CMake bug on the Linux platform for Fortran libraries, CMake users >> need to >> apply the following patch to their installed CMake-2.4.2 tree: > > Thanks! It was indeed causing problems. With this change I can now > compile with Fortran on OS-X. However, at the install phase I get > the following error: > > -- Install configuration: "" > -- Installing /usr/local/lib/libplplotf77cd.dylib.9.1.0 > CMake Error: Error in cmake code at > /Users/hbabcock/Documents/OpenSource/PLplot/plplot-build/bindings/ > f77/cmake_install.cmake:39: > FILE INSTALL cannot find file "/Users/hbabcock/Documents/OpenSource/ > PLplot/plplot-build/bindings/f77/libplplotf77d.dylib.9.1.0" to > install. > make: *** [install] Error 255 > > iMac ~/Documents/OpenSource/PLplot/plplot-build : ls bindings/f77/ > libplplotf77* > bindings/f77/libplplotf77cd.dylib bindings/f77/ > libplplotf77cd.dylib.9.1.0 > bindings/f77/libplplotf77cd.dylib.9 bindings/f77/ > libplplotf77d.dylib > > It looks like one of "libplplotf77cd.dylib.9.1.0" or > "libplplotf77d.dylib" should be what it is actually looking for. > > I haven't had as much luck with Python. I think that it might be > related to the following bug in cmake with Frameworks on OS-X: > > http://public.kitware.com/pipermail/cmake/2006-March/008783.html > > Any idea when cmake version 2.4.2 was created? > > -Hazen > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel |