[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
Mon Jan 23 22:14:01 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216346
--- Comment #7 from Tijl Coosemans <tijl at FreeBSD.org> ---
A possible workaround is to modify
/usr/local/Wolfram/Mathematica/10.0/Executables/math. Change "/bin/sh" on the
first line into "/compat/linux/bin/sh".
To fix the "cannot determine operating system" error on linux_base-c6 create
the following symlink: ln -s /bin/uname /compat/linux/usr/bin/uname
An alternative is to comment out line 7 PATH="/usr/bin:/bin:${PATH}" in
/usr/local/Wolfram/Mathematica/10.0/SystemFiles/FrontEnd/Binaries/Linux/Mathematica.
By putting /usr/bin before /bin the script runs FreeBSD /usr/bin/uname instead
of /compat/linux/bin/uname. This problem doesn't exist with linux_base-c7
because /compat/linux/usr/bin/uname exists there.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-emulation
mailing list