I've had some luck running the sage-2.10.2-linux-32bit-debian-i686-Linux binaries under FreeBSD 6.3-RELEASE (manually upgraded) using linux emulation (linux_base-fc-4_10 = fedora core 4.10 distribution files); basic calculus and arithmetic work from the interactive shell, the notebook runs with 3D and Tachyon plotting, jsmath, etc.
What I did: * make sure linux kernel module was compiled into FreeBSD and is loaded with kldstat; I also had linprocfs but i'm not sure it's required. * install emulators/linux_base * as root symbolically link /usr/bin/bash to /bin/bash in freeBSD * unzip/tar sage-2.10.2-linux-32bit-debian-i686-Linux.tar.gz, enter dir, edit 'sage' to set SAGE_ROOT * run ./sage I didn't even have to use brandelf! The biggest problem i'm having now is the same as Petr Muzikar from an old sage-newbie post: http://groups.google.com/group/sage-newbie/browse_thread/thread/8bb27a07e5c3 1c08 Basically when trying to plot() from shell or notebook matplotlib throws an integer literal error (trace at end of email). I haven't really tried debugging this yet; is there a known solution or should I dig in? I also tried compiling sage-2.10.{1,2} from sources following the wiki (http://wiki.sagemath.org/freebsd) and had a variety of issues (atlas, lapack, ...); I tried swapping in the lapack i'd compiled previously for scipy but had no love. I don't have good debug info about that now, i'll be more precise when I have more time (those ATLAS compiles are paaaaiiiiiinful). Would it be appropriate for me to start a freebsd wiki page on the trac? Should I submit new tickets for compilation problems/patches/workarounds or just glom on to #1638? -bryan ############################## plot() issue (from notebook): > plot(lambda a: sin(.3*a),(0.01,0.99)) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/home/bnewbold/.sage/sage_notebook/worksheets/admin/0/code/7.py", line 4, in <module> plot(lambda a: sin(RealNumber(\u0027.3\u0027)*a),(RealNumber(\u00270.01\u0027),RealNumber(\u00270.99\u0027))) File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/sympy/plotting/", line 1, in <module> File "sage_object.pyx", line 92, in sage.structure.sage_object.SageObject.__repr__ File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/sage/plot/plot.py", line 734, in _repr_ self.show() File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/sage/plot/plot.py", line 1242, in show aspect_ratio=aspect_ratio) File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/sage/plot/plot.py", line 1342, in save from matplotlib.figure import Figure File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/matplotlib/figure.py", line 10, in <module> from axes import Axes, Subplot, PolarSubplot, PolarAxes File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/matplotlib/axes.py", line 13, in <module> from matplotlib import axis as maxis File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/matplotlib/axis.py", line 20, in <module> from font_manager import FontProperties File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/matplotlib/font_manager.py", line 1129, in <module> _rebuild() File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/matplotlib/font_manager.py", line 1120, in _rebuild fontManager = FontManager() File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/matplotlib/font_manager.py", line 910, in __init__ self.afmdict = createFontDict(self.afmfiles, fontext='afm') File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/matplotlib/font_manager.py", line 509, in createFontDict font = afm.AFM(fh) File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/matplotlib/afm.py", line 294, in __init__ parse_afm(fh) File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/matplotlib/afm.py", line 282, in parse_afm dcmetrics_ascii, dcmetrics_name = _parse_char_metrics(fh) File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/matplotlib/afm.py", line 167, in _parse_char_metrics bbox = _to_list_of_ints(vals[3][2:]) File "/home/bnewbold/code/sage/sage-2.10.2-linux-32bit-debian-i686-Linux/local/lib/python2.5/site-packages/matplotlib/afm.py", line 47, in _to_list_of_ints return [_to_int(val) for val in s.split()] ValueError: invalid literal for int() with base 10: '708.333' --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
