I got the errors when running "python setup.py develop". Looks like some
platform compatibility issue. Any idea? Thanks.
non-existing path in 'numpy/distutils': 'site.cfg'
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable f90
Could not locate executable f77
Could not locate executable xlf90
Could not locate executable xlf
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable g77
Could not locate executable g95
Could not locate executable pgfortran
don't know how to compile Fortran code on platform 'posix'
_configtest.c:1:5: warning: incompatible redeclaration of library function
'exp' [-Wincompatible-library-redeclaration]
int exp (void);
^
_configtest.c:1:5: note: 'exp' is a builtin with type 'double (double)'
1 warning generated.
_configtest.c:1:5: warning: incompatible redeclaration of library function
'exp' [-Wincompatible-library-redeclaration]
int exp (void);
^
_configtest.c:1:5: note: 'exp' is a builtin with type 'double (double)'
1 warning generated.
_configtest.c:1:10: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
_configtest.c:1:10: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
_configtest.c:1:10: fatal error: 'sys/endian.h' file not found
#include <sys/endian.h>
^
1 error generated.
_configtest.c:1:10: fatal error: 'sys/endian.h' file not found
#include <sys/endian.h>
^
1 error generated.
_configtest.c:7:12: error: use of undeclared identifier 'SIZEOF_LONGDOUBLE'
(void) SIZEOF_LONGDOUBLE;
^
1 error generated.
_configtest.c:7:12: error: use of undeclared identifier 'SIZEOF_LONGDOUBLE'
(void) SIZEOF_LONGDOUBLE;
^
1 error generated.
_configtest.c:7:28: error: 'test_array' declared as an array with a
negative size
static int test_array [1 - 2 * !(((long) (sizeof
(npy_check_sizeof_type))) == 8)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
_configtest.c:7:28: error: 'test_array' declared as an array with a
negative size
static int test_array [1 - 2 * !(((long) (sizeof
(npy_check_sizeof_type))) == 8)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
_configtest.c:7:28: error: 'test_array' declared as an array with a
negative size
static int test_array [1 - 2 * !(((long) (sizeof
(npy_check_sizeof_type))) == 4)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
_configtest.c:7:28: error: 'test_array' declared as an array with a
negative size
static int test_array [1 - 2 * !(((long) (sizeof
(npy_check_sizeof_type))) == 4)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
_configtest.c:7:28: error: 'test_array' declared as an array with a
negative size
static int test_array [1 - 2 * !(((long) (sizeof
(npy_check_sizeof_type))) <= 0)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
_configtest.c:7:28: error: 'test_array' declared as an array with a
negative size
static int test_array [1 - 2 * !(((long) (sizeof
(npy_check_sizeof_type))) <= 0)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
_configtest.c:7:28: error: 'test_array' declared as an array with a
negative size
static int test_array [1 - 2 * !(((long) (sizeof
(npy_check_sizeof_type))) <= 1)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
_configtest.c:7:28: error: 'test_array' declared as an array with a
negative size
static int test_array [1 - 2 * !(((long) (sizeof
(npy_check_sizeof_type))) <= 1)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
_configtest.c:7:28: error: 'test_array' declared as an array with a
negative size
static int test_array [1 - 2 * !(((long) (sizeof
(npy_check_sizeof_type))) <= 3)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
_configtest.c:7:28: error: 'test_array' declared as an array with a
negative size
static int test_array [1 - 2 * !(((long) (sizeof
(npy_check_sizeof_type))) <= 3)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
_configtest.c:7:28: error: 'test_array' declared as an array with a
negative size
static int test_array [1 - 2 * !(((long) (sizeof
(npy_check_sizeof_type))) <= 7)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
_configtest.c:7:28: error: 'test_array' declared as an array with a
negative size
static int test_array [1 - 2 * !(((long) (sizeof
(npy_check_sizeof_type))) <= 7)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
_configtest.c:1:5: warning: incompatible redeclaration of library function
'exp' [-Wincompatible-library-redeclaration]
int exp (void);