[sage-support] Re: Sage install errors.

2011-09-25 Thread Maarten Derickx
>From the errors it looks like the installation did work, but starting the resulting sage didn't work. Can you confirm this by telling what was the command you executed to get the errors. It looks like a problem with circular imports somewhere in numpy (a python package used by sage), but those

[sage-support] Symbolic integration problem

2011-09-25 Thread Michael Orlitzky
I take it this is failing because Maxima can't determine that my upper bound is real. Is there some way to make it do what I want? > sage: B0 = SR.symbol('B0', domain='real') > sage: B1 = SR.symbol('B1', domain='real') > sage: B2 = SR.symbol('B2', domain='real') > sage: B3 = SR.symbol('B3', domain

[sage-support] error: C preprocessor "/lib/cpp" fails sanity check (installing sage-4.7.1 from source)

2011-09-25 Thread jsymons
I have tried to install sage-4.7.1 in a Linux system x86_64 from sources. I have installed all the required packages: gcc 4.5.3 (gcc, g+ +, gfortran...), m4, etc. After typing 'make' I obtained this: sage-4.7.1 $ make cd spkg && "../spkg/pipestatus" "./install all 2>&1" "tee -a ../ install.log" *

[sage-support] Fwd: Sage install errors.

2011-09-25 Thread Maarten Derickx
The fact that you used make to install sage made me slightly confused. >From the path where you installed sage "/home/li/sage/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/" I saw that you downloaded a prebuild binairy for the 32 bits version of ubuntu 10.04. The procedure of installing prebu

[sage-support] Re: error: C preprocessor "/lib/cpp" fails sanity check (installing sage-4.7.1 from source)

2011-09-25 Thread Maarten Derickx
You should not neet to run installing as root. The error seems to be caused by the fact that your C preprosessor as located in /lib/cpp is behaving different from what sage expects. Can you show what is in config.log file? -- To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: error: C preprocessor "/lib/cpp" fails sanity check (installing sage-4.7.1 from source)

2011-09-25 Thread John H Palmieri
On Sunday, September 25, 2011 9:03:23 AM UTC-7, Maarten Derickx wrote: > > You should not neet to run installing as root. The error seems to be caused > by the fact that your C preprosessor as located in /lib/cpp is behaving > different from what sage expects. Can you show what is in config.log f

[sage-support] Re: error: C preprocessor "/lib/cpp" fails sanity check (installing sage-4.7.1 from source)

2011-09-25 Thread jsymons
Hi Maarten! Hi John! 1) My cpp executable is in /lib64/ not in /lib/, and links to /usr/ bin/cpp Maybe this is the error. If you know how to solve it, please, tell me step by step how to do it. Thanks! 2) Yes, the file is SAGE_ROOT/spkg/build/prereq-0.9/config.log Here is the content:

[sage-support] Re: error: C preprocessor "/lib/cpp" fails sanity check (installing sage-4.7.1 from source)

2011-09-25 Thread jsymons
WAIT! It is also in /lib/ and links to /usr/bin/cpp -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL

[sage-support] Re: error: C preprocessor "/lib/cpp" fails sanity check (installing sage-4.7.1 from source)

2011-09-25 Thread Maarten Derickx
It seems that the error is that on your system you cannot include the c header file limits.h . But this is a file which is part of the C standard library and hence including it should work on any system with gcc installed. >From this I conclude that gcc shipped with your linux distro (pradus lin

Re: [sage-support] Re: error: C preprocessor "/lib/cpp" fails sanity check (installing sage-4.7.1 from source)

2011-09-25 Thread D. S. McNeil
> The shortest way to test it my above interpretation of your logs is indeed > correct is by seeing if excecuting: > echo "#include " | cpp > > gives any errors. If so my interpretation is correct. And if it is, which seems likely, there's probably a kernel headers package missing. Googling sugge

[sage-support] Re: error: C preprocessor "/lib/cpp" fails sanity check (installing sage-4.7.1 from source)

2011-09-25 Thread jsymons
Yes, the echo "#include " | cpp gave a fatal error: /usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory After installing the packages kernel-headers, kernel-module-headers, and kernel-docs, sage has been compiling until another error: **

[sage-support] Re: error: C preprocessor "/lib/cpp" fails sanity check (installing sage-4.7.1 from source)

2011-09-25 Thread jsymons
Well, I had installed lzo but not lzo-devel. Now, it seems OK. Still compiling. I will keep you updated. Cheers! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit

[sage-support] Fwd: Sage install errors.

2011-09-25 Thread Maarten Derickx
Just for the record, this problem is solved. Begin forwarded message: *From:* jianrong li *Date:* September 26, 2011 0:20:57 GMT+02:00 *To:* Maarten Derickx *Subject:* *Re: Sage install errors.* Thank you very much. I have installed successfully. 2011/9/25 Maarten Derickx > The prebuilt bi