Find the answer to your Linux question:
Results 1 to 3 of 3
I'm new to Linux, just installed Mandriva Linux 10.something last week in order to run software that runs only on UNIX/Linux OSs. I am in the process of installing the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Posts
    2

    GCC/Fortran problems


    I'm new to Linux, just installed Mandriva Linux 10.something last week in order to run software that runs only on UNIX/Linux OSs.

    I am in the process of installing the software, trying to at least. When I type ./configure, I get all these errors:

    ./configure
    checking for vendor f77 to be used instead of g77...
    checking for f77... no
    checking for xlf77... no
    checking for cf77... no
    checking for fort77... no
    checking for f90... no
    checking for xlf90... no
    checking for g77... no
    checking for f77... no
    checking for xlf... no
    checking for frt... no
    checking for pgf77... no
    checking for fl32... no
    checking for af77... no
    checking for fort77... no
    checking for f90... no
    checking for xlf90... no
    checking for pgf90... no
    checking for epcf90... no
    checking for f95... no
    checking for fort... no
    checking for xlf95... no
    checking for lf95... no
    checking for g95... no
    checking for Fortran 77 compiler default output... configure: error: Fortran 77 compiler cannot create executables
    See `config.log' for more details.

    I was told that was because I don't have a Fortran compiler. However, the installation for the software says if it can't find Fortran, it looks for a GCC g77 compiler. I thought all distributions had that. I downloaded a version though, and attempted to install it using the urpmi command. I tried using the ./configure again, but I get the same errors.

    Thanks ahead of time if anyone has any suggestions.

  2. #2
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    what was the output when you tried to install it? can you also try

    locate g77

    and see if perhaps your just having an issue with your PATH variable.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  3. #3
    Just Joined!
    Join Date
    Jul 2005
    Posts
    2
    The errors from the g77/f77 were as far as I got. I tried the make command too, but I get this error:

    make: *** No targets specified and no makefile found. Stop.

    which I thought was because the configure part didnt work.

    I tried the locate g77, and I got

    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19981119-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/12002.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/12632.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/13037.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/13060.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/1832.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19981216-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990218-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990218-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990305-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990313-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990313-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990313-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990313-3.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990419-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990419-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990502-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990502-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990525-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990826-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990826-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990826-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990826-3.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990905-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990905-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/19990905-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20000412-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20000503-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20000511-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20000511-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20000518.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20000601-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20000601-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20000629-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20000630-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20001111.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20010115.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20010116.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20010216-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20010321-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20010426-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20010426.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20010430.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20010519-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20010610.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20020307-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20030115-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/20030326-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/6177.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/7388.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/8485.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/9263.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/947.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/960317-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/970125-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/970625-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/970816-3.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/970915-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/971102-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980310-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980310-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980310-3.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980310-4.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980310-6.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980310-7.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980310-8.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980419-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980424-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980427-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980519-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980520-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980615-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980616-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980628-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980628-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980628-10.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980628-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980628-3.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980628-7.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980628-8.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980628-9.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980701-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980701-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/980729-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/981117-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/990115-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/README
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/alpha1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/cabs.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/check0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/claus.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/complex_1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/cpp.F
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/cpp2.F
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/cpp3.F
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/dcomplex.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/dnrm2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/erfc.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f77-edit-apostrophe-out.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f77-edit-colon-out.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f77-edit-h-out.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f77-edit-i-in.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f77-edit-i-out.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f77-edit-s-out.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f77-edit-slash-out.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f77-edit-t-in.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f77-edit-t-out.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f77-edit-x-out.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f90-intrinsic-bit.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f90-intrinsic-mathematical.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/f90-intrinsic-numeric.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/ffixed-form-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/ffixed-form-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/ffixed-line-length-0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/ffixed-line-length-132.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/ffixed-line-length-72.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/ffixed-line-length-none.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/ffree-form-1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/ffree-form-2.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/ffree-form-3.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/fno-underscoring.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/funderscoring.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/int8421.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/intrinsic-unix-bessel.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/intrinsic-unix-erf.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/labug1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/large_vec.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/le.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/pr9258.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/short.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/strlen0.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/toon_1.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77/xformat.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77_intrinsics_funcs.f
    /home/chowa/Desktop/gcc-4.0.0/gcc/testsuite/gfortran.dg/g77_intrinsics_sub.f
    /home/chowa/Desktop/gcc-g77-2.95.3-4.1mdk.i586.rpm
    /usr/share/vim/compiler/fortran_g77.vim

    Which is the PATH variable? Do I have to be in a certain folder to be able to use the compiler commands? I'm currently in the folder that has the software I'm trying to install.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •