Hi sage-support, I'm a complete newbie to sage. Currently I started learning the very first example in the tutorial on algebra, but got the following error in 'solve'. I'm running OS X 10.9.5, and sage version is 6.4. ---- sage: x=var('x')
sage: solve(x^2 + 3*x + 2, x) In file included from /Applications/sage/local/lib/ecl/ecl/ecl-cmp.h:22:0, from /private/var/folders/gh/26025ywx7w128zfds279s_9r0000gn/T/ecl001XIVVfM.c:5: /Applications/sage/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/Applications/sage/local/lib/ecl/" "-I/Users/buildslave-sage/slave/sage_git/build/local/include" "-I/Users/buildslave-sage/slave/sage_git/build/local/include" "-g" "-O2" "-fPIC" "-fno-common" "-Ddarwin" "-O2" "-c" "/private/var/folders/gh/26025ywx7w128zfds279s_9r0000gn/T/ecl001XIVVfM.c" "-o" "/private/var/folders/gh/26025ywx7w128zfds279s_9r0000gn/T/ecl001XIVVfM.o")) --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-2-b5c9e6391cf6> in <module>() ----> 1 solve(x**Integer(2) + Integer(3)*x + Integer(2), x) /Applications/sage/local/lib/python2.7/site-packages/sage/symbolic/relation.pyc in solve(f, *args, **kwds) 732 from sage.symbolic.expression import is_Expression 733 if is_Expression(f): # f is a single expression --> 734 ans = f.solve(*args,**kwds) 735 return ans 736 /Applications/sage/local/lib/python2.7/site-packages/sage/symbolic/expression.so in sage.symbolic.expression.Expression.solve (build/cythonized/sage/symbolic/expression.cpp:45798)() /Applications/sage/local/lib/python2.7/site-packages/sage/symbolic/expression.so in sage.symbolic.expression.Expression._maxima_ (build/cythonized/sage/symbolic/expression.cpp:5388)() /Applications/sage/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)() /Applications/sage/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)() /Applications/sage/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)() /Applications/sage/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))") /Applications/sage/local/lib/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_eval (build/cythonized/sage/libs/ecl.c:9161)() /Applications/sage/local/lib/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_eval (build/cythonized/sage/libs/ecl.c:9094)() /Applications/sage/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. ---- When I type solve(x^2+3*x+2,x) again, the error message changes to this: ---- sage: solve(x^2 + 3*x + 2, x) --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-3-b5c9e6391cf6> in <module>() ----> 1 solve(x**Integer(2) + Integer(3)*x + Integer(2), x) /Applications/sage/local/lib/python2.7/site-packages/sage/symbolic/relation.pyc in solve(f, *args, **kwds) 732 from sage.symbolic.expression import is_Expression 733 if is_Expression(f): # f is a single expression --> 734 ans = f.solve(*args,**kwds) 735 return ans 736 /Applications/sage/local/lib/python2.7/site-packages/sage/symbolic/expression.so in sage.symbolic.expression.Expression.solve (build/cythonized/sage/symbolic/expression.cpp:45798)() /Applications/sage/local/lib/python2.7/site-packages/sage/symbolic/expression.so in sage.symbolic.expression.Expression._maxima_ (build/cythonized/sage/symbolic/expression.cpp:5388)() /Applications/sage/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)() /Applications/sage/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)() /Applications/sage/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)() /Applications/sage/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)") /Applications/sage/local/lib/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_eval (build/cythonized/sage/libs/ecl.c:9161)() /Applications/sage/local/lib/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_eval (build/cythonized/sage/libs/ecl.c:9094)() /Applications/sage/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. ---- Any hints would be appreciated! -- 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.