Yes, the echo "#include <limits.h>" | 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:



***********************************************************************************************
***********************************************************************************************
gnutls_compress_int.c: In function '_gnutls_comp_init':
gnutls_compress_int.c:119:33: error: 'LZO1X_1_MEM_COMPRESS' undeclared
(first use in this function)
gnutls_compress_int.c:119:33: note: each undeclared identifier is
reported only once for each function it appears in
gnutls_compress_int.c: In function '_gnutls_compress':
gnutls_compress_int.c:193:2: error: 'lzo_uint' undeclared (first use
in this function)
gnutls_compress_int.c:193:11: error: expected ';' before 'out_len'
gnutls_compress_int.c:208:7: error: 'out_len' undeclared (first use in
this function)
gnutls_compress_int.c:210:13: error: 'LZO_E_OK' undeclared (first use
in this function)
gnutls_compress_int.c: In function '_gnutls_decompress':
gnutls_compress_int.c:307:2: error: 'lzo_uint' undeclared (first use
in this function)
gnutls_compress_int.c:307:11: error: expected ';' before 'out_size'
gnutls_compress_int.c:308:11: error: expected ';' before 'new_size'
gnutls_compress_int.c:314:2: error: 'out_size' undeclared (first use
in this function)
gnutls_compress_int.c:327:6: error: 'new_size' undeclared (first use
in this function)
gnutls_compress_int.c:334:17: error: 'LZO_E_OUTPUT_OVERRUN' undeclared
(first use in this function)
gnutls_compress_int.c:336:13: error: 'LZO_E_OK' undeclared (first use
in this function)

*** 12 errors, 0 warnings
make[5]: *** [gnutls_compress_int.lo] Error 1
make[5]: Leaving directory `/home/name/Applications/sage-4.7.1/spkg/
build/gnutls-2.2.1.p5/src/lib'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/name/Applications/sage-4.7.1/spkg/
build/gnutls-2.2.1.p5/src/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/name/Applications/sage-4.7.1/spkg/
build/gnutls-2.2.1.p5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/name/Applications/sage-4.7.1/spkg/
build/gnutls-2.2.1.p5/src'
failed to build GNUTLS

real    0m43.227s
user    0m21.998s
sys     0m17.431s
sage: An error occurred while installing gnutls-2.2.1.p5
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/name/Applications/sage-4.7.1/install.log.  Describe your
computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/name/Applications/sage-4.7.1/spkg/build/gnutls-2.2.1.p5 and type
'make check' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/name/Applications/sage-4.7.1/spkg/build/gnutls-2.2.1.p5' &&
'/home/name/Applications/sage-4.7.1/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/gnutls-2.2.1.p5] Error 1
make[1]: Leaving directory `/home/name/Applications/sage-4.7.1/spkg'

real    3m56.794s
user    2m25.054s
sys     1m4.351s
Error building Sage.
make: *** [build] Error 1
***********************************************************************************************
***********************************************************************************************


I have got installed in my system gnutls, gnutls-devel version 2.12.3
and libtasn1 and libtasn1-devel version 2.7

Any idea?

Thanks!






-- 
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: http://www.sagemath.org

Reply via email to