@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
Search Criteria
Package Details: mathematica 14.0.0-1
Package Actions
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 with offline documentation. |
Upstream URL: | http://www.wolfram.com/mathematica/ |
Licenses: | proprietary |
Submitter: | Feanor12 |
Maintainer: | JP-Ellis |
Last Packager: | JP-Ellis |
Votes: | 79 |
Popularity: | 0.002046 |
First Submitted: | 2011-03-03 21:27 (UTC) |
Last Updated: | 2024-01-15 22:25 (UTC) |
Dependencies (51)
- openmp
- rsync (rsync-gitAUR, rsync-reflinkAUR, rsync-reflink-gitAUR) (make)
- alsa-lib (optional)
- atk (at-spi2-core-gitAUR, at-spi2-core) (optional)
- cairo (cairo-gitAUR) (optional)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-amd-fullAUR) (optional)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR) (optional)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR) (optional)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (optional)
- glu (glu-gitAUR) (optional)
- gmimeAUR (optional)
- gmp (gmp-hgAUR) (optional)
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR) (optional)
- harfbuzz (harfbuzz-gitAUR) (optional)
- intel-tbb (onetbb-gitAUR, onetbb) (optional)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, jdkAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jdk-android-studioAUR, jdk21-jetbrains-binAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk21-openj9-binAUR, java-openjdk-ea-binAUR, zulu-23-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (optional)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, jreAUR, jdkAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jdk-android-studioAUR, jre17AUR, jdk21-jetbrains-binAUR, java-openjdk-binAUR, jre21-zulu-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jre17-zulu-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk21-openj9-binAUR, java-openjdk-ea-binAUR, zulu-23-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk) (optional)
- leptonica (optional)
- libbson (mongo-c-driver) (optional)
- libffi (libffi-gitAUR) (optional)
- libmongoc (mongo-c-driver) (optional)
- libogg (libogg-gitAUR) (optional)
- libpng12 (optional)
- libselinuxAUR (optional)
- libsm (optional)
- libssh2 (libssh2-gitAUR) (optional)
- libutil-linux (util-linux-libs-selinuxAUR, util-linux-libs-aesAUR, util-linux-libs) (optional)
- libx11 (libx11-gitAUR) (optional)
- libxcomposite (optional)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (optional)
- libxrandr (libxrandr-gitAUR) (optional)
- libxslt (libxslt-gitAUR) (optional)
- libxss (optional)
- libxtst (optional)
- libxxf86vm (optional)
- mesa-demos (optional) – for improved graphics output
- ncurses (ncurses-gitAUR) (optional)
- nvidia-utils (nvidia-410xx-utilsAUR, nvidia-340xx-utilsAUR, nvidia-440xx-utilsAUR, nvidia-430xx-utilsAUR, nvidia-vulkan-utilsAUR, nvidia-390xx-utilsAUR, nvidia-utils-teslaAUR, nvidia-535xx-utilsAUR, nvidia-525xx-utilsAUR, nvidia-510xx-utilsAUR, nvidia-550xx-utilsAUR, nvidia-utils-betaAUR, nvidia-470xx-utilsAUR) (optional)
- openssl-1.0AUR (optional)
- pango (pango-gitAUR) (optional)
- pixman (pixman-gitAUR) (optional)
- portaudio (optional)
- postgresql-libs (postgresql-libs-12AUR, postgresql13-libsAUR, postgresql-libs-gitAUR) (optional)
- python (python37AUR, python311AUR, python310AUR) (optional)
- qt5-declarative (qt5-declarative-gitAUR) (optional)
- qt5-multimedia (optional)
- qt5-webengine (optional)
- qt5-xmlpatterns (qt5-xmlpatterns-gitAUR) (optional)
- r (r352AUR, r-mklAUR) (optional)
- tesseract (tesseract-gitAUR) (optional)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR, zlib-ng-compat) (optional)
Required by (1)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 18 19 20 21 22 23 24 25 26 27 28 .. 37 Next › Last »
JP-Ellis commented on 2016-10-15 03:14 (UTC)
akrai commented on 2016-10-14 23:14 (UTC)
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 (UTC) (edited on 2016-10-14 23:00 (UTC) by akrai)
@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 (UTC)
@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 (UTC)
@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 (UTC)
@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.
akrai commented on 2016-10-13 22:14 (UTC)
Installed, the only error is in the last moment, when generating mimetypes, saying that the mime files are empty, and it's true, when exploring the pkg.tar you can see that /usr/share/mime/packages/* are empty (0 bits size). I suppose it is related with the mime types error, but no shortcuts in the whiskers menu (xfce)
But the most important thing: it doesn't run from terminal, i type mathematica, Mathematica, mcc, Wolfram, and nothing, not even an error message.
positron commented on 2016-10-04 18:46 (UTC)
I installed the latest version with no problem..
Not even the infamous
"Installation failed. See
.../pkg/mathematica/opt/Mathematica/InstallErrors."
However when I try to launch it doesn't start.
From the terminal doesn't print out anything.
It doesn't even exit with error, it just doesn't launch.
Am I the only one to experience this?
kjslag commented on 2016-10-03 18:29 (UTC) (edited on 2016-10-03 18:30 (UTC) by kjslag)
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].
jfernandz commented on 2016-10-03 16:14 (UTC) (edited on 2016-10-03 16:17 (UTC) by jfernandz)
I get this msg when install script is running:
Installation failed. See
~/AUR/mathematica/pkg/mathematica/opt/Mathematica/InstallErrors.
This file contains this warnings:
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
xdg-icon-resource: No writable system icon directory found.
mkdir: cannot create directory '/applications-merged': Permission denied
xdg-desktop-menu: No writable system menu directory found.
This happens in Gnome 3, I suspect it may have to do with DE integration (icons of .nb files in nautilus, etc). This have been commented by @qft already. Maybe PKGBUILD could it be upgraded to improve that. Thank you so much.
Pinned Comments
JP-Ellis commented on 2024-01-15 22:27 (UTC)
The update to v14.0.0 has been uploaded. A list of new features can be found in Wolfram's blog.
If there are any issues with this PKGBUILD, please let me know in a commment below.
JP-Ellis commented on 2022-10-08 00:22 (UTC) (edited on 2023-08-19 12:56 (UTC) by JP-Ellis)
Wolfram offers two bundles for Mathematica: one with offline docs included, and one which relies on online docs. I have created corresponding version of the Mathematica package in the AUR:
mathematica
: As this package has historically always included offline docs, it will continue to do so now. As of 13.1.0, the package takes up around 14.1GiB with all documentation.mathematica-light
: For those people who want a small package and/or want to use online docs, I have created this package which uses Wolfram's online-docs bundling of Mathematica. As of 13.3, the light version takes up around 7.2GiB.