Note: This info is outdated
Notes on building Sage 188.8.131.52
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 184.108.40.206 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
- 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.