I am trying to build the package with the attached setup.cfg configuration but
the build process fails due to the wrong include path passed to gcc by
setup.py. Below is the first few lines of output of the build process:
reading from setup.cfg...
using nc-config ...
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler
options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler
options
running build_src
build_src
building py_modules sources
building extension "netCDF4" sources
build_src: building npy-pkg config files
running build_py
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'netCDF4' extension
compiling C sources
C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -m64 -fPIC
compile options: '-I/usr/local/netcdf-4.1.3_ifort/include
-I/usr/lib/pymodules/python2.6/numpy/core/include -I/usr/include/python2.6 -c'
However, the "-I" flag should read "/usr/local/netcdf-4.1.3/include" in line
that starts with "compile options:".
Any help will be appreciated.
Regards,
Ekin
Original issue reported on code.google.com by ekinako...@gmail.com on 20 Jun 2012 at 8:24
Original issue reported on code.google.com by
ekinako...@gmail.com
on 20 Jun 2012 at 8:24Attachments: