[SciPy-dev] Cannot build scipy_core (newcore) on Solaris 8
Christopher Hanley
chanley at stsci.edu
Tue Oct 11 21:02:14 CDT 2005
> O.K. Your system does not have the longdouble and floatingpoint math
> functions (or at least we need different headers to get them).
>
> Let's go back and remove the
>
> HAVE_LONGDOUBLE_FUNCS
>
> and
>
> HAVE_FLOAT_FUNCS
>
> lines
>
> from your config.h
>
> file and try again.
>
O.K. That did the trick. The config.h file now looks like this:
/* #define SIZEOF_SHORT 2 */
/* #define SIZEOF_INT 4 */
/* #define SIZEOF_LONG 4 */
/* #define SIZEOF_FLOAT 4 */
/* #define SIZEOF_DOUBLE 8 */
#define SIZEOF_LONG_DOUBLE 16
#define SIZEOF_PY_INTPTR_T 4
/* #define SIZEOF_LONG_LONG 8 */
#define SIZEOF_PY_LONG_LONG 8
/* #define CHAR_BIT 8 */
#define MATHLIB m
#define HAVE_INVERSE_HYPERBOLIC_FLOAT
All we need now is a setup.py file that can generate this automatically.
Thanks,
Chris
More information about the Scipy-dev
mailing list