On Dec 26, 2007 10:27 AM, bill.p <[EMAIL PROTECTED]> wrote: > > OK, I've done all that and figured out how to tackle the Python bits. > Now I'm having trouble recompiling the C++ source in the cremona... > package. > I unpacked the source into $(SAGE_ROOT)/spkg/build/ > cremona-20071124.p4, > ran 'sage -sh' to set up the environment, and typed make.
You should type cd $(SAGE_ROOT)/spkg/build/cremona-20071124.p4 ./spkg-install where I'm assuming you've made changes to src/* William > I'm including the first few lines of the output, which should be > sufficient to > indicate the nature of the problem. If you need more, let me know... > > ------------------------------------------------- > > felix cremona-20071124.p4$ cd src > felix src$ make > cd procs && make lib install > make[1]: Entering directory `/home/bill/maths/sage-2.9/spkg/build/ > cremona-20071124.p4/src/procs' > Makefile:93: warning: overriding commands for target `clean' > ../Makefile:66: warning: ignoring old commands for target `clean' > Makefile:96: warning: overriding commands for target `veryclean' > ../Makefile:74: warning: ignoring old commands for target `veryclean' > Makefile:109: warning: overriding commands for target `check' > ../Makefile:85: warning: ignoring old commands for target `check' > g++ -c -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -DNTL_ALL -I/usr/ > local/include -I/usr/local/include interface.cc -o interface_n.o > In file included from interface.cc:24: > interface.h:122:20: error: NTL/ZZ.h: No such file or directory > interface.h:123:30: error: NTL/ZZXFactoring.h: No such file or > directory > interface.h:282:20: error: NTL/RR.h: No such file or directory > interface.h:124: error: 'NTL' is not a namespace-name > interface.h:124: error: expected namespace-name before ';' token > interface.h:130: error: 'ZZ' does not name a type > interface.h:137: error: expected ',' or '...' before '&' token > interface.h:137: error: ISO C++ forbids declaration of 'ZZ' with no > type > interface.h: In function 'int is_zero(int)': > interface.h:137: error: 'x' was not declared in this scope > interface.h:137: error: 'IsZero' was not declared in this scope > ------------------------------------------------------------------------------------------ > What am I doing wrong? > > Many thanks > Bill > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] 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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
