sudo python setup.py install --user
[sudo] password for claire:
running install
running build
running build_py
running build_ext
running build_src
building extension "guiqwt._ext" sources
f2py options: []
adding 'build/src.linux-i686-2.6/fortranobject.c' to sources.
adding 'build/src.linux-i686-2.6' to include_dirs.
building extension "guiqwt._mandel" sources
f2py options: []
adding 'build/src.linux-i686-2.6/fortranobject.c' to sources.
adding 'build/src.linux-i686-2.6' to include_dirs.
adding 'build/src.linux-i686-2.6/guiqwt/_mandel-f2pywrappers2.f90'
to sources.
building extension "guiqwt._scaler" sources
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize LaheyFCompiler
Could not locate executable lf95
customize PGroupFCompiler
Could not locate executable pgf90
Could not locate executable pgf77
customize AbsoftFCompiler
Could not locate executable f90
customize NAGFCompiler
Could not locate executable f95
customize VastFCompiler
customize GnuFCompiler
customize CompaqFCompiler
Could not locate executable fort
customize IntelItaniumFCompiler
Could not locate executable efort
Could not locate executable efc
customize IntelEM64TFCompiler
customize Gnu95FCompiler
Could not locate executable gfortran
customize G95FCompiler
Could not locate executable g95
don't know how to compile Fortran code on platform 'posix'
warning: build_ext: f77_compiler=None is not available.
building 'guiqwt._ext' extension
error: extension 'guiqwt._ext' has Fortran sources but no Fortran
compiler found
and gfortran is installed:
$ whereis gfortran-4.5
gfortran-4: /usr/bin/gfortran-4.5
Post by Carlos PascualThe last version that I installed was 2.0.8 (on a ubuntu 10.10)
**As far as I remember** I just used "setup.py install --user" (without -
fcompiler) and it autodetected gfortran...
I hope that helps
Post by jean-patricksudo python setup.py --fcompiler=gfortran install
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --fcompiler not recognized
gfortran is installed. What command should I use to build guiqwt?
Regards
Jean-Patrick
http://dip4fish.blogspot.com/
--
+----------------------------------------------------+
Carlos Pascual Izarra
Scientific Software Coordinator
Computing Division
Cells / Alba Synchrotron [http:/www.cells.es]
Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3
E-08290 Cerdanyola del Valles (Barcelona), Spain
Phone: +34 93 592 4428
+----------------------------------------------------+