8000 easy_install2.7 numpy broken (on systems without previous version of numpy?) · Issue #2990 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

easy_install2.7 numpy broken (on systems without previous version of numpy?) #2990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
erg opened this issue Feb 15, 2013 · 4 comments
Closed

Comments

@erg
Copy link
erg commented Feb 15, 2013

My system has no scipy or numpy. Let me know if you need anything else. Thanks!

erg@ommegang /usr/lib/python2.7/site-packages $ uname -a
Linux ommegang 3.7.7-1-ARCH #1 SMP PREEMPT Mon Feb 11 20:20:58 EET 2013 x86_64 GNU/Linux
erg@ommegang /usr/lib/python2.7/site-packages $ sudo easy_install-2.7 numpy
Searching for numpy
Reading http://pypi.python.org/simple/numpy/
Reading http://numpy.scipy.org
Reading http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103
Reading http://www.numpy.org
Reading http://sourceforge.net/projects/numpy/files/NumPy/
Reading http://numeric.scipy.org
Best match: numpy 1.7.0
Downloading http://pypi.python.org/packages/source/n/numpy/numpy-1.7.0.zip#md5=ca27913c59393940e880fab420f985b4
Processing numpy-1.7.0.zip
Writing /tmp/easy_install-E4C0eI/numpy-1.7.0/setup.cfg
Running numpy-1.7.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-E4C0eI/numpy-1.7.0/egg-dist-tmp-rcwuVd
Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
/tmp/easy_install-E4C0eI/numpy-1.7.0/numpy/distutils/system_info.py:1494: UserWarning: 
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
/tmp/easy_install-E4C0eI/numpy-1.7.0/numpy/distutils/system_info.py:1408: UserWarning: 
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
Found executable /usr/bin/gfortran
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
_configtest.o: In function `main':
_configtest.c:(.text.startup+0x5): undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
_configtest.c:(.text.startup+0x5): undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:7:12: error: ‘SIZEOF_LONGDOUBLE’ undeclared (first use in this function)
_configtest.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
_configtest.c: In function ‘main’:
_configtest.c:7:12: error: ‘SIZEOF_LONGDOUBLE’ undeclared (first use in this function)
_configtest.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:7:16: error: size of array ‘test_array’ is negative
_configtest.c: In function ‘main’:
_configtest.c:7:16: error: size of array ‘test_array’ is negative
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
_configtest.o: In function `main':
_configtest.c:(.text.startup+0x5): undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
_configtest.c:(.text.startup+0x5): undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
_configtest.c:1:5: warning: conflicting types for built-in function ‘asin’ [enabled by default]
_configtest.c:2:5: warning: conflicting types for built-in function ‘cos’ [enabled by default]
_configtest.c:3:5: warning: conflicting types for built-in function ‘log’ [enabled by default]
_configtest.c:4:5: warning: conflicting types for built-in function ‘fabs’ [enabled by default]
_configtest.c:5:5: warning: conflicting types for built-in function ‘tanh’ [enabled by default]
_configtest.c:6:5: warning: conflicting types for built-in function ‘atan’ [enabled by default]
_configtest.c:7:5: warning: conflicting types for built-in function ‘acos’ [enabled by default]
_configtest.c:8:5: warning: conflicting types for built-in function ‘floor’ [enabled by default]
_configtest.c:9:5: warning: conflicting types for built-in function ‘fmod’ [enabled by default]
_configtest.c:10:5: warning: conflicting types for built-in function ‘sqrt’ [enabled by default]
_configtest.c:11:5: warning: conflicting types for built-in function ‘cosh’ [enabled by default]
_configtest.c:12:5: warning: conflicting types for built-in function ‘modf’ [enabled by default]
_configtest.c:13:5: warning: conflicting types for built-in function ‘sinh’ [enabled by default]
_configtest.c:14:5: warning: conflicting types for built-in function ‘frexp’ [enabled by default]
_configtest.c:15:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
_configtest.c:16:5: warning: conflicting types for built-in function ‘tan’ [enabled by default]
_configtest.c:17:5: warning: conflicting types for built-in function ‘ceil’ [enabled by default]
_configtest.c:18:5: warning: conflicting types for built-in function ‘log10’ [enabled by default]
_configtest.c:19:5: warning: conflicting types for built-in function ‘sin’ [enabled by default]
_configtest.c:20:5: warning: conflicting types for built-in function ‘ldexp’ [enabled by default]
_configtest.c:1:5: warning: conflicting types for built-in function ‘log2’ [enabled by default]
_configtest.c:2:5: warning: conflicting types for built-in function ‘pow’ [enabled by default]
_configtest.c:3:5: warning: conflicting types for built-in function ‘exp2’ [enabled by default]
_configtest.c:4:5: warning: conflicting types for built-in function ‘atan2’ [enabled by default]
_configtest.c:5:5: warning: conflicting types for built-in function ‘rint’ [enabled by default]
_configtest.c:6:5: warning: conflicting types for built-in function ‘nextafter’ [enabled by default]
_configtest.c:7:5: warning: conflicting types for built-in function ‘trunc’ [enabled by default]
_configtest.c:1:5: warning: conflicting types for built-in function ‘cosf’ [enabled by default]
_configtest.c:2:5: warning: conflicting types for built-in function ‘coshf’ [enabled by default]
_configtest.c:3:5: warning: conflicting types for built-in function ‘rintf’ [enabled by default]
_configtest.c:4:5: warning: conflicting types for built-in function ‘fabsf’ [enabled by default]
_configtest.c:5:5: warning: conflicting types for built-in function ‘floorf’ [enabled by default]
_configtest.c:6:5: warning: conflicting types for built-in function ‘nextafterf’ [enabled by default]
_configtest.c:7:5: warning: conflicting types for built-in function ‘tanhf’ [enabled by default]
_configtest.c:8:5: warning: conflicting types for built-in function ‘log10f’ [enabled by default]
_configtest.c:9:5: warning: conflicting types for built-in function ‘logf’ [enabled by default]
_configtest.c:10:5: warning: conflicting types for built-in function ‘sinhf’ [enabled by default]
_configtest.c:11:5: warning: conflicting types for built-in function ‘acosf’ [enabled by default]
_configtest.c:12:5: warning: conflicting types for built-in function ‘sqrtf’ [enabled by default]
_configtest.c:13:5: warning: conflicting types for built-in function ‘ldexpf’ [enabled by default]
_configtest.c:14:5: warning: conflicting types for built-in function ‘hypotf’ [enabled by default]
_configtest.c:15:5: warning: conflicting types for built-in function ‘log2f’ [enabled by default]
_configtest.c:16:5: warning: conflicting types for built-in function ‘exp2f’ [enabled by default]
_configtest.c:17:5: warning: conflicting types for built-in function ‘atanf’ [enabled by default]
_configtest.c:18:5: warning: conflicting types for built-in function ‘fmodf’ [enabled by default]
_configtest.c:19:5: warning: conflicting types for built-in function ‘atan2f’ [enabled by default]
_configtest.c:20:5: warning: conflicting types for built-in function ‘modff’ [enabled by default]
_configtest.c:21:5: warning: conflicting types for built-in function ‘ceilf’ [enabled by default]
_configtest.c:22:5: warning: conflicting types for built-in function ‘log1pf’ [enabled by default]
_configtest.c:23:5: warning: conflicting types for built-in function ‘asinf’ [enabled by default]
_configtest.c:24:5: warning: conflicting types for built-in function ‘copysignf’ [enabled by default]
_configtest.c:25:5: warning: conflicting types for built-in function ‘acoshf’ [enabled by default]
_configtest.c:26:5: warning: conflicting types for built-in function ‘sinf’ [enabled by default]
_configtest.c:27:5: warning: conflicting types for built-in function ‘tanf’ [enabled by default]
_configtest.c:28:5: warning: conflicting types for built-in function ‘atanhf’ [enabled by default]
_configtest.c:29:5: warning: conflicting types for built-in function ‘truncf’ [enabled by default]
_configtest.c:30:5: warning: conflicting types for built-in function ‘asinhf’ [enabled by default]
_configtest.c:31:5: warning: conflicting types for built-in function ‘frexpf’ [enabled by default]
_configtest.c:32:5: warning: conflicting types for built-in function ‘powf’ [enabled by default]
_configtest.c:33:5: warning: conflicting types for built-in function ‘expf’ [enabled by default]
_configtest.c:34:5: warning: conflicting types for built-in function ‘expm1f’ [enabled by default]
_configtest.c:1:5: warning: conflicting types for built-in function ‘tanhl’ [enabled by default]
_configtest.c:2:5: warning: conflicting types for built-in function ‘log10l’ [enabled by default]
_configtest.c:3:5: warning: conflicting types for built-in function ‘nextafterl’ [enabled by default]
_configtest.c:4:5: warning: conflicting types for built-in function ‘coshl’ [enabled by default]
_configtest.c:5:5: warning: conflicting types for built-in function ‘cosl’ [enabled by default]
_configtest.c:6:5: warning: conflicting types for built-in function ‘floorl’ [enabled by default]
_configtest.c:7:5: warning: conflicting types for built-in function ‘rintl’ [enabled by default]
_configtest.c:8:5: warning: conflicting types for built-in function ‘fabsl’ [enabled by default]
_configtest.c:9:5: warning: conflicting types for built-in function ‘acosl’ [enabled by default]
_configtest.c:10:5: warning: conflicting types for built-in function ‘ldexpl’ [enabled by default]
_configtest.c:11:5: warning: conflicting types for built-in function ‘sqrtl’ [enabled by default]
_configtest.c:12:5: warning: conflicting types for built-in function ‘logl’ [enabled by default]
_configtest.c:13:5: warning: conflicting types for built-in function ‘expm1l’ [enabled by default]
_configtest.c:14:5: warning: conflicting types for built-in function ‘hypotl’ [enabled by default]
_configtest.c:15:5: warning: conflicting types for built-in function ‘log2l’ [enabled by default]
_configtest.c:16:5: warning: conflicting types for built-in function ‘copysignl’ [enabled by default]
_configtest.c:17:5: warning: conflicting types for built-in function ‘exp2l’ [enabled by default]
_configtest.c:18:5: warning: conflicting types for built-in function ‘atanl’ [enabled by default]
_configtest.c:19:5: warning: conflicting types for built-in function ‘frexpl’ [enabled by default]
_configtest.c:20:5: warning: conflicting types for built-in function ‘atan2l’ [enabled by default]
_configtest.c:21:5: warning: conflicting types for built-in function ‘sinhl’ [enabled by default]
_configtest.c:22:5: warning: conflicting types for built-in function ‘fmodl’ [enabled by default]
_configtest.c:23:5: warning: conflicting types for built-in function ‘log1pl’ [enabled by default]
_configtest.c:24:5: warning: conflicting types for built-in function ‘asinl’ [enabled by default]
_configtest.c:25:5: warning: conflicting types for built-in function ‘ceill’ [enabled by default]
_configtest.c:26:5: warning: conflicting types for built-in function ‘sinl’ [enabled by default]
_configtest.c:27:5: warning: conflicting types for built-in function ‘acoshl’ [enabled by default]
_configtest.c:28:5: warning: conflicting types for built-in function ‘atanhl’ [enabled by default]
_configtest.c:29:5: warning: conflicting types for built-in function ‘tanl’ [enabled by default]
_configtest.c:30:5: warning: conflicting types for built-in function ‘truncl’ [enabled by default]
_configtest.c:31:5: warning: conflicting types for built-in function ‘powl’ [enabled by default]
_configtest.c:32:5: warning: conflicting types for built-in function ‘expl’ [enabled by default]
_configtest.c:33:5: warning: conflicting types for built-in function ‘modfl’ [enabled by default]
_configtest.c:34:5: warning: conflicting types for built-in function ‘asinhl’ [enabled by default]
_configtest.c: In function ‘main’:
_configtest.c:8:12: error: ‘HAVE_DECL_SIGNBIT’ undeclared (first use in this function)
_configtest.c:8:12: note: each undeclared identifier is reported only once for each function it appears in
_configtest.c: In function ‘main’:
_configtest.c:8:12: error: ‘HAVE_DECL_SIGNBIT’ undeclared (first use in this function)
_configtest.c:8:12: note: each undeclared identifier is reported only once for each function it appears in
_configtest.c:1:5: warning: conflicting types for built-in function ‘cexp’ [enabled by default]
_configtest.c:2:5: warning: conflicting types for built-in function ‘clog’ [enabled by default]
_configtest.c:3:5: warning: conflicting types for built-in function ‘ccos’ [enabled by default]
_configtest.c:4:5: warning: conflicting types for built-in function ‘cimag’ [enabled by default]
_configtest.c:5:5: warning: conflicting types for built-in function ‘cabs’ [enabled by default]
_configtest.c:6:5: warning: conflicting types for built-in function ‘cpow’ [enabled by default]
_configtest.c:7:5: warning: conflicting types for built-in function ‘csqrt’ [enabled by default]
_configtest.c:8:5: warning: conflicting types for built-in function ‘carg’ [enabled by default]
_configtest.c:9:5: warning: conflicting types for built-in function ‘creal’ [enabled by default]
_configtest.c:10:5: warning: conflicting types for built-in function ‘csin’ [enabled by default]
_configtest.c:1:5: warning: conflicting types for built-in function ‘ccosf’ [enabled by default]
_configtest.c:2:5: warning: conflicting types for built-in function ‘cargf’ [enabled by default]
_configtest.c:3:5: warning: conflicting types for built-in function ‘csqrtf’ [enabled by default]
_configtest.c:4:5: warning: conflicting types for built-in function ‘cpowf’ [enabled by default]
_configtest.c:5:5: warning: conflicting types for built-in function ‘cexpf’
8000
 [enabled by default]
_configtest.c:6:5: warning: conflicting types for built-in function ‘crealf’ [enabled by default]
_configtest.c:7:5: warning: conflicting types for built-in function ‘csinf’ [enabled by default]
_configtest.c:8:5: warning: conflicting types for built-in function ‘cabsf’ [enabled by default]
_configtest.c:9:5: warning: conflicting types for built-in function ‘clogf’ [enabled by default]
_configtest.c:10:5: warning: conflicting types for built-in function ‘cimagf’ [enabled by default]
_configtest.c:1:5: warning: conflicting types for built-in function ‘csqrtl’ [enabled by default]
_configtest.c:2:5: warning: conflicting types for built-in function ‘cargl’ [enabled by default]
_configtest.c:3:5: warning: conflicting types for built-in function ‘cexpl’ [enabled by default]
_configtest.c:4:5: warning: conflicting types for built-in function ‘ccosl’ [enabled by default]
_configtest.c:5:5: warning: conflicting types for built-in function ‘cpowl’ [enabled by default]
_configtest.c:6:5: warning: conflicting types for built-in function ‘cimagl’ [enabled by default]
_configtest.c:7:5: warning: conflicting types for built-in function ‘csinl’ [enabled by default]
_configtest.c:8:5: warning: conflicting types for built-in function ‘creall’ [enabled by default]
_configtest.c:9:5: warning: conflicting types for built-in function ‘clogl’ [enabled by default]
_configtest.c:10:5: warning: conflicting types for built-in function ‘cabsl’ [enabled by default]
('File:', 'build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h')
#define HAVE_ENDIAN_H 1
#define SIZEOF_PY_INTPTR_T 8
#define SIZEOF_PY_LONG_LONG 8
#define MATHLIB m
#define HAVE_SIN 1
#define HAVE_COS 1
#define HAVE_TAN 1
#define HAVE_SINH 1
#define HAVE_COSH 1
#define HAVE_TANH 1
#define HAVE_FABS 1
#define HAVE_FLOOR 1
#define HAVE_CEIL 1
#define HAVE_SQRT 1
#define HAVE_LOG10 1
#define HAVE_LOG 1
#define HAVE_EXP 1
#define HAVE_ASIN 1
#define HAVE_ACOS 1
#define HAVE_ATAN 1
#define HAVE_FMOD 1
#define HAVE_MODF 1
#define HAVE_FREXP 1
#define HAVE_LDEXP 1
#define HAVE_RINT 1
#define HAVE_TRUNC 1
#define HAVE_EXP2 1
#define HAVE_LOG2 1
#define HAVE_ATAN2 1
#define HAVE_POW 1
#define HAVE_NEXTAFTER 1
#define HAVE_SINF 1
#define HAVE_COSF 1
#define HAVE_TANF 1
#define HAVE_SINHF 1
#define HAVE_COSHF 1
#define HAVE_TANHF 1
#define HAVE_FABSF 1
#define HAVE_FLOORF 1
#define HAVE_CEILF 1
#define HAVE_RINTF 1
#define HAVE_TRUNCF 1
#define HAVE_SQRTF 1
#define HAVE_LOG10F 1
#define HAVE_LOGF 1
#define HAVE_LOG1PF 1
#define HAVE_EXPF 1
#define HAVE_EXPM1F 1
#define HAVE_ASINF 1
#define HAVE_ACOSF 1
#define HAVE_ATANF 1
#define HAVE_ASINHF 1
#define HAVE_ACOSHF 1
#define HAVE_ATANHF 1
#define HAVE_HYPOTF 1
#define HAVE_ATAN2F 1
#define HAVE_POWF 1
#define HAVE_FMODF 1
#define HAVE_MODFF 1
#define HAVE_FREXPF 1
#define HAVE_LDEXPF 1
#define HAVE_EXP2F 1
#define HAVE_LOG2F 1
#define HAVE_COPYSIGNF 1
#define HAVE_NEXTAFTERF 1
#define HAVE_SINL 1
#define HAVE_COSL 1
#define HAVE_TANL 1
#define HAVE_SINHL 1
#define HAVE_COSHL 1
#define HAVE_TANHL 1
#define HAVE_FABSL 1
#define HAVE_FLOORL 1
#define HAVE_CEILL 1
#define HAVE_RINTL 1
#define HAVE_TRUNCL 1
#define HAVE_SQRTL 1
#define HAVE_LOG10L 1
#define HAVE_LOGL 1
#define HAVE_LOG1PL 1
#define HAVE_EXPL 1
#define HAVE_EXPM1L 1
#define HAVE_ASINL 1
#define HAVE_ACOSL 1
#define HAVE_ATANL 1
#define HAVE_ASINHL 1
#define HAVE_ACOSHL 1
#define HAVE_ATANHL 1
#define HAVE_HYPOTL 1
#define HAVE_ATAN2L 1
#define HAVE_POWL 1
#define HAVE_FMODL 1
#define HAVE_MODFL 1
#define HAVE_FREXPL 1
#define HAVE_LDEXPL 1
#define HAVE_EXP2L 1
#define HAVE_LOG2L 1
#define HAVE_COPYSIGNL 1
#define HAVE_NEXTAFTERL 1
#define HAVE_DECL_SIGNBIT
#define HAVE_COMPLEX_H 1
#define HAVE_CREAL 1
#define HAVE_CIMAG 1
#define HAVE_CABS 1
#define HAVE_CARG 1
#define HAVE_CEXP 1
#define HAVE_CSQRT 1
#define HAVE_CLOG 1
#define HAVE_CCOS 1
#define HAVE_CSIN 1
#define HAVE_CPOW 1
#define HAVE_CREALF 1
#define HAVE_CIMAGF 1
#define HAVE_CABSF 1
#define HAVE_CARGF 1
#define HAVE_CEXPF 1
#define HAVE_CSQRTF 1
#define HAVE_CLOGF 1
#define HAVE_CCOSF 1
#define HAVE_CSINF 1
#define HAVE_CPOWF 1
#define HAVE_CREALL 1
#define HAVE_CIMAGL 1
#define HAVE_CABSL 1
#define HAVE_CARGL 1
#define HAVE_CEXPL 1
#define HAVE_CSQRTL 1
#define HAVE_CLOGL 1
#define HAVE_CCOSL 1
#define HAVE_CSINL 1
#define HAVE_CPOWL 1
#define HAVE_LDOUBLE_INTEL_EXTENDED_16_BYTES_LE 1
#ifndef __cplusplus
/* #undef inline */
#endif

#ifndef _NPY_NPY_CONFIG_H_
#error config.h should never be included directly, include npy_config.h instead
#endif

EOF
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
_configtest.o: In function `main':
_configtest.c:(.text.startup+0x5): undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.o: In function `main':
_configtest.c:(.text.startup+0x5): undefined reference to `exp'
collect2: error: ld returned 1 exit status
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
_configtest.c: In function ‘main’:
_configtest.c:5:18: warning: extra tokens at end of #ifndef directive [enabled by default]
File: build/src.linux-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h
#define NPY_HAVE_ENDIAN_H 1
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
#define NPY_SIZEOF_INT SIZEOF_INT
#define NPY_SIZEOF_LONG SIZEOF_LONG
#define NPY_SIZEOF_FLOAT 4
#define NPY_SIZEOF_COMPLEX_FLOAT 8
#define NPY_SIZEOF_DOUBLE 8
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
#define NPY_SIZEOF_LONGDOUBLE 16
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
#define NPY_SIZEOF_PY_INTPTR_T 8
#define NPY_SIZEOF_PY_LONG_LONG 8
#define NPY_SIZEOF_LONGLONG 8
#define NPY_NO_SMP 0
#define NPY_HAVE_DECL_ISNAN
#define NPY_HAVE_DECL_ISINF
#define NPY_HAVE_DECL_ISFINITE
#define NPY_HAVE_DECL_SIGNBIT
#define NPY_USE_C99_COMPLEX 1
#define NPY_HAVE_COMPLEX_DOUBLE 1
#define NPY_HAVE_COMPLEX_FLOAT 1
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
#define NPY_USE_C99_FORMATS 1
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
#define NPY_ABI_VERSION 0x01000009
#define NPY_API_VERSION 0x00000007

#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS 1
#endif

EOF
non-existing path in 'numpy/core': 'build/src.linux-x86_64-2.7/numpy/core/src/multiarray'
non-existing path in 'numpy/core': 'build/src.linux-x86_64-2.7/numpy/core/src/umath'
In file included from /usr/include/python2.7/Python.h:8:0,
                 from numpy/core/src/private/npy_sort.h:5,
                 from numpy/core/src/npysort/quicksort.c.src:32:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
In file included from /usr/include/stdlib.h:24:0,
                 from numpy/core/src/npysort/quicksort.c.src:31:
/usr/include/features.h:231:0: note: this is the location of the previous definition
In file included from /usr/include/python2.7/Python.h:8:0,
                 from numpy/core/src/private/npy_sort.h:5,
                 from numpy/core/src/npysort/mergesort.c.src:32:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
In file included from /usr/include/stdlib.h:24:0,
                 from numpy/core/src/npysort/mergesort.c.src:31:
/usr/include/features.h:231:0: note: this is the location of the previous definition
In file included from /usr/include/python2.7/Python.h:8:0,
                 from numpy/core/src/private/npy_sort.h:5,
                 from numpy/core/src/npysort/heapsort.c.src:32:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
In file included from /usr/include/stdlib.h:24:0,
                 from numpy/core/src/npysort/heapsort.c.src:31:
/usr/include/features.h:231:0: note: this is the location of the previous definition
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:26:0:
numpy/core/src/multiarray/mapping.c: In function ‘array_ass_sub’:
numpy/core/src/multiarray/mapping.c:1294:20: warning: assignment from incompatible pointer type [enabled by default]
numpy/numarray/_capi.c: In function ‘NA_OutputArray’:
numpy/numarray/_capi.c:1104:5: warning: passing argument 2 of ‘(int (*)(struct PyArrayObject *, struct PyArrayObject *))*(PyArray_API + 2296u)’ from incompatible pointer type [enabled by default]
numpy/numarray/_capi.c:1104:5: note: expected ‘struct PyArrayObject *’ but argument is of type ‘struct PyObject *’
zip_safe flag not set; analyzing archive contents...
numpy._import_tools: module references __file__
numpy._import_tools: module references __path__
numpy.distutils.npy_pkg_config: module references __file__
numpy.distutils.misc_util: module references __file__
numpy.distutils.exec_command: module references __file__
numpy.distutils.system_info: module references __file__
numpy.distutils.command.scons: module references __file__
numpy.distutils.command.build_src: module references __file__
numpy.distutils.fcompiler.__init__: module references __file__
numpy.distutils.fcompiler.compaq: module references __file__
numpy.testing.noseclasses: module references __file__
numpy.testing.utils: module references __file__
numpy.testing.nosetester: module references __file__
numpy.testing.numpytest: module references __file__
numpy.f2py.setup: module references __file__
numpy.f2py.setupscons: module references __file__
numpy.f2py.diagnose: module references __file__
numpy.f2py.f2py2e: module references __file__
numpy.core.setup: module references __file__
numpy.core.scons_support: module references __file__
numpy.core.setup_common: module references __file__
numpy.core.generate_numpy_api: module references __file__
numpy.lib.utils: module references __file__
numpy.lib.utils: module references __path__
numpy.lib.utils: module MAY be using inspect.getsource
numpy.lib.utils: module MAY be using inspect.getsourcefile
numpy.numarray.util: module references __file__
numpy.doc.__init__: module references __file__
Adding numpy 1.7.0 to easy-install.pth file
Installing f2py2 script to /usr/bin

Installed /usr/lib/python2.7/site-packages/numpy-1.7.0-py2.7-linux-x86_64.egg
Processing dependencies for numpy
Finished processing dependencies for numpy
/tmp/easy_install-E4C0eI/numpy-1.7.0/numpy/distutils/misc_util.py:252: RuntimeWarning: Parent module 'numpy.distutils' not found while handling absolute import
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/tmp/easy_install-E4C0eI/numpy-1.7.0/numpy/distutils/misc_util.py", line 252, in clean_up_temporary_directory
ImportError: No module named numpy.distutils
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/tmp/easy_install-E4C0eI/numpy-1.7.0/numpy/distutils/misc_util.py", line 252, in clean_up_temporary_directory
ImportError: No module named numpy.distutils
@erg
Copy link
Author
erg commented Feb 15, 2013

Also there are tons of "errors":

_configtest.c: In function ‘main’:
_configtest.c:5:16: error: size of array ‘test_array’ is negative

I could open a separate issue for that.

@rkern
Copy link
Member
rkern commented Feb 15, 2013

Those aren't errors in numpy's build. As the name of the file suggests, those are files compiled to test if your environment supports certain functionality. If you don't have the tested functionality, those _configtest.c files will fail to compile. That's fine, as numpy's build process will note the failure, adjust the configuration accordingly and continue.

@erg
Copy link
Author
erg commented Feb 15, 2013

Yes, but the output of _configtest.c doesn't have to spam the console with the results imo.

@charris
Copy link
Member
charris commented Feb 20, 2014

Unfortunately, easy_install doesn't work well with numpy, and numpy isn't unique in that regard. Hopefully wheels will help with this issue.

Closing.

@charris charris closed this as completed Feb 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0