Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2017 02:20:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 216346] emulators/linux_base-c6: Mathematica 10.x doesn't work with recent linux_base-c6 or -c7
Message-ID:  <bug-216346-4077-T500cRNDMc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216346-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216346-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216346

--- Comment #10 from Osamu Matsuda <omatsuda000@gmail.com> ---
(In reply to Tijl Coosemans from comment #7)

Thank you very much.
I'm happy to tell you that it works perfectly with the modification on
/usr/local/Wolfram/Mathematica/10.0/Executables/math as you suggested.

Here is the summary for one of the easiest ways to install Mathematica
10.0 with linux_base-c7.

1) Install linux_base-c7
2) Install mathematica
3) For the following two files, modify the first line from
  #!/bin/sh
to
  #!/compat/linux/bin/sh

  /usr/local/Wolfram/Mathematica/10.0/Executables/mathematica
  /usr/local/Wolfram/Mathematica/10.0/Executables/math

I confirmed this with FreeBSD 10.3-RELEASE-p11,
linux_base-c7-7.3.1611, and Mathematica 10.0.1.0.

But some ad hoc additional modification might be necessary depending on the
cases.  For example, for FreeBSD 10.3-RELEASE-p11, linux_base-c7-7.3.1611, =
and
Mathematica 10.2.0.0, I had to apply the modification mentioned in 3)
to other files in /usr/local/Wolfram/Mathematica/10.2/Executables.

It is also still uncertain whether we need to modify the symbolic link at
/usr/local/bin/MathematicaScript. which is originally linked to
nonexisting
/usr/local/Wolfram/Mathematica/10.{0,2}/SystemFiles/Kernel/Binaries/Unknown=
/MathematicaScript,
to either of
/usr/local/Wolfram/Mathematica/10.{0,2}/SystemFiles/Kernel/Binaries/{Linux,=
Linux-x86-64}/MathematicaScript

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216346-4077-T500cRNDMc>