64-bit build woes
Hi all, I received this message today from a collaborator. I don't have direct access to this box, but he posted fairly detailed logs. Has anyone seen a similar issue with current code? If not, I'll try to track down further with him what the problem may actually be. Thanks for any help, f ============ Original message: We are having trouble with scipy (not)compiling on the 64-bit machine, and it seems to be related to the intp type. I put the log file and connected files at http://www.math.ohiou.edu/~mjm/pickup/scipy.log http://www.math.ohiou.edu/~mjm/pickup/fortranobject.c http://www.math.ohiou.edu/~mjm/pickup/fortranobject.h The relevant parts are at the end of scipy.log: creating build/temp.linux-x86_64-2.3/Lib/fftpack/src compile options: '-Ibuild/src.linux-x86_64-2.3 -I/usr/lib64/python2.3/site-packages/numpy/core/include -I/usr/include/python2.3 -c' gcc: Lib/fftpack/src/drfft.c gcc: Lib/fftpack/src/zfft.c gcc: build/src.linux-x86_64-2.3/fortranobject.c build/src.linux-x86_64-2.3/fortranobject.c: In function `PyFortranObject_New': build/src.linux-x86_64-2.3/fortranobject.c:55: error: syntax error before "intp" build/src.linux-x86_64-2.3/fortranobject.c:60: error: syntax error before "intp" build/src.linux-x86_64-2.3/fortranobject.c: In function `fortran_getattr': build/src.linux-x86_64-2.3/fortranobject.c:179: error: syntax error before "intp" build/src.linux-x86_64-2.3/fortranobject.c: In function `fortran_setattr': build/src.linux-x86_64-2.3/fortranobject.c:243: error: syntax error before ')' token build/src.linux-x86_64-2.3/fortranobject.c:245: error: syntax error before ')' token ... I don't see "intp" in fortranobject.c, so it must be included from elsewhere.
Fernando Perez wrote:
Hi all,
I received this message today from a collaborator. I don't have direct access to this box, but he posted fairly detailed logs. Has anyone seen a similar issue with current code? If not, I'll try to track down further with him what the problem may actually be.
This looks like a problem with left-over headers and/or C-API files being picked up. Make sure the old header files are deleted and he has a fresh install of NumPy from SVN (with the build directory deleted before re-building). Look in /usr/lib64/python2.3/site-packages/numpy/core/include/__multiarray_api.h to make sure there are now isolated intp references (particularly look at PyArray_New). If there are, then the NumPy build was not clean. -Travis
On 7/17/06, Travis Oliphant <oliphant.travis@ieee.org> wrote:
Fernando Perez wrote:
Hi all,
I received this message today from a collaborator. I don't have direct access to this box, but he posted fairly detailed logs. Has anyone seen a similar issue with current code? If not, I'll try to track down further with him what the problem may actually be.
This looks like a problem with left-over headers and/or C-API files being picked up. Make sure the old header files are deleted and he has a fresh install of NumPy from SVN (with the build directory deleted before re-building).
Look in
/usr/lib64/python2.3/site-packages/numpy/core/include/__multiarray_api.h
to make sure there are now isolated intp references (particularly look at PyArray_New). If there are, then the NumPy build was not clean.
Thanks, Travis. I just wanted to make sure it wasn't a more widespread problem. I'll track it down with my colleague in private then. Cheers, f
participants (2)
-
Fernando Perez
-
Travis Oliphant