Package Details: matlab-r2015b 08.06.00-1

Git Clone URL: (read-only)
Package Base: matlab-r2015b
Description: A high-level language for numerical computation and visualization
Upstream URL:
Licenses: custom
Submitter: daniel_shub
Maintainer: daniel_shub
Last Packager: daniel_shub
Votes: 0
Popularity: 0.000000
First Submitted: 2015-10-22 22:05
Last Updated: 2015-10-22 22:05

Latest Comments

0tie commented on 2016-07-19 12:36

Anyone got a solution?

daniel_shub commented on 2016-03-24 15:21

It looks like something is going wrong with the MATLAB installer (line 65 of the PKGBUILD). I would replace the line

"${srcdir}/install" -t -inputFile "${srcdir}/installer_input.txt" -mode silent &> /dev/null


"${srcdir}/install" -t -inputFile "${srcdir}/installer_input.txt" -mode silent

and hopefully a useful error message will appear.

kotrfa commented on 2016-03-24 08:08

I am getting this error:
==> Making package: matlab-r2015b 08.06.00-1 (Thu Mar 24 09:01:36 CET 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found matlab-r2015b.iso
-> Found matlab-r2015b.fik
==> Validating source files with md5sums...
matlab-r2015b.iso ... Skipped
matlab-r2015b.fik ... Skipped
==> Extracting sources...
-> Extracting matlab-r2015b.iso with bsdtar
==> Starting prepare()...
-> Creating desktop file
-> Extracting file installation key
-> Modifying the installer settings
==> Entering fakeroot environment...
==> Starting package()...
-> Starting MATLAB installer
-> Installing license
install: cannot stat '/home/dan/matlab-r2015b/pkg/matlab-r2015b/opt/tmw/matlab-r2015b/license_agreement.txt': No such file or directory
==> ERROR: A failure occurred in package().

but I have licence_agreement.txt in src/licence_agreement.txt. When editing to ${srcdir}/licence_agreement.txt I get:

-> Installing desktop files
install: cannot stat '/home/dan/matlab-r2015b/pkg/matlab-r2015b/opt/tmw/matlab-r2015b/help/matlab/matlab_env/matlab_desktop_icon.png': No such file or directory
==> ERROR: A failure occurred in package().

when commenting out desktop files I get:
-> Configuring mex options
sed: can't read /home/dan/matlab-r2015b/pkg/matlab-r2015b/opt/tmw/matlab-r2015b/bin/ No such file or directory
==> ERROR: A failure occurred in package().

when commenting out that, nothing the result package is empty. I have correct version of ISO for linux. And I am not even sure if I need mex.

This is my src tree to second level:
├── activate.ini
├── archives
│   ├── common
│   ├── doc_ja
│   ├── doc_ko
│   ├── doc_zh
│   └── glnxa64
├── bin
│   └── glnxa64
├── etc
│   ├── glnxa64
│   └── LicenseAdministration.pdf
├── help
│   ├── includes
│   ├── install
│   └── templates
├── install
├── installer_input.txt
├── install_guide.pdf
├── java
│   ├── config
│   ├── jar
│   ├── jarext
│   └── splash.png
├── license_agreement.txt
├── matlab-r2015b.desktop
├── matlab-r2015b.fik -> /home/dan/matlab-r2015b/matlab-r2015b.fik
├── matlab-r2015b.iso -> /home/dan/matlab-r2015b/matlab-r2015b.iso
├── patents.txt
├── readme.txt
├── sys
│   └── java
├── trademarks.txt
└── version.txt

jumperpunk commented on 2016-02-17 17:13

The correct way to add an element to an array would be:

The parens indicate to bash that this is an array rather than a scalar. @knight_corvi 's method works as well, but it is less clean.

knight_corvi commented on 2016-02-04 20:14

the problem with the previous method was that the representation of the array was
for example
if you print out the array the output would be
adding another element to the array using the method
simply appends to the first element of the array in the following way
where as the method the new method
```md5sums=("${md5sums[@]}" 'SKIP')```
results in adding it to the end of the array as another element

PS. I still cannot get it to work, but I think it has something to do with how I made the iso in the first place.

daniel_shub commented on 2016-02-04 18:57

That seems very strange. Your solution seems like an odd way to add an element to an array.

knight_corvi commented on 2016-02-01 17:33

While trying the network install, I was getting an error saying that the license was there. Trying to add it gave back an error as well. The solution was to change the following:
if [ ! -z ${_networkinstall+isSet} ]; then
if [ ! -z ${_networkinstall+isSet} ]; then
source=("${source[@]}" "local://${pkgname}.lic")
md5sums=("${md5sums[@]}" 'SKIP')

jdarch commented on 2015-12-18 19:32

gcc47-fortran might not be necessary as a dependency, gcc47 would build gfortran-4.7