[CMake] Compiling fortran

Alan W. Irwin irwin at beluga.phys.uvic.ca
Wed Sep 26 03:11:07 EDT 2007


On 2007-09-25 22:37-0500 John Doe wrote:

> While the cmake man page does not document the proper capitalization of
> Fortran for creating a fortran based project, I am now at the point the
> compilation does not work for another reason.
>
> Does anyone have an idea what this means?
>
>
> Clearing dependencies in "CMakeFiles/pisces.dir/depend.make".
> Clearing dependencies in "CMakeFiles/pisces.dir/depend.internal".
> /usr/bin/cmake -E cmake_progress_start
> /home/anon/svn/svn_repository/relB.9009/pisces/9009/src/CMakeFiles 50
> make -f CMakeFiles/Makefile2 all
> make[1]: Entering directory
> `/home/anon/svn/svn_repository/relB.9009/pisces/9009/src'
> make -f CMakeFiles/pisces.dir/build.make CMakeFiles/pisces.dir/depend
> make[2]: Entering directory
> `/home/anon/svn/svn_repository/relB.9009/pisces/9009/src'
> Scanning dependencies of target pisces
> cd /home/anon/svn/svn_repository/relB.9009/pisces/9009/src && /usr/bin/cmake
> -E cmake_depends "Unix Makefiles"
> /home/anon/svn/svn_repository/relB.9009/pisces/9009/src
> /home/anon/svn/svn_repository/relB.9009/pisces/9009/src
> /home/anon/svn/svn_repository/relB.9009/pisces/9009/src
> /home/anon/svn/svn_repository/relB.9009/pisces/9009/src
> /home/anon/svn/svn_repository/relB.9009/pisces/9009/src/CMakeFiles/pisces.dir/DependInfo.cmake
> make[2]: Leaving directory
> `/home/anon/svn/svn_repository/relB.9009/pisces/9009/src'
> make -f CMakeFiles/pisces.dir/build.make CMakeFiles/pisces.dir/requires
> make[2]: Entering directory
> `/home/anon/svn/svn_repository/relB.9009/pisces/9009/src'
> make[2]: *** No rule to make target `new.mod.proxy', needed by
> `CMakeFiles/pisces.dir/filopncls.o.requires'.  Stop.
> make[2]: Leaving directory
> `/home/anon/svn/svn_repository/relB.9009/pisces/9009/src'
> make[1]: *** [CMakeFiles/pisces.dir/all] Error 2
> make[1]: Leaving directory
> `/home/anon/svn/svn_repository/relB.9009/pisces/9009/src'
>

This appears to be virtually identical to a CMake bug I reported
at http://www.cmake.org/pipermail/cmake/2006-October/011728.html and
also as bug 3984.  The above URL has an ugly workaround for it.  Hope it
works for you as well.

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
__________________________


More information about the CMake mailing list