[NumPy-Tickets] [NumPy] #1942: fortranobject.h not found on Debian Wheezy testing with kernel 3.0.0-1-486

NumPy Trac numpy-tickets@scipy....
Thu Aug 25 08:16:33 CDT 2011


#1942: fortranobject.h not found on Debian Wheezy testing with kernel 3.0.0-1-486
-----------------------------+----------------------------------------------
 Reporter:  SergeStroobandt  |       Owner:  pearu      
     Type:  defect           |      Status:  new        
 Priority:  highest          |   Milestone:  Unscheduled
Component:  numpy.f2py       |     Version:  1.5.1      
 Keywords:  fortranobject    |  
-----------------------------+----------------------------------------------
 What steps will reproduce the problem?[[BR]]

 easy_install pymc[[BR]]
 or[[BR]]
 sudo easy_install pymc[[BR]]

 What is the expected output? What do you see instead?

                 Constructing wrapper function "aniso_geo_rad"...[[BR]]
 aniso_geo_rad(d,x,y,inc,ecc,[cmin,cmax,symm]) [[BR]]Wrote C/API module
 "distances" to file
 "build/src.linux-i686-2.6/pymc/gp/cov_funs/distancesmodule.c"
 Could not locate executable g77[[BR]]
 Could not locate executable f77[[BR]]
 Could not locate executable ifort[[BR]]
 Could not locate executable ifc[[BR]]
 Could not locate executable lf95[[BR]]
 Could not locate executable pgf90[[BR]]
 Could not locate executable pgf77[[BR]]
 Could not locate executable f90[[BR]]
 Found executable /usr/bin/f95[[BR]]
 Could not locate executable fort[[BR]]
 Could not locate executable efort[[BR]]
 Could not locate executable efc[[BR]]
 Found executable /usr/bin/gfortran[[BR]]
 In file included from build/src.linux-i686-2.6/fortranobject.c:2:0:[[BR]]
 build/src.linux-i686-2.6/fortranobject.h:7:20: fatal error:
 [[BR]]Python.h: No such file or directory[[BR]]
 compilation terminated.[[BR]]
 In file included from build/src.linux-i686-2.6/fortranobject.c:2:0:[[BR]]
 build/src.linux-i686-2.6/fortranobject.h:7:20: fatal error:
 [[BR]]Python.h: No such file or directory
 compilation terminated.[[BR]]
 error: Setup script exited with error: Command "gcc -pthread -fno-strict-
 aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC
 -DNO_ATLAS_INFO=1 -Ibuild/src.linux-i686-2.6
 -I/usr/lib/pymodules/python2.6/numpy/core/include -I/usr/include/python2.6
 -c build/src.linux-i686-2.6/fortranobject.c -o
 build/temp.linux-i686-2.6/build/src.linux-i686-2.6/fortranobject.o" failed
 with exit status 1
 /usr/lib/pymodules/python2.6/numpy/distutils/misc_util.py:251:
 RuntimeWarning: Parent module 'numpy.distutils' not found while handling
 absolute import[[BR]]
   from numpy.distutils import log[[BR]]
 [[BR]]
 What version of the product are you using? On what operating system?[[BR]]
 [[BR]]
 Linux Mint Debian (= Debian Wheezy testing)[[BR]]
 kernel 3.0.0-1-486[[BR]]
 on a VirtualBox machine[[BR]]
 [[BR]]
 Please provide any additional information below.[[BR]]
 [[BR]]
 dpkg -S fortranobject.h[[BR]]
 python-numpy: /usr/share/pyshared/numpy/f2py/src/fortranobject.h[[BR]]

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1942>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list