Differences between revisions 1 and 2
Revision 1 as of 2009-01-06 22:34:56
Size: 1198
Comment: move content from freebsd/compilation
Revision 2 as of 2022-04-05 01:19:59
Size: 0
Editor: mkoeppe
Comment: outdated
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
'''Note''': This info is outdated

== Notes on building Sage 2.9.1.1 ==

Here are some even older notes from MichaelAbshoff:

The below is a little old (while I am posting this we are working on 2.10.3), but it should get people up to speed. If you have fixes for additional issues please open a trac ticket, bonus points for patches.

Sage 2.9.1.1 build notes on FreeBSD 6.2 Release

 * install bash
 * install gtar
 * install gmake

link bash to /bin,
link gtar as /bin/tar, i.e. before the bsd tar in /usr/bin
link gmake as /bin/gmake, i.e. before the bsd make in /usr/bin

 * Sage itself relies on GNU tar features
 * cremona relies on GNU make features
 * SAGE_FORTRAN needs to be set to /usr/bin/f77

Build Fixes:

 * ATLAS: -melf_i386 needs to be removed from LDFLAGS in Make.inc

 * Singular: cf_factor: wchar problems: <cwchar> uncomment line 249, 258, 259: using ::[wcstold|wcstoll|wcstoul] in case you use gcc 3.4. This somehow relates to the defines _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC and _GLICXX_C99_DYNAMIC. It seems to be ultimately caused by including iostream twice or maybe "iostream and iostream.h". "using namespace std" might also play a role.