Update to Mathematica 12.1.0
Summary of new features: https://wolfr.am/NewIn12.1
Please let me know if you encounter any issues.
Git Clone URL: | https://aur.archlinux.org/mathematica.git (read-only, click to copy) |
---|---|
Package Base: | mathematica |
Description: | A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing. |
Upstream URL: | http://www.wolfram.com/mathematica/ |
Licenses: | |
Submitter: | Feanor12 |
Maintainer: | JP-Ellis |
Last Packager: | JP-Ellis |
Votes: | 71 |
Popularity: | 0.22 |
First Submitted: | 2011-03-03 21:27 |
Last Updated: | 2021-01-05 10:32 |
Update to Mathematica 12.1.0
Summary of new features: https://wolfr.am/NewIn12.1
Please let me know if you encounter any issues.
Hi, building 12.1 in a clean environment showed the need for the package inetutils at least as makedepends. Avahi might also be a good addition for the optdepends, since running the installer gives a warning that without avahi it will not use "kernel discovery features". The build does not fail without avahi, but it does without inetutils.
@hmenke Thanks - My licence expired with 11.3 so this is v. helpful.
For others with this issue, the problem arose with openmp 9.0.1-1 -> 9.0.1-2, so downgrading to 9.0.1-1 is also an option if that isn't required by another package on your system.
The recent openmp update removed the aliases and now libiomp5.so is no longer provided. Older version of the PKGBUILD did deduplicate system libraries an removed libiomp5.so, so these older version will break now. I chose to just link libomp.so into the package:
ln -sf /usr/lib/libomp.so ./opt/Mathematica/SystemFiles/Libraries/Linux-x86-64/libiomp5.so
This in only an issue with the PKGBUILD for Mathematica 11.3 (an older I guess).
I have fixed the backticks in the PKGBUILD.
I can confirm what @ruy16109 says. When you replace the backticks ` with the common apostrophe ' there is no one ERROR message.
Probably unrelated to my previous comment:
When trying to install 12.0.0 using makechrootpkg
(with the help of aur helper "aurutils" using aur build -c
), the installation seems to be "unable to determine the pacakge manageer used by the system..." and leaves installation files on my /opt/Mathematica/SystemFiles/Installation under RPM and DEB formats. I guess I can just convert one of them to tar and install it directly.
In the newest update (Mathematica 12.0.0, AUR update time 2019-09-11 23:52), the prepare function contains the following line:
warning ".. 18 GiB of space for makepkg
, and ..."
Since around the "makepkg" is a pair of backticks, I am suspecting that this invokes another "makepkg" process and causes the "no PKGBUILD" error that I have been repeatedly for my multiple attempts.
Edit: confirmed. The back ticks caused the prepare() function to fail, and thus I was unable to proceed in makechrootpkg
. For some reason makepkg
, even though it still shows the error message, continues to run the script.
@Firnen Read the PKGBUILD, there is an explanation on how to obtain that file and where to place it.
A file appears to be missing for the build.
Building mathematica...
==> Making package: mathematica 12.0.0-1 (Thu 19 Sep 2019 03:04:40 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: Mathematica_12.0.0_LINUX.sh was not found in the build directory and is not a URL.
Pinned Comments
JP-Ellis commented on 2020-04-02 23:34
Update to Mathematica 12.1.0
Summary of new features: https://wolfr.am/NewIn12.1
Please let me know if you encounter any issues.