Hi,

i am compiling sage-3.0.4 on Arch Linux. Everything compiled fine,
until the 61th pakage which is sage-3.0.4.spkg.

Compiling sage-3.0.4.spkg terminates with following errors stemming
from arrayobject.h file:

cython --embed-positions -I. -o sage/rings/padics/
padic_ZZ_pX_CA_element.c sage/rings/padics/padic_ZZ_pX_CA_element.pyx -
w devel/sage
In file included from devel/sage/sage/finance/time_series.c:106:
devel/sage/sage/finance/arrayobject.h:14:27: error: ndarrayobject.h:
No such file or directory
devel/sage/sage/finance/arrayobject.h:19:27: error: npy_interrupt.h:
No such file or directory
devel/sage/sage/finance/time_series.c: In function
‘__pyx_pf_4sage_7finance_11time_series_10TimeSeries___init__’:
devel/sage/sage/finance/time_series.c:1732: error: ‘PyArrayObject’
undeclared (first use in this function)
devel/sage/sage/finance/time_series.c:1732: error: (Each undeclared
identifier is reported only once
devel/sage/sage/finance/time_series.c:1732: error: for each function
it appears in.)
devel/sage/sage/finance/time_series.c:1732: error: ‘__pyx_v_np’
undeclared (first use in this function)
devel/sage/sage/finance/time_series.c:1758: error: expected expression
before ‘)’ token
devel/sage/sage/finance/time_series.c:1819: error: expected expression
before ‘)’ token
devel/sage/sage/finance/time_series.c:1851: error: expected expression
before ‘)’ token
devel/sage/sage/finance/time_series.c: In function
‘__pyx_pf_4sage_7finance_11time_series_10TimeSeries_numpy’:
devel/sage/sage/finance/time_series.c:9490: error: ‘PyArrayObject’
undeclared (first use in this function)
devel/sage/sage/finance/time_series.c:9490: error: ‘__pyx_v_n’
undeclared (first use in this function)
devel/sage/sage/finance/time_series.c:9536: warning: assignment makes
pointer from integer without a cast
devel/sage/sage/finance/time_series.c:9538: error: expected expression
before ‘)’ token
devel/sage/sage/finance/time_series.c: In function ‘inittime_series’:
devel/sage/sage/finance/time_series.c:11702: error: ‘PyArrayObject’
undeclared (first use in this function)

....
....

real    7m17.337s
user    13m4.915s
sys     0m13.806s
sage: An error occurred while installing sage-3.0.4


How can I fix it?

Cheers,
OSman

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to