Differences between revisions 7 and 24 (spanning 17 versions)
Revision 7 as of 2008-11-14 13:42:11
Size: 2563
Editor: anonymous
Comment: converted to 1.6 markup
Revision 24 as of 2022-04-05 01:22:00
Size: 0
Editor: mkoeppe
Comment: outdated
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Linux Emulation ==
Precompiled Sage binaries will run under linux emulation on FreeBSD with some caveats; the biggest issue is a noted error when trying to render plain 2-D plots. Otherwise, both the command line and notebook interfaces seem to work, including raytracing with[[Tachyon]]. Tested configurations (plotting works on none, all other features "seem" to work):

 * sage-2.10.2-linux-32bit-debian-i686-Linux on FreeBSD 6.3-RELEASE with {{{linux_base-fc-4_10}}} (fedora core 4.10)
 * sage-3.0-debian32-intel-i686-Linux on FreeBSD 6.3-RELEASE with {{{linux_base-fc-4_10}}} (fedora core 4.10)
Here are basic instructions:

 1. Make sure the linux kernel module was compiled into FreeBSD and is loaded with kldstat; linprocfs does not seem to be required
 1. Install {{{emulators/linux_base}}} (using ports system, {{{pkg_add -r}}}, etc)
 1. Download and extract the latest sage binary distribution (eg, {{{sage-2.10.2-linux-32bit-debian-i686-Linux.tar.gz}}})
 1. Enter extracted directory and edit the script {{{sage}}} to set {{{SAGE_ROOT}}} to the full path of that directory
 1. Run {{{/compat/linux/bin/bash ./sage}}}

== Native Compilation ==
BryanNewbold is working on natively compiling sage on FreeBSD 6.x and 7.x; if you are working on this as well please make contact so we don't waste time! See[[freebsd/compilation]]for technical details.

== Official Port ==
The[[http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook|Porter's Handbook]]is the place to look for porting directions It may make sense to have both a native math/sage-math and a linux math/linux-sage-math port, at least for a while? A linux port would be more reliable and easier to keep up to date. Here is a possible pkg-descr:

{{{
Sage: Open Source Mathematics Software
--------------------------------------
Creating a viable free open source alternative to
Magma, Maple, Mathematica, and Matlab
WWW: http://sagemath.org/
}}}
and a possible pkg-descr:

{{{
#####################################################################
# #
# NOTE: Some additional packages are highly recommended for Sage: #
# #
# #
# latex (print/latex): for type setting #
# #
#####################################################################
}}}