From: Valery P. <pi...@is...> - 2007-05-29 04:33:31
|
Dear Arjen, Thanks for the fast reply! On Tue, 29 May 2007 06:17:56 +0200 (CEST) Arjen Markus wrote: > > Dear Group, > > > > I wanted to package plplot to rpm. I have used the spec from > > fedora-7. It uses > > cmake for building plplot. The question is how to disable some > > features, for > > example I don't need f95 and tcl. I'm sorry for asking such a simple > > questions in the list. > > > > You can use the -DENABLE_fetaure option for language bindings: > > cmake -DENABLE_f95:BOOL=OFF -DENABLE_tcl:BOOL=OFF Yes, I tried these just by analogy with options from configure script. It does not help -- Check for using stdint.h with CXX compiler - ok -- Check for working Fortran compiler: /usr/local/intel/bin/ifc -- Check for working Fortran compiler: /usr/local/intel/bin/ifc -- broken CMake Error: The Fortran compiler "/usr/local/intel/bin/ifc" is not able to compile a simple test program. It fails with the following output: /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[1]: Entering directory `/home/vv/RPM/BUILD/plplot-5.7.3/alt/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/vv/RPM/BUILD/plplot-5.7.3/alt/CMakeFiles/CMakeTmp/CMakeFiles 1 Building Fortran object CMakeFiles/cmTryCompileExec.dir/testFortranCompiler.o /usr/local/intel/bin/ifc -o CMakeFiles/cmTryCompileExec.dir/testFortranCompiler.o -pipe -Wall -O2 -march=i686 -mtune=i686 -c /home/vv/RPM/BUILD/plplot-5.7.3/alt/CMakeFiles/CMakeTmp/testFortranCompiler.f ifc: warning: The Intel Fortran driver is now named ifort. You can suppress this message with '-quiet' ifort: No such file or directory gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/testFortranCompiler.o] Error 100 gmake[1]: Leaving directory `/home/vv/RPM/BUILD/plplot-5.7.3/alt/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec/fast] Error 2 |