Package Details: matlab 9.6.0.1072779-1

Git Clone URL: https://aur.archlinux.org/matlab.git (read-only)
Package Base: matlab
Description: A high-level language for numerical computation and visualization
Upstream URL: http://www.mathworks.com
Licenses: custom
Submitter: ido
Maintainer: greyltc (hottea)
Last Packager: hottea
Votes: 22
Popularity: 1.849804
First Submitted: 2015-08-15 09:33
Last Updated: 2019-05-03 02:21

Latest Comments

« First ‹ Previous ... 4 5 6 7 8 9 10 11 Next › Last »

daniel_shub commented on 2016-07-20 15:50

@Otie Are you sure that /tmp actually has 25G of free space? Arch uses a tempfs for /tmp by default (https://wiki.archlinux.org/index.php/Tmpfs) so I think the free space will be limited by your RAM and swap space. What does df -h /tmp give you? How many toolboxes are trying to install?

0tie commented on 2016-07-18 16:05

Hey there, the problem of korfa in https://aur.archlinux.org/packages/matlab-r2015b/ still exists. Tried to install R2016a the whole day :/
The Matlab installer complains about not having enough space in /tmp, but it should have (25G!):

==> Erstelle und installiere Paket
==> Erstelle Paket: matlab 08.06.00-1 (Mo 18. Jul 17:59:46 CEST 2016)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
-> matlab.iso gefunden
-> matlab.fik gefunden
==> Überprüfe source Dateien mit md5sums...
matlab.iso ... Übersprungen
matlab.fik ... Übersprungen
==> Entpacke Quellen...
-> Entpacke matlab.iso mit bsdtar
==> Beginne prepare()...
-> Creating desktop file
-> Extracting file installation key
-> Modifying the installer settings
==> Betrete fakeroot Umgebung...
==> Beginne package()...
-> Starting MATLAB installer
Preparing installation files ...
Installing ...
[...]
(Jul 18, 2016 18:01:54) # Today's Date:
(Jul 18, 2016 18:01:54) Mon Jul 18 18:01:54 CEST 2016
(Jul 18, 2016 18:01:54)
(Jul 18, 2016 18:01:54) System Info
(Jul 18, 2016 18:01:54) OS: Linux 4.6.4-1-ARCH
(Jul 18, 2016 18:01:54) Arch: amd64
(Jul 18, 2016 18:01:54) Data Model: 64
(Jul 18, 2016 18:01:54) Language: de
(Jul 18, 2016 18:01:54) Java Vendor: Oracle Corporation
(Jul 18, 2016 18:01:54) Java Home: /tmp/mathworks_16073/sys/java/jre/glnxa64/jre
(Jul 18, 2016 18:01:54) Java Version: 1.7.0_60
(Jul 18, 2016 18:01:54) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(Jul 18, 2016 18:01:54) Java Class Path: /tmp/mathworks_16073/java/config/professionalinstaller/pathlist.jar
(Jul 18, 2016 18:01:54) User Name: root
(Jul 18, 2016 18:01:54) Current Directory: /tmp/yaourt-tmp-johannes/aur-matlab/src
(Jul 18, 2016 18:01:54) Input arguments:
(Jul 18, 2016 18:01:54) root /tmp/yaourt-tmp-johannes/aur-matlab/src
(Jul 18, 2016 18:01:54) libdir /tmp/mathworks_16073
(Jul 18, 2016 18:01:54) t true
(Jul 18, 2016 18:01:54) inputFile /tmp/yaourt-tmp-johannes/aur-matlab/src/installer_input.txt
(Jul 18, 2016 18:01:54) mode silent
(Jul 18, 2016 18:01:54) standalone true
(Jul 18, 2016 18:01:55) Input file:

[...]

(Jul 18, 2016 18:01:57) Starting local product/component search in download directory
(Jul 18, 2016 18:01:57) Searching for archives...
(Jul 18, 2016 18:01:57) Reading /tmp/yaourt-tmp-johannes/aur-matlab/src/archives
(Jul 18, 2016 18:01:57) Assembling product list...
(Jul 18, 2016 18:01:57) 2210 files found in /tmp/yaourt-tmp-johannes/aur-matlab/src/archives
(Jul 18, 2016 18:01:57) Reading /tmp/yaourt-tmp-johannes/aur-matlab/src
(Jul 18, 2016 18:01:57) 15 files found in /tmp/yaourt-tmp-johannes/aur-matlab/src
(Jul 18, 2016 18:01:57) /root/Downloads/MathWorks/R2016a/archives doesn't exist ... skipping.
(Jul 18, 2016 18:01:57) Archive search complete. 2225 total files found.
(Jul 18, 2016 18:02:04) Completed local product/component search
(Jul 18, 2016 18:02:05) Installing Product: MATLAB 9.0
(Jul 18, 2016 18:02:12) java.io.FileNotFoundException: /tmp/yaourt-tmp-johannes/aur-matlab/pkg/matlab/opt/tmw/matlab/toolbox/matlab/icons/plotpicker-simio.png (Auf dem Gerät ist kein Speicherplatz mehr verfügbar)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)
[...]
at java.lang.Thread.run(Unknown Source)

(Jul 18, 2016 18:02:12) The following error was detected while installing matlab_toolbox_icons_common:

/tmp/yaourt-tmp-johannes/aur-matlab/pkg/matlab/opt/tmw/matlab/toolbox/matlab/icons/plotpicker-simio.png (Auf dem Gerät ist kein Speicherplatz mehr verfügbar)

Would you like to retry installing matlab_toolbox_icons_common? If you press No, the installer will exit without completing the installation. More information can be found at /tmp/mathworks_root.log
(Jul 18, 2016 18:02:12) Exiting with status -1
(Jul 18, 2016 18:02:13) End - Unsuccessful.
Finished
-> Installing license
-> Creating links for license.lic
-> Creating links for executables
-> Installing desktop files
install: der Aufruf von stat für '/tmp/yaourt-tmp-johannes/aur-matlab/pkg/matlab/opt/tmw/matlab/help/matlab/matlab_env/matlab_desktop_icon.png' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
==> FEHLER: Ein Fehler geschah in package().
Breche ab...
==> FEHLER:Makepkg konnte matlab nicht erstellen.

birnenwerfer commented on 2016-03-31 00:44

I get the same error
"Protocol for the unknown download : files"

But I have downloaded the matlab iso file (R2016a_glnxa64.iso) with campus licence from our university. We don't need a keyfile or anything like this. We get a registration key a register the product into matlab.
So how do I have to install matlab with this AUR Package?

daniel_shub commented on 2016-03-02 14:45

MATLAB is proprietary software and you need to supply the iso in order to build the package. While some licenses do not provide you with a DVD or allow you to download an iso file, many licenses allow you to download the MATLAB installer zip file which can then be used to build the iso (see, the PKGBUILD and Wiki). If you do not have a license, or your license does not allow you to get the software, then you cannot use MATLAB.

darkanmoore commented on 2016-03-02 10:30

Hi, I have a problem with matlab installation:
"Protocol for the unknown download : files".
It's possible to resolve this problem, because I really need this program, and I can't download iso and install for it.
Thanks

kyak commented on 2015-12-30 17:14

Thanks a lot for your reply and such a thorough approach to packaging! Didn't know about namcap - nice!

daniel_shub commented on 2015-12-30 16:51

I came up with the dependency list using a combination of namcap and my own test suite (basically the things listed on the Arch Wiki). I run namcap and remove any dependency it says is included and not needed and add any dependency it says is not included. I then run my test suite in a clean chroot. I then find the minimum set of packages needed to pass the suite and add them as dependencies.

I do not keep a list of which dependencies are needed to pass the test suite. I do know that namcap does not think the libxp, libxpm, and ncursues5-compat-libs packages are needed, but they are needed to pass my test suite. My test suite is not comprehensive, so while namcap may be picking up dependencies that are not needed, passing the test without a namcap detected dependency, does not mean the dependency is not needed by some untested MATLAB function. At some point I would like to go through the namcap output and use that to build a better test suite so I could tell you the exact behavior that would demonstrate why a dependency is included.

In regards to the gconf package, I can uninstall it and the test suite still passes. In otherwords, the gconf package is a dependency because namcap says it is needed. Specifically, namcap says:

matlab E: Dependency gconf detected and not included (libraries ['usr/lib/libgconf-2.so.4'] needed in files ['opt/tmw/matlab/bin/glnxa64/libcef.so', 'opt/tmw/matlab/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/components/libmozgnome.so', 'opt/tmw/matlab/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/components/libnkgnomevfs.so'])

kyak commented on 2015-12-30 14:42

@daniel_shub: how did you come up with the list of package dependencies? For example, gconf - why is it needed? I don't have most of these packages, and doesn't seem to have problems. I'm installing manually, and just came across this PKGBUILD.

daniel_shub commented on 2015-10-26 16:18

@flying-sheep that is a real pain. I am not sure what the best strategy is. One option is to just not create the links at all and let people add /opt/tmw/matlab/bin to $PATH. I think mmex is confusing. I am also worried that deploytool, mbuild, and mcc might also end up with eventual name clashes. Maybe going with something like mex-matlab.

For now, the workaround is pretty simple. You can delete "mex" from line 76 of the PKGBUILD or change "${pkgdir}/usr/bin/${_executable}" to "${pkgdir}/usr/bin/${_executable}-matlab" on line 77.

flying-sheep commented on 2015-10-26 13:22

much better yeah!

my only problem is that /usr/bin/mex exists in texlive-bin – maybe we should rename matlabs “mex”? (into ‘mmex’ or something)