@tornado99 are you using the latest PKGBUILD? Are you doing a partial installation? Please check the comments below.
Search Criteria
Package Details: java-matlab 1:R2025a.25.1.0.2943329-6
Package Actions
Git Clone URL: | https://aur.archlinux.org/matlab.git (read-only, click to copy) |
---|---|
Package Base: | matlab |
Description: | A high-level language for numerical computation and visualization (Java components) |
Upstream URL: | https://www.mathworks.com/products/matlab.html |
Keywords: | computation matlab numerical visualization |
Licenses: | custom:MATLAB EULA |
Provides: | java-matlab-version |
Submitter: | ido |
Maintainer: | vitaliikuzhdin |
Last Packager: | vitaliikuzhdin |
Votes: | 41 |
Popularity: | 0.80 |
First Submitted: | 2015-08-15 09:33 (UTC) |
Last Updated: | 2025-06-25 09:52 (UTC) |
Dependencies (5)
- java-environment-openjdk (jdk10-openj9-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, liberica-jre-11-full-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, liberica-nik-24-full-binAUR, zulu-8-binAUR, liberica-jdk-11-lite-binAUR, jdk19-openjdkAUR, zulu-jdk-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk-android-studioAUR, jdk-openj9-binAUR, zulu-11-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-liberica-full-binAUR, jdk8-perfAUR, zing-21-binAUR, jdk17-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk8-dragonwell-extendedAUR, liberica-jdk-11-binAUR, zulu-17-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-21-binAUR, zulu-17-fx-binAUR, liberica-jdk-17-full-binAUR, zulu-21-binAUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, zing-8-binAUR, zulu-24-binAUR, jdk23-temurinAUR, liberica-nik-23-full-binAUR, zing-23-binAUR, jdk22-openjdkAUR, jdk23-openjdkAUR, jdk21-openj9-binAUR, jdk17-openj9-binAUR, jdk17-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk21-jetbrains-binAUR, jdk-openjdk-wakefieldAUR, jre-jetbrainsAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk)
- matlabAUR (matlab-supportAUR)
- gendesk (make)
- inotify-tools (inotify-tools-gitAUR) (make)
- matlab-mpmAUR (make)
Required by (1)
- matlab (optional)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 26 Next › Last »
Rubo commented on 2022-04-25 11:15 (UTC)
tornado99 commented on 2022-04-25 10:52 (UTC)
-> Building Python API... /var/tmp/pamac-build-[user]/matlab/PKGBUILD: line 162: cd: /var/tmp/pamac-build-[user]/matlab/src/build/extern/engines/python: No such file or directory ==> ERROR: A failure occurred in build().
Rubo commented on 2022-04-21 07:18 (UTC) (edited on 2022-04-21 07:26 (UTC) by Rubo)
@Ketchup901 @sukanka when makepkg
extracts the contents of matlab.tar
, it's normal that $srcdir
contains only the matlab
directory and a link to matlab.tar
. Then, while the original installer is running, $srcdir/build
is created with all the files which can be happily consumed by package_python-matlabengine
and moved around by package_matlab
. But I tried with a partial install, and I confirm $srcdir/build
is empty. Maybe the Python engine creation needs be done after MATLAB is packaged.
sukanka commented on 2022-04-21 01:02 (UTC)
@Ketchup901 I have the same problem, I noticed there is no such file or directory (${srcdir}/build/extern/engines/python
) in the downloaded tarball, only ${srcdir}/build/extern/include
. (I redownloaded for several times) So makepkg
will
give an error. But I also tried matlab installer script, after installation, there is extern/engines/python
. I don't know the reason.
Ketchup901 commented on 2022-04-20 22:39 (UTC) (edited on 2022-04-20 22:39 (UTC) by Ketchup901)
@Rubo I'm using the most recent PKGBUILD. Yes, the error occurs right after "Packaging Python API". FYI I'm trying to do a partial install with only MATLAB, don't know if that makes any difference. I've edited the PKGBUILD to say partialinstall=true
and products=( "MATLAB" )
.
Rubo commented on 2022-04-20 21:40 (UTC)
@Ketchup901 it's the directory which contains the necessary files to build the Python engine. Please make sure that python-matlabengine
comes before matlab
in the PKGBUILD pkgname
variable, as the package_matlab
function moves files needed by package_python-matlabengine
, so if that's not the case, that's likely why there is no such directory and it probably means you are using an old PKGBUILD. The current one should work, or at least it works for me. Did you get the error right after -> Packaging Python API...
?
Ketchup901 commented on 2022-04-20 19:38 (UTC)
What is "${srcdir}/build/extern/engines/python"
supposed to be? I followed the instructions for creating matlab.tar but there is no such directory.
Rubo commented on 2022-04-20 11:05 (UTC) (edited on 2022-04-20 12:17 (UTC) by Rubo)
@MoetaYuko https://github.com/Rubo3/matlab-aur/blob/Rubo3-patch-1/PKGBUILD Before pushing an update, can you please tell me if this works for you? It seems to work for me.
Edit: I see you have forked and updated VictriD's PKGBUILD here. I have integrated your changes, thank you.
moetayuko commented on 2022-04-20 09:54 (UTC)
- MatLab won't start after overriding LD_LIBRARY_PATH with gcc9 lib, the hack should be dropped.
- libfreetype.so should be removed in package_matlab() as well, in case the tar is not prepared by install.sh
Rubo commented on 2022-04-19 18:20 (UTC)
@mys_721tx Thanks, fixed it.
Pinned Comments