problem configuring ifort

renato vacondio rvacondio at gmail.com
Mon Apr 14 11:42:12 BST 2008


hank you for your help, what I did exactly this:

- create a new project (simple hello-world fortran project)

   * Project->Project Options->Configure Options->Fortran
         o Compiler Command: ifort
   * Open configure.in and remove:

 AC_LANG_FORTRAN77, AC_PROG_F77, AC_F77_LIBRARY_LDFLAGS

insert instead

 AC_PROG_FC([ifort ifc])

but it doesn't work. I have ubuntu 7.10 and ifort compiler works from 
the command line (bash).

thank you again for your help.

renato



Andreas Pakulat ha scritto:
> On 10.04.08 18:08:55, renato vacondio wrote:
>  
>> I tried to configure ifort in kdevelop but I can't manage it.
>> I've done exaclty what is reported in: 
>> http://www.kdevelop.org/mediawiki/index.php/How_to_use_Intel_fortran_compiler 
>>
>> but when i run automake&friends this is the output:
>>
>> cd '/home/renato/Scrivania/pippo3' && WANT_AUTOCONF_2_5="1" 
>> WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs && cd 
>> '/home/renato/Scrivania/pippo3' && F77=ifort 
>> "/home/renato/Scrivania/pippo3/configure" && cd 
>> '/home/renato/Scrivania/pippo3' && WANT_AUTOCONF_2_5="1" 
>> WANT_AUTOMAKE_1_6="1" make -k clean
>> aclocal
>> autoheader
>> automake
>> src/Makefile.am: Fortran 77 source seen but `F77' is undefined
>> src/Makefile.am: The usual way to define `F77' is to add `AC_PROG_F77'
>> src/Makefile.am: to `configure.in' and run `autoconf' again.
>> make: *** [all] Error 1
>>     
>
> Well, you could try as is written here. The actual file you'd need to
> change may be called configure.in.in or configure.ac and then run
> automake&friends again.
>
> Andreas
>
>   





More information about the KDevelop mailing list