[Numpy-discussion] RFR: 995 - numpy.load can't handle gzip file handles

Nils Wagner nwagner@iam.uni-stuttgart...
Sat Feb 21 13:34:53 CST 2009


On Sat, 21 Feb 2009 12:58:14 +0200
  Stéfan van der Walt <stefan@sun.ac.za> wrote:
> Hi,
> 
> Based on an example on Effbot, I implemented a 
>workaround for reverse
> seeking in gzip files.  I need someone with Python 2.4 
>to review:
> 
> http://www.scipy.org/scipy/numpy/ticket/995
> 
> Thanks!
> Stéfan
> _________________

Hi Stefan,

I would like to help but I failed to install numpy
(python2.4 Suse Linux 9.3)

In file included from 
numpy/core/src/multiarraymodule.c:96:
numpy/core/src/umath_funcs_c99.inc.src:269: warning: 
conflicting types for built-in function `sinl'
numpy/core/src/umath_funcs_c99.inc.src:269: warning: 
conflicting types for built-in function `cosl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `tanl'
/usr/include/bits/mathcalls.h:68: error: previous 
declaration of `tanl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `sinhl'
/usr/include/bits/mathcalls.h:75: error: previous 
declaration of `sinhl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `coshl'
/usr/include/bits/mathcalls.h:73: error: previous 
declaration of `coshl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `tanhl'
/usr/include/bits/mathcalls.h:77: error: previous 
declaration of `tanhl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `fabsl'
/usr/include/bits/mathinline.h:476: error: previous 
declaration of `fabsl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `floorl'
/usr/include/bits/mathinline.h:530: error: previous 
declaration of `floorl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `ceill'
/usr/include/bits/mathinline.h:541: error: previous 
declaration of `ceill'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `rintl'
/usr/include/bits/mathcalls.h:280: error: previous 
declaration of `rintl'
numpy/core/src/umath_funcs_c99.inc.src:269: warning: 
conflicting types for built-in function `truncl'
numpy/core/src/umath_funcs_c99.inc.src:269: warning: 
conflicting types for built-in function `sqrtl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `log10l'
/usr/include/bits/mathcalls.h:113: error: previous 
declaration of `log10l'
numpy/core/src/umath_funcs_c99.inc.src:269: warning: 
conflicting types for built-in function `logl'
numpy/core/src/umath_funcs_c99.inc.src:269: warning: 
conflicting types for built-in function `expl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `expm1l'
/usr/include/bits/mathcalls.h:129: error: previous 
declaration of `expm1l'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `asinl'
/usr/include/bits/mathcalls.h:57: error: previous 
declaration of `asinl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `acosl'
/usr/include/bits/mathcalls.h:55: error: previous 
declaration of `acosl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `atanl'
/usr/include/bits/mathcalls.h:59: error: previous 
declaration of `atanl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `asinhl'
/usr/include/bits/mathcalls.h:91: error: previous 
declaration of `asinhl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `acoshl'
/usr/include/bits/mathcalls.h:89: error: previous 
declaration of `acoshl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `atanhl'
/usr/include/bits/mathcalls.h:93: error: previous 
declaration of `atanhl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `log1pl'
/usr/include/bits/mathcalls.h:132: error: previous 
declaration of `log1pl'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `exp2l'
/usr/include/bits/mathcalls.h:142: error: previous 
declaration of `exp2l'
numpy/core/src/umath_funcs_c99.inc.src:269: error: 
conflicting types for `log2l'
/usr/include/bits/mathcalls.h:145: error: previous 
declaration of `log2l'
numpy/core/src/umath_funcs_c99.inc.src:285: error: 
conflicting types for `atan2l'
/usr/include/bits/mathcalls.h:61: error: previous 
declaration of `atan2l'
numpy/core/src/umath_funcs_c99.inc.src:285: error: 
conflicting types for `hypotl'
/usr/include/bits/mathcalls.h:163: error: previous 
declaration of `hypotl'
numpy/core/src/umath_funcs_c99.inc.src:285: error: 
conflicting types for `powl'
/usr/include/bits/mathcalls.h:154: error: previous 
declaration of `powl'
numpy/core/src/umath_funcs_c99.inc.src:285: error: 
conflicting types for `fmodl'
/usr/include/bits/mathcalls.h:188: error: previous 
declaration of `fmodl'
numpy/core/src/umath_funcs_c99.inc.src:296: error: 
conflicting types for `modfl'
/usr/include/bits/mathcalls.h:116: error: previous 
declaration of `modfl'
In file included from 
numpy/core/src/scalartypes.inc.src:8,
                  from numpy/core/src/arrayobject.c:545,
                  from 
numpy/core/src/multiarraymodule.c:111:
build/src.linux-i686-2.4/numpy/core/include/numpy/config.h:10:1: 
warning: "SIZEOF_LONG_DOUBLE" redefined
build/src.linux-i686-2.4/numpy/core/include/numpy/config.h:6:1: 
warning: this is the location of the previous definition
In file included from numpy/core/src/arraytypes.inc.src:2,
                  from numpy/core/src/arrayobject.c:546,
                  from 
numpy/core/src/multiarraymodule.c:111:
build/src.linux-i686-2.4/numpy/core/include/numpy/config.h:6:1: 
warning: "SIZEOF_LONG_DOUBLE" redefined
In file included from 
numpy/core/src/scalartypes.inc.src:8,
                  from numpy/core/src/arrayobject.c:545,
                  from 
numpy/core/src/multiarraymodule.c:111:
build/src.linux-i686-2.4/numpy/core/include/numpy/config.h:10:1: 
warning: this is the location of the previous definition
In file included from numpy/core/src/arraytypes.inc.src:2,
                  from numpy/core/src/arrayobject.c:546,
                  from 
numpy/core/src/multiarraymodule.c:111:
build/src.linux-i686-2.4/numpy/core/include/numpy/config.h:10:1: 
warning: "SIZEOF_LONG_DOUBLE" redefined
build/src.linux-i686-2.4/numpy/core/include/numpy/config.h:6:1: 
warning: this is the location of the previous definition
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG 
-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -g 
-fPIC -Ibuild/src.linux-i686-2.4/numpy/core/src 
-Inumpy/core/include 
-Ibuild/src.linux-i686-2.4/numpy/core/include/numpy 
-Inumpy/core/src -Inumpy/core/include 
-I/usr/include/python2.4 -c 
numpy/core/src/multiarraymodule.c -o 
build/temp.linux-i686-2.4/numpy/core/src/multiarraymodule.o" 
failed with exit status 1

Cheers,

       Nils

  


More information about the Numpy-discussion mailing list