Package Details: mathematica 11.0.1-1

Git Clone URL: https://aur.archlinux.org/mathematica.git (read-only)
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: proprietary
Submitter: Feanor12
Maintainer: kjslag
Last Packager: kjslag
Votes: 40
Popularity: 0.043305
First Submitted: 2011-03-03 21:27
Last Updated: 2016-10-15 03:48

Dependencies (5)

Required by (0)

Sources (1)

Pinned Comments

kjslag commented on 2016-10-03 18:29

Thanks JP-Ellis. I updated to 11.0.1. Unfortunately, the following error still occurs:
Installation failed. See
.../pkg/mathematica/opt/Mathematica/InstallErrors.

If InstallErrors is full of xdg-icon-resource, mkdir, and xdg-desktop-menu messages, then everything is fine. This is a known issue in the Mathematica installer [CASE:3493135].

Latest Comments

positron commented on 2016-11-13 08:17

user1549751245 read the PKGBUILD before trying to build it.

user1549751245 commented on 2016-11-13 07:29

I get this errors as I try to install it:

==> Building and installing package
==> Making package: mathematica 11.0.1-1
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: Mathematica_11.0.1_LINUX.sh was not found in the build directory and is not a URL.
==> ERROR: Makepkg was unable to build mathematica.
==> Restart building mathematica ? [y/N]

positron commented on 2016-10-15 08:17

After I compiled it on the hdd instead of tmpfs everything's working now!
Thanks!

kjslag commented on 2016-10-15 03:50

@JP-Ellis Thanks! I added your tmpfs check to package() since it didn't seem to work for me in prepare().

JP-Ellis commented on 2016-10-15 03:14

@kjslag Sorry I didn't check your message earlier. The issues with the xdg-icon-resources I believe is that it wants to write to system directories, but it cannot as it does not have root access. Other than that, the installation works fine for me.

I have slightly updated the PKGBUILD to check if it is building in a tpmfs and issue a warning (and I updated to use makepkg's `msg2` and `warning` commands).

https://gist.github.com/JP-Ellis/1e9637386bb1f2520e107a71058d79e4

Akrai commented on 2016-10-14 23:14

Wow, okay, using the env var builddir to build where the scripts are, the built package was now 9gb instead of 3.5gb and now all is working and correctly installed, perfect, and a new thing learned today

Akrai commented on 2016-10-14 22:34

@kjslag hmmm nope, the package was in my home directory, i just downloaded this aur script, uncompressed it, and put the .sh installer script of mathematica together with the aur scripts, and just ran makepkg, i didnt choose ram or whatever, just pacman uses tmp to build packages as i know, so... Am i using a wrong command?
edit: i forgot that i put in the config the builddir in tmp, sorry, im gonna try again

kjslag commented on 2016-10-14 17:52

@akrai You should try not building Mathematica in RAM. The package is built in whatever directory the PKGBUILD file is put into. If you use an AUR helper like yaourt or pacaur, the AUR helper probably (optionally) builds in /tmp, which I guess you (as I do also) have mounted into your RAM.

I'm not sure how to make the PKGBUILD check for this issue... Does anyone know?

Akrai commented on 2016-10-14 13:24

@kjslag
i think it is probably related with the compilation of the package, because as i monitor the system with conky i saw that at first it gave me error because not enough space was found by the mathematica installer, because it is installed in RAM (am i the only one having this problem? it is pretty obvious you will have an error unless u have 16 gb ram)
then i saw that tmp makes use of half of the ram and so i remounted it to make use of my full 8gb, and it got filled completely but no errors showing, and i suspected that maybe the package was not built correctly, so i changed swappiness from 10 to 60, and the building made use of about 50mb of swap so i though it was enough, but it seems there are problems with the building and the space but without errors printed... What should i do?

kjslag commented on 2016-10-13 22:23

@Akrai I'm not sure why your mimetype files are empty. Mine are not empty. positiron also seems to be having trouble starting mathematica.. Perhaps you should try contacting Wolfram tech support.

All comments