On Jul 12, 5:35 am, ugus <[EMAIL PROTECTED]> wrote:
> Hi Michael,

Hi Osman,

> > but I would guess the problem lies deeper. I
> > checked and the dependencies for the Sage library include numpy. Can
> > you compress install.log and post a link here so that I can take a
> > look?
>
> you can download it 
> from:http://www.4shared.com/file/54868751/44cd2576/sage_install_log.html

Thanks. I found the problem, but so far I am still in the dark for the
cause since this is one of those things which cannot happen, but
apparently it does in your case:

My 3.0.4 build:

gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -fPIC -I/scratch/mabshoff/release-cycle/sage-3.0.4-vg/local/
lib/python2.5/site-packages/numpy/core/include/numpy -I/scrat
ch/mabshoff/release-cycle/sage-3.0.4-vg/local//include -I/scratch/
mabshoff/release-cycle/sage-3.0.4-vg/local//include/csage -I/scratch/
mabshoff/release-cycle/sage-3.0.4-vg/devel//sage/sage/ext -I/
scratch/mabshoff/release-cycle/sage-3.0.4-vg/local/include/python2.5 -
c sage/finance/time_series.c -o build/temp.linux-x86_64-2.5/sage/
finance/time_series.o -w -w

Your build of the time_series extension:

gcc -g -c -fPIC -O3 -fwrapv -fno-strict-aliasing devel/sage/sage/
finance/time_series.c -DNDEBUG  -I/var/abs/local/sage/src/sage-3.0.4/
local/include  -I/var/abs/local/sage/src/sage-3.0.4/local/incl
ude/csage  -I/var/abs/local/sage/src/sage-3.0.4/devel/sage/sage/ext  -
I/var/abs/local/sage/src/sage-3.0.4/local/include/python2.5  -o /var/
abs/local/sage/src/sage-3.0.4/devel/sage/build/temp/sage/
finance/time_series.o

Notice the missing numpy include. The build options for the
time_series extension are in $SAGE_ROOT/devel/sage/setup.py:

time_series = Extension('sage.finance.time_series',['sage/finance/
time_series.pyx'],
                        include_dirs=debian_include_dirs + [SAGE_ROOT
+'/local/lib/python2.5/site-packages/numpy/core/include/numpy'])

Can you check what exactly it says there? This seems to be a new
install, but did you build in a new directory or over an old version
of Sage?

What does "hg status" in $SAGE_ROOT/devel/sage say? You might have to
"source local/bin/sage-env" from $SAGE_ROOT to have hg in $PATH.

> > Cheers,
> > Michael
>
> Cheers,
> Osman

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
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