I have the same problem 

{
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.4, Release Date: 2014-11-14                         │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
sage: simplify(2)
2
sage: simplify(sqrt(2))
In file included from 
/opt/sage-6.4-x86_64-Linux/local/lib/ecl/ecl/ecl-cmp.h:22:0,
                 from /tmp/ecl001BSihI6.c:5:
/opt/sage-6.4-x86_64-Linux/local/lib/ecl/ecl/ecl.h:20:65: fatal error: 
sys/types.h: No such file or directory
 #include <sys/types.h>  /* size_t, pthread_t, pthread_mutex_t */
                                                                 ^
compilation terminated.
;;; Internal error:
;;;   ** Error code 1 when executing
;;; (RUN-PROGRAM "gcc" ("-I." "-I/opt/sage-6.4-x86_64-Linux/local/lib/ecl/" 
"-I/scratch/buildbot/sage/redhawk-1/sage_git/build/local/include" 
"-I/scratch/buildbot/sage/redhawk-1/sage_git/build/local/include" 
"-D_GNU_SOURCE" "-D_FILE_OFFSET_BITS=64" "-g" "-O2" "-fPIC" "-Dlinux" "-O2" 
"-c" "/tmp/ecl001BSihI6.c" "-o" 
"/tmp/ecl001BSihI6.o"))---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-2-e6abdd24a17e> in <module>()
----> 1 simplify(sqrt(Integer(2)))

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/calculus/functional.pyc
 
in simplify(f)
     49     """
     50     try:
---> 51         return f.simplify()
     52     except AttributeError:
     53         return f

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/symbolic/expression.so
 
in sage.symbolic.expression.Expression.simplify 
(build/cythonized/sage/symbolic/expression.cpp:39275)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/symbolic/expression.so
 
in sage.symbolic.expression.Expression._maxima_ 
(build/cythonized/sage/symbolic/expression.cpp:5388)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/structure/sage_object.so
 
in sage.structure.sage_object.SageObject._interface_ 
(build/cythonized/sage/structure/sage_object.c:4897)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/lazy_import.so
 
in sage.misc.lazy_import.LazyImport.__getattr__ 
(build/cythonized/sage/misc/lazy_import.c:3030)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/lazy_import.so
 
in sage.misc.lazy_import.LazyImport._get_object 
(build/cythonized/sage/misc/lazy_import.c:2030)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/interfaces/maxima_lib.py
 
in <module>()
     79 ecl_eval("(setf *compile-verbose* NIL)")
     80 ecl_eval("(setf *load-verbose* NIL)")
---> 81 ecl_eval("(require 'maxima)")
     82 ecl_eval("(in-package :maxima)")
     83 ecl_eval("(setq $nolabels t))")

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/libs/ecl.so 
in sage.libs.ecl.ecl_eval (build/cythonized/sage/libs/ecl.c:9161)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/libs/ecl.so 
in sage.libs.ecl.ecl_eval (build/cythonized/sage/libs/ecl.c:9094)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/libs/ecl.so 
in sage.libs.ecl.ecl_safe_eval (build/cythonized/sage/libs/ecl.c:4494)()

RuntimeError: ECL says: The variable C::GAZONK is unbound.
sage: simplify(sqrt(2))
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-3-e6abdd24a17e> in <module>()
----> 1 simplify(sqrt(Integer(2)))

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/calculus/functional.pyc
 
in simplify(f)
     49     """
     50     try:
---> 51         return f.simplify()
     52     except AttributeError:
     53         return f

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/symbolic/expression.so
 
in sage.symbolic.expression.Expression.simplify 
(build/cythonized/sage/symbolic/expression.cpp:39275)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/symbolic/expression.so
 
in sage.symbolic.expression.Expression._maxima_ 
(build/cythonized/sage/symbolic/expression.cpp:5388)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/structure/sage_object.so
 
in sage.structure.sage_object.SageObject._interface_ 
(build/cythonized/sage/structure/sage_object.c:4897)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/lazy_import.so
 
in sage.misc.lazy_import.LazyImport.__getattr__ 
(build/cythonized/sage/misc/lazy_import.c:3030)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/lazy_import.so
 
in sage.misc.lazy_import.LazyImport._get_object 
(build/cythonized/sage/misc/lazy_import.c:2030)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/interfaces/maxima_lib.py
 
in <module>()
     83 ecl_eval("(setq $nolabels t))")
     84 ecl_eval("(defvar *MAXIMA-LANG-SUBDIR* NIL)")
---> 85 ecl_eval("(set-locale-subdir)")
     86 ecl_eval("(set-pathnames)")
     87 ecl_eval("(defun add-lineinfo (x) x)")

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/libs/ecl.so 
in sage.libs.ecl.ecl_eval (build/cythonized/sage/libs/ecl.c:9161)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/libs/ecl.so 
in sage.libs.ecl.ecl_eval (build/cythonized/sage/libs/ecl.c:9094)()

/opt/sage-6.4-x86_64-Linux/local/lib/python2.7/site-packages/sage/libs/ecl.so 
in sage.libs.ecl.ecl_safe_eval (build/cythonized/sage/libs/ecl.c:4494)()

RuntimeError: ECL says: The function SET-LOCALE-SUBDIR is undefined.
sage: 
}

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to