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

2011-09-28 Thread jsymons
I succesfully compiled from sources sage-4.7.1 on Pardus 2011.1 x86_64 using only this repository http://packages.pardus.org.tr/pardus/2011.1/stable/x86_64/pisi-index.xml.xz and these upgrades FreeImage-devel is upgraded from 3.15.0-7-p11-x86_64 to 3.15.0-10-p11- x86_64 FreeImage is upgra

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

2011-09-27 Thread jsymons
Another error: libImaging/Jpeg.h:11:21: fatal error: jpeglib.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1 Warning: Failed to install PIL with TK, retrying without TK support... Disabling Tkinter (Tcl/Tk) support in PIL build. running install

[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] 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
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 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] 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" *