You are not logged in.
Hi everybody!
I'd like to use Mathematica 8 on my x86_64 desktop but the installation goes wrong from the first step:
./Mathematica_8.0.1_LINUX.sh
Mathematica Secured 8.0.1 for LINUX Installer Archive
Verifying archive integrity.
Error in MD5 checksums: 3a96147d8e54e57fcec71d368d2dffb2 is different from cddb9a9e17836825bd5ae1df5aba47df
Fortunately it works on my i686 laptop. So I tried to install it with schroot and also chroot on my x86_64 chrooting to my small i686 system inside. But none of them worked and I also had the same checksum (as outside chroot).
I tried many, many times to download it again from the webpage of the university but the checksum is always different. The checksum has also already been wrong on the x86_64 while for the i686 the same copy of the shell-script would have worked.
I think there must be something wrong with the checksum and the setup of my desktop. The problem is that the shell-script is quite huge (>1GB) so it's hard for me to look for what could not work in the shell-script and my arch machine. (The other reason is that my coding skills are pretty low.)
I hope that somebody can give me a hint because the support for Arch Linux at my university is lacking. (Of course I don't expect this. ;-) )
Best regards,
maxmin
Beginning of the script:
1 #!/bin/sh
2 # This script was generated using Makeself 2.1.1
3 CRCsum="2891462810"
4 MD5="cddb9a9e17836825bd5ae1df5aba47df"
5 TMPROOT=${TMPDIR:=/tmp}
6
7 # DEC-AXP cksum/md5sum handling - we need to set compatibility flags
8 uname=`uname`
9 if [ $uname = "OSF1" ]; then
10 CMD_ENV=xpg4
11 export CMD_ENV
12 fi
13
14 label="Mathematica Secured 8.0.1 for LINUX Installer Archive"
15 script="Unix/Installer/MathInstaller"
16 scriptargs=""
17 targetdir=".23652"
18 filesizes="1258874880"
19 keep=n
20 temp=n
21
22
23 if test "$temp" = n; then
24 targetdir=.$$
25 fi
26
27 print_cmd_arg=""
28 if type printf > /dev/null; then
29 print_cmd="printf"
30 elif test -x /usr/ucb/echo; then
31 print_cmd="/usr/ucb/echo"
32 else
33 print_cmd="echo"
34 fi
35
36 MS_Printf()
37 {
38 $print_cmd $print_cmd_arg "$1"
39 }
40
41 MS_Progress()
42 {
43 while read a; do
44 MS_Printf .
45 done
46 }
47
48 MS_dd()
49 {
50 blocks=`expr $3 / 1024`
51 bytes=`expr $3 % 1024`
52 dd if="$1" ibs=$2 skip=1 obs=1024 conv=sync 2> /dev/null | \
53 { test $blocks -gt 0 && dd ibs=1024 obs=1024 count=$blocks ; \
54 test $bytes -gt 0 && dd ibs=1 obs=1024 count=$bytes ; } 2> /dev/null
55 }
56
57 MS_Help()
58 {
59 cat << EOH >&2
60 Makeself version 2.1.1
61 1) Getting help or info about $0 :
62 $0 --help Print this message
63 $0 --info Print embedded info : title, default target directory, embedded script ...
64 $0 --lsm Print embedded lsm entry (or no LSM)
65 $0 --list Print the list of files in the archive
66 $0 --check Checks integrity of the archive
67
68 2) Running $0 :
69 $0 [options] [--] [additional arguments to embedded script]
70 with following options (in that order)
71 --confirm Ask before running embedded script
72 --keep Do not erase target directory after running
73 the embedded script
74 --nox11 Do not spawn an xterm
75 --nochown Do not give the extracted files to the current user
76 --target NewDirectory Extract in NewDirectory
77 -- Following arguments will be passed to the embedded script
78 EOH
79 }
80
81 MS_Check()
82 {
83 OLD_PATH=$PATH
84 PATH=${GUESS_MD5_PATH:-"$OLD_PATH:/bin:/usr/bin:/sbin:/usr/local/ssl/bin:/usr/local/bin:/opt/openssl/bin"}
85 MD5_PATH=`which md5sum 2>/dev/null || type md5sum 2>/dev/null`
86 MD5_PATH=${MD5_PATH:-`which md5 2>/dev/null || type md5 2>/dev/null`}
87 PATH=$OLD_PATH
88 MS_Printf "Verifying archive integrity. \n"
89 offset=`head -n 387 "$1" | wc -c | tr -d " "`
90 verbose=$2
91 i=1
92 for s in $filesizes
93 do
94 crc=`echo $CRCsum | cut -d" " -f$i`
95 if test -x "$MD5_PATH"; then
96 md5=`echo $MD5 | cut -d" " -f$i`
97 if test $md5 = "00000000000000000000000000000000"; then
98 test x$verbose = xy && echo " $1 does not contain an embedded MD5 checksum." >&2
99 else
100 md5sum=`MS_dd "$1" $offset $s | "$MD5_PATH" | cut -b-32`;
101 if test "$md5sum" != "$md5"; then
102 echo "Error in MD5 checksums: $md5sum is different from $md5" >&2
103 cd "$location"; /bin/rm -rf "$tmpdir"
104 exit 2
105 else
106 test x$verbose = xy && MS_Printf " MD5 checksums are OK." >&2
107 fi
108 crc="0000000000"; verbose=n
109 fi
110 fi
111 if test $crc = "0000000000"; then
112 test x$verbose = xy && echo " $1 does not contain a CRC checksum." >&2
113 else
114 sum1=`MS_dd "$1" $offset $s | cksum | awk '{print $1}'`
115 if test "$sum1" = "$crc"; then
116 test x$verbose = xy && MS_Printf " CRC checksums are OK." >&2
117 else
118 echo "Error in checksums: $sum1 is different from $crc"
119 cd "$location"; /bin/rm -rf "$tmpdir"
120 exit 2;
121 fi
122 fi
123 i=`expr $i + 1`
124 offset=`expr $offset + $s`
125 done
126 }
127
Offline
Did you ever figure out how to make it work? I'm on the same boat. I'm trying to install Mathematica on a laptop with 64 bit CPU. The checksum is wrong.Thanks.
Offline
Not sure about Mathematica 8, but 7.0.1 works on my 64-bit system.
Offline
Please report these issues on the AUR page https://aur.archlinux.org/packages.php?ID=47077 , as doubleslash did.
Last edited by karol (2011-09-17 15:16:59)
Offline
Dido on mathematica 7 in 64bit, and I think I had mathematica 6 working in 64bit before I switched.
Offline
Mathematica 8.0.1 works fine here on Arch x64. Maybe the image that your university provides is corrupt. Maybe you could try to change line 4 in "Mathematica_8.0.1_LINUX.sh" to the MD5 sum that is computed in your version of mathematica - just to see if it installs then.
Greetings
matse
Offline