[Bug 216346] emulators/linux_base-c6: Mathematica 10.x doesn't work with recent linux_base-c6 or -c7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 25 02:20:32 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216346

--- Comment #10 from Osamu Matsuda <omatsuda000 at 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

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


More information about the freebsd-emulation mailing list