Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2017 22:14:01 +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-7wPSHmzSiy@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 #7 from Tijl Coosemans <tijl@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=3D"/usr/bin:/bin:${PATH}" in
/usr/local/Wolfram/Mathematica/10.0/SystemFiles/FrontEnd/Binaries/Linux/Mat=
hematica.
 By putting /usr/bin before /bin the script runs FreeBSD /usr/bin/uname ins=
tead
of /compat/linux/bin/uname.  This problem doesn't exist with linux_base-c7
because /compat/linux/usr/bin/uname exists there.

--=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-7wPSHmzSiy>