[sage-support] Re: Problem with compilation of a module

2008-02-07 Thread Simon King
Dear sage team, sorry that i asked, because the solution is easy: Instead of saying > gcc -c -fPIC -I/usr/local/include/python2.5/ -o Tensors.o Tensors.c i should have said > gcc -c -fPIC -I/usr/local/sage-2.8.6/local/include/python2.5/ -o Tensors.o > Tensors.c Now my module Tensors.so works.

[sage-support] Re: Problem with compilation of a module

2008-02-07 Thread Michael Abshoff
Simon King wrote: > > Dear sage team, Hi Simon, > i wrote some module defining a class "Tensor" (just a quick hack), and > if this is in a file Tensors.spyx, then > sage: attach Tensors.spyx > works perfectly. > > Now, i changed it to a file Tensors.pyx, and created Tensors.so like > this: >>