[Numpy-discussion] trouble on tru64

N Shimizu norishimi at gmail.com
Thu Jun 29 12:46:51 CDT 2006


Thank you for your reply.
The "config.h" is the following.
I hope it will be helpful.

Shimizu

/* #define SIZEOF_SHORT 2 */
/* #define SIZEOF_INT 4 */
/* #define SIZEOF_LONG 8 */
/* #define SIZEOF_FLOAT 4 */
/* #define SIZEOF_DOUBLE 8 */
#define SIZEOF_LONG_DOUBLE 16
#define SIZEOF_PY_INTPTR_T 8
/* #define SIZEOF_LONG_LONG 8 */
#define SIZEOF_PY_LONG_LONG 8
/* #define CHAR_BIT 8 */
#define MATHLIB m
#define HAVE_LONGDOUBLE_FUNCS
#define HAVE_FLOAT_FUNCS
#define HAVE_LOG1P
#define HAVE_EXPM1
#define HAVE_INVERSE_HYPERBOLIC
#define HAVE_INVERSE_HYPERBOLIC_FLOAT
#define HAVE_INVERSE_HYPERBOLIC_LONGDOUBLE
#define HAVE_ISNAN
#define HAVE_RINT



2006/6/30, Travis Oliphant <oliphant.travis at ieee.org>:
> N Shimizu wrote:
> > Hi everyone,
> >
> > I tried to build numpy 0.9.8 on compaq alpha tru64 UNIX v5.1 with gcc 4.0.2,
> >
> > but I encounterd the compilation trouble.
> >
>
> Thanks for the test.   This looks like a configuration problem.
> Could you post the config.h file that is generated when you run python
> setup.py
>
> It should be found in
>
> build/src.<platform>-<version>/numpy/core/config.h
>
> I don't think we've got the right set of configurations going for that
> platform.    Basically, we need to know if it has certain float and long
> versions of standard math functions (like floorf and floorl).
>
> It looks like the configuration code detected that it didn't have these
> functions but then during compilation, the functions that NumPy created
> were already defined causing the error.
>
> If we can first get a valid config.h file for your platform, then we can
> figure out how to generate it during build time.
>
> -Travis
>
>




More information about the Numpy-discussion mailing list