python-meep team mailing list archive
-
python-meep team
-
Mailing list archive
-
Message #00024
Re: Latest Release Build Problems
Dear Python-meep developers,
I have the same problem in building python-meep
I attach the make result
Directories for SWIG -I option : ['/usr/include']
Directories for -L option : ['/usr/lib']
running clean
removing 'build/temp.linux-x86_64-2.6' (and everything under it)
removing 'build/lib.linux-x86_64-2.6' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.6' does not exist -- can't clean it
removing 'build'
Directories for SWIG -I option : ['/usr/include']
Directories for -L option : ['/usr/lib']
running build_ext
building '_meep' extension
swigging meep.i to meep_wrap.cpp
swig -python -c++ -w503,389,302,362,314,509,451 -I/usr/include -o
meep_wrap.cpp meep.i
creating build
creating build/temp.linux-x86_64-2.6
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I/usr/include -I/usr/include/python2.6 -c
meep_wrap.cpp -o build/temp.linux-x86_64-2.6/meep_wrap.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
In file included from meep_wrap.cpp:3502:
custom.hpp:39:30: error: numpy/npy_common.h: Nessun file o directory
meep_wrap.cpp: In function ‘PyObject* _wrap_deal_with_ctrl_c(PyObject*,
PyObject*)’:
meep_wrap.cpp:54701: warning: ‘argv[0]’ may be used uninitialized in this
function
meep_wrap.cpp: In function ‘PyObject* _wrap_new_src_time(PyObject*,
PyObject*)’:
meep_wrap.cpp:28242: warning: ‘argv[0]’ may be used uninitialized in this
function
meep_wrap.cpp: In function ‘PyObject* _wrap_new_symmetry(PyObject*,
PyObject*)’:
meep_wrap.cpp:15506: warning: ‘argv[0]’ may be used uninitialized in this
function
error: command 'gcc' failed with exit status 1
Directories for SWIG -I option : ['/usr/include']
Directories for -L option : ['/usr/lib']
running install
running build
running build_py
creating build/lib.linux-x86_64-2.6
copying meep.py -> build/lib.linux-x86_64-2.6
running build_ext
building '_meep' extension
swigging meep.i to meep_wrap.cpp
swig -python -c++ -w503,389,302,362,314,509,451 -I/usr/include -o
meep_wrap.cpp meep.i
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I/usr/include -I/usr/include/python2.6 -c
meep_wrap.cpp -o build/temp.linux-x86_64-2.6/meep_wrap.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
In file included from meep_wrap.cpp:3502:
custom.hpp:39:30: error: numpy/npy_common.h: Nessun file o directory
meep_wrap.cpp: In function ‘PyObject* _wrap_deal_with_ctrl_c(PyObject*,
PyObject*)’:
meep_wrap.cpp:54701: warning: ‘argv[0]’ may be used uninitialized in this
function
meep_wrap.cpp: In function ‘PyObject* _wrap_new_src_time(PyObject*,
PyObject*)’:
meep_wrap.cpp:28242: warning: ‘argv[0]’ may be used uninitialized in this
function
meep_wrap.cpp: In function ‘PyObject* _wrap_new_symmetry(PyObject*,
PyObject*)’:
meep_wrap.cpp:15506: warning: ‘argv[0]’ may be used uninitialized in this
function
error: command 'gcc' failed with exit status 1
Directories for SWIG -I option : ['/usr/include']
Directories for -L option : ['/usr/lib']
running bdist
running bdist_dumb
running build
running build_py
copying meep.py -> build/lib.linux-x86_64-2.6
running build_ext
building '_meep' extension
swigging meep.i to meep_wrap.cpp
swig -python -c++ -w503,389,302,362,314,509,451 -I/usr/include -o
meep_wrap.cpp meep.i
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I/usr/include -I/usr/include/python2.6 -c
meep_wrap.cpp -o build/temp.linux-x86_64-2.6/meep_wrap.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
In file included from meep_wrap.cpp:3502:
custom.hpp:39:30: error: numpy/npy_common.h: Nessun file o directory
meep_wrap.cpp: In function ‘PyObject* _wrap_deal_with_ctrl_c(PyObject*,
PyObject*)’:
meep_wrap.cpp:54701: warning: ‘argv[0]’ may be used uninitialized in this
function
meep_wrap.cpp: In function ‘PyObject* _wrap_new_src_time(PyObject*,
PyObject*)’:
meep_wrap.cpp:28242: warning: ‘argv[0]’ may be used uninitialized in this
function
meep_wrap.cpp: In function ‘PyObject* _wrap_new_symmetry(PyObject*,
PyObject*)’:
meep_wrap.cpp:15506: warning: ‘argv[0]’ may be used uninitialized in this
function
error: command 'gcc' failed with exit status 1
armaroli@armaroli-desktop:~/LATEST_RELEASE$
If I ask locate npy_common.h, I only get the SAGE install path, local path
that I was wondering if it could interfere with normal numpy install.
Thank you.