It's the first compile that includes numpy headers, i.e. the header "numpy/ndarrayobject.h". The output is
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tmp/tmpr P11xO-sage-git-temp-15178/local/lib/python/site-packages/numpy/core/include -I/ tmp/tmprP11xO-sage-git-temp-15178/local/include -I/tmp/tmprP11xO-sage-git-temp- 15178/local/include/csage -I/tmp/tmprP11xO-sage-git-temp-15178/src -I/tmp/tmprP 11xO-sage-git-temp-15178/src/sage/ext -I/home/ralf/sage/local/include/python2.7 -c sage/calculus/riemann.c -o build/temp.linux-x86_64-2.7/sage/calculus/rieman n.o -fno-strict-aliasing -w sage/calculus/riemann.c:348:31: fatal error: numpy/arrayobject.h: No such file or directory On Mon, May 19, 2014 at 11:54 AM, Francois Bissey < [email protected]> wrote: > Hi, > > this is the expected behaviour. At compilation time you should have extra > CPPFLAGS > pointing to the right folder. Can you provide detail of the failed > compilation? > > Francois > > On 19/05/2014, at 20:36, Ralf Stephan <[email protected]> wrote: > > > Hello, > > can you please tell me if it's expected that setup.py installs C headers > of numpy > > into the python tree associated with the current running python instead > > of something under $SAGE_LOCAL/, e.g. include? > > > > If yes then this leads to failure to include numpy C headers when > compiling > > in unsafe patchbot runs (which clone into /tmp). The cython files have > > "cimport numpy" which generates '#include "numpy/...h" ' but this is not > found. > > > > Regards, > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To post to this group, send email to [email protected]. > > Visit this group at http://groups.google.com/group/sage-devel. > > For more options, visit https://groups.google.com/d/optout. > > > This email may be confidential and subject to legal privilege, it may > not reflect the views of the University of Canterbury, and it is not > guaranteed to be virus free. If you are not an intended recipient, > please notify the sender immediately and erase all copies of the message > and any attachments. > > Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more > information. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "sage-devel" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-devel/1dpr0__-ssw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
