Ticket #3761 (closed defect: fixed)
[with patch; positive review] warning when run sage binary if the processor instruction set doesn't support everything that was on the machine where sage was built
| Reported by: | was | Owned by: | cwitty |
|---|---|---|---|
| Priority: | blocker | Milestone: | sage-3.2 |
| Component: | misc | Keywords: | |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
Having this in sage-support nearly *every day* is getting really old:
i get to install sage in my xubuntu (ubuntu with xfce) but when i try to do a simple plot, i get this error message xinelo@chacal:~/packages/sage-3.0.5-i686-Linux$ ./sage ---------------------------------------------------------------------- | SAGE Version 3.0.5, Release Date: 2008-07-11 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- The SAGE install tree may have moved. Regenerating Python.pyo and .pyc files that hardcode the install PATH ( it at most a few minutes)... Please do not interrupt this. Setting permissions of DOT_SAGE directory so only you can read and writ ILLEGAL INSTRUCTION... someone can help me? thanks
I propose that on linux systems when the script that does the "The SAGE install tree may have moved." stuff is run, Sage also does this:
sage@modular:~$ cat /proc/cpuinfo |grep flags|tail -1 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow up
and if there are any flags that were on the system where sage was -bdist'd, but which aren't on the current machine, then a big message that this binary won't work is displayed.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

