[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Maple9 and LD_ASSUME_KERNEL



Hello List,

I am installing Maple 9
on my Debian box (testing/unstable kernel 2.4.22):
I have just noticed that the maple script (maple9/bin/maple)
set LD_ASSUME_KERNEL for red-hat boxes as fellows

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
if [ -r "/etc/redhat-release" ]
then
MR_CHECK=`perl -ane '$_ =~ /Mandrake Linux release (\d+)\.(\d+)/; print $1 if $1 >= 9;' /etc/redhat-release`

RH_CHECK=`perl -ane '$_ =~ /Red Hat .* release (\d+)(\.\d+)?/; print $1 if ($1 >= 7);' /etc/redhat-release`


	if [ $MR_CHECK ]; then
		export LD_ASSUME_KERNEL=2.2.5
	fi
	if [ $RH_CHECK ]; then
		export LD_ASSUME_KERNEL=2.2.5
	fi
fi
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

As maplesoft does not support the Debian distribution
(this is really a shame) and as I never heard about LD_ASSUME_KERNEL before: I wonder if a similar stuff must be added on a Debian box.


Thanks inadvance,
Jerome BENOIT



Reply to: