id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	work_issues	upstream	reviewer	author	merged	dependencies	stopgaps
7781	Update prereq to version 0.6	drkirkby	GeorgSWeber	"This is a further update of the code which checks the prerequisites for Sage are OK. Previous updates were #7021 and #7352. 

 == Changes in files ==

'''Changes to configure.ac (This gets included in prereq-0.6.tar)'''

 * Exit for a gcc 3.4 series compiler, unless the variable 'SAGE_USE_OLD_GCC' is set to something non-empty. This was desirable, as the only compiler shipped with Solaris is 3.4.3, which is too old. 

As in prereq 0.4 and 0.5, the Sage build exits with gcc < 3.4.0 (as it's too old) and with gcc 4.0.0 (as it's too buggy). The previous release gave a warning for gcc 3.4.x, but did not exit. This was unsatisfactory, as on a fast Solaris machine, the warning is likely to be missed. 

'''Changes to prereq-0.6-install'''

 * Exit on Solaris if the version of 'make' is not the GNU one. It was my intension this was done for both 'tar' and 'make' in prereq 0.5, but I'd overlooked to put the number '1' on one of the exit statements, so the build did not exit for Sun's 'make'.
 * Exit on Solaris 2.6, 7, 8 and 9 unless SAGE_PORT is set to something non-empty. This seems logical, as nobody is testing Sage on the older Solaris releases. It's probably worth testing Sage on Solaris 8 and 9, but not 2.6 or 7, as they are too old to worry about. 
 * Test for the GNU versions of 'make' and 'tar' on AIX, HP-UX, IRIX and Tru64 - this was already done on Solaris. As I'm not so sure where the GNU tools will be found on AIX, HP-UX, IRIX or Tru64, so the error message is not as informative as on Solaris, where I know the systems much better. 
 * Provides links to pages on the Sage Wiki for Solaris (http://wiki.sagemath.org/solaris) and HP-UX (http://wiki.sagemath.org/HP-UX), which are printed on those platforms if there are any issues detected (Generally that means if 'SAGE_PORT' is needed for the build to continue). There are no Wiki pages for AIX, Tru64 or IRIX, and I somewhat doubt I will create any for Tru64 or IRIX, but I might for AIX. 
 * Change the comment about using VMWare to !VirtualBox, as that is the preferred system for Sage now.
 * Mention a port to HP-UX does not look particularly difficult, as it might encourage some developers. It actually looks to be relatively easy, judging by the number of packages that build OK on HP-UX. 

Updated versions of prereq-0.6-install and prereq-0.6.tar are provided in the directory below. prereq-0.6-install must be put into Sage with execute permissions. 

http://boxen.math.washington.edu/home/kirkby/portability/prereq-0.6/

 == How to test these changes ==
 * Copy the files prereq-0.6.tar & prereq-0.6-install to $SAGE_ROOT/spkg/base/ 
 * Ensure prereq-0.6-install has execute permissions. 
 * Remove spkg/installed/prerequ-0.5
 * Type 'make' 

Anyone wishing to test on HP-UX is welcome to have an account on my own machine. 

"	defect	closed	major	sage-4.3.1	build	fixed	gcc AIX HP-UX IRIX Tru64 Solaris	mhansen GeorgSWeber mvngu		N/A	Minh Van Nguyen	David Kirkby	sage-4.3.1.rc0		
