<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi, I contact you for a problem about the installation of DUNE. I try to configure modules, but erase a problem with Fortran 77. I see something on the site, but I don't understand how to solve this problem. Can you help me?..<br><br><br>___________________________________________________________________________<br>The code is:<br><br>[root@Mauro mauro]# cd Scaricati<br>[root@Mauro Scaricati]# cd dune-common-2.1.1<br>[root@Mauro dune-common-2.1.1]# ./configure<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... /bin/mkdir -p<br>checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>checking how to create a pax tar archive... gnutar<br>checking how to create a pax tar archive... (cached) gnutar<br>checking for inkscape... no<br>checking for doxygen... no<br>checking for latex... no<br>checking for bibtex... no<br>checking for dvipdf... dvipdf<br>checking for dvips... no<br>checking for wml... no<br>checking for dot... no<br>checking for perl... perl<br>checking for convert... no<br>checking for pkg-config... /usr/bin/pkg-config<br>checking pkg-config is at least version 0.9.0... yes<br>checking for style of include used by make... GNU<br>checking for gcc... gcc<br>checking whether the C compiler works... yes<br>checking for C compiler default output file name... a.out<br>checking for suffix of executables... <br>checking whether we are cross compiling... no<br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking dependency style of gcc... gcc3<br>checking dependency style of gcc... (cached) gcc3<br>checking how to run the C preprocessor... gcc -E<br>checking for g++... g++<br>checking whether we are using the GNU C++ compiler... yes<br>checking whether g++ accepts -g... yes<br>checking dependency style of g++... gcc3<br>checking dependency style of g++... (cached) gcc3<br>checking how to run the C++ preprocessor... g++ -E<br>checking for g77... no<br>checking for xlf... no<br>checking for f77... no<br>checking for frt... no<br>checking for pgf77... no<br>checking for cf77... no<br>checking for fort77... no<br>checking for fl32... no<br>checking for af77... no<br>checking for xlf90... no<br>checking for f90... no<br>checking for pgf90... no<br>checking for pghpf... no<br>checking for epcf90... no<br>checking for gfortran... no<br>checking for g95... no<br>checking for xlf95... no<br>checking for f95... no<br>checking for fort... no<br>checking for ifort... no<br>checking for ifc... no<br>checking for efc... no<br>checking for pgfortran... no<br>checking for pgf95... no<br>checking for lf95... no<br>checking for ftn... no<br>checking whether we are using the GNU Fortran 77 compiler... no<br>checking whether accepts -g... no<br>checking for gfortran... no<br>checking for g95... no<br>checking for xlf95... no<br>checking for f95... no<br>checking for fort... no<br>checking for ifort... no<br>checking for ifc... no<br>checking for efc... no<br>checking for pgfortran... no<br>checking for pgf95... no<br>checking for lf95... no<br>checking for ftn... no<br>checking for xlf90... no<br>checking for f90... no<br>checking for pgf90... no<br>checking for pghpf... no<br>checking for epcf90... no<br>checking for g77... no<br>checking for xlf... no<br>checking for f77... no<br>checking for frt... no<br>checking for pgf77... no<br>checking for cf77... no<br>checking for fort77... no<br>checking for fl32... no<br>checking for af77... no<br>checking whether we are using the GNU Fortran compiler... no<br>checking whether accepts -g... no<br>checking build system type... i686-pc-linux-gnu<br>checking host system type... i686-pc-linux-gnu<br>checking how to print strings... printf<br>checking for a sed that does not truncate output... /bin/sed<br>checking for grep that handles long lines and -e... /bin/grep<br>checking for egrep... /bin/grep -E<br>checking for fgrep... /bin/grep -F<br>checking for ld used by gcc... /usr/bin/ld<br>checking if the linker (/usr/bin/ld) is GNU ld... yes<br>checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B<br>checking the name lister (/usr/bin/nm -B) interface... BSD nm<br>checking whether ln -s works... yes<br>checking the maximum length of command line arguments... 1572864<br>checking whether the shell understands some XSI constructs... yes<br>checking whether the shell understands "+="... yes<br>checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop<br>checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop<br>checking for /usr/bin/ld option to reload object files... -r<br>checking for objdump... objdump<br>checking how to recognize dependent libraries... pass_all<br>checking for dlltool... no<br>checking how to associate runtime and link libraries... printf %s\n<br>checking for ar... ar<br>checking for archiver @FILE support... @<br>checking for strip... strip<br>checking for ranlib... ranlib<br>checking command to parse /usr/bin/nm -B output from gcc object... ok<br>checking for sysroot... no<br>checking for mt... no<br>checking if : is a manifest tool... no<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking for dlfcn.h... yes<br>checking for objdir... .libs<br>checking if gcc supports -fno-rtti -fno-exceptions... no<br>checking for gcc option to produce PIC... -fPIC -DPIC<br>checking if gcc PIC flag -fPIC -DPIC works... yes<br>checking if gcc static flag -static works... no<br>checking if gcc supports -c -o file.o... yes<br>checking if gcc supports -c -o file.o... (cached) yes<br>checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes<br>checking dynamic linker characteristics... GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking whether stripping libraries is possible... yes<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... no<br>checking whether to build static libraries... yes<br>checking how to run the C++ preprocessor... g++ -E<br>checking for ld used by g++... /usr/bin/ld<br>checking if the linker (/usr/bin/ld) is GNU ld... yes<br>checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes<br>checking for g++ option to produce PIC... -fPIC -DPIC<br>checking if g++ PIC flag -fPIC -DPIC works... yes<br>checking if g++ static flag -static works... no<br>checking if g++ supports -c -o file.o... yes<br>checking if g++ supports -c -o file.o... (cached) yes<br>checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes<br>checking dynamic linker characteristics... (cached) GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking for ranlib... (cached) ranlib<br>checking how to get verbose linking output from ... configure: WARNING: compilation failed<br><br>checking for Fortran 77 libraries of ... <br>checking for dummy main to link with Fortran 77 libraries... none<br>checking for Fortran 77 name-mangling scheme... configure: error: in `/home/mauro/Scaricati/dune-common-2.1.1':<br>configure: error: cannot compile a simple Fortran program<br>See `config.log' for more details<br><br>__________________________________________________________________________________________________________________<br><br><br>And even if I don't configure the modules, I manage to build a new project with the command ./duneproject. But when I try to open it terminal says:<br><br>______________________________________________________________________-<br><br>[root@Mauro dune-common-2.1.1]# cd bin<br>[root@Mauro bin]# ./duneproject PrimaProva<br><br>== Dune project/module generator ==<br><br>duneproject will assist you in the creation of a new Dune application.<br>During this process a new directory with the name of your project will be<br>created. This directory will hold all configuration and Makefiles and a<br>simple example application.<br><br>ERROR: could not find module dune-common,<br> module is also unknown to pkg-config.<br> Maybe you need to adjust PKG_CONFIG_PATH!<br> dune-common is required by PrimaProva<br><br>____________________________________________________________________________<br><br>Is it a problem of configuration or anything else?..<br><br>Thank you for your help.<br><br>Mauro Pagani<br><br><br> </div></body>
</html>