You are not logged in.

#1 2016-01-21 14:06:44

retogenes
Member
Registered: 2016-01-21
Posts: 33

Matlab can not connect with mathworks

This is my first message in the forum, so first of all, sorry if it is published in the wrong place!

I am installing Matlab 2015B on a fresh install of Arch+Gnome. I downloaded the zip package from mathworks, extracted it and (after giving +x permissions), executed

 ./install -javadir /usr/lib/jvm/java-8-openjdk/jre/ 

I the first step of installation, when I try to connect with Mathworks account, Matlab responds with: "The application could not connect to MathWorks.". The error is the same is I try to install using sudo. What could the reason be? All other programs I installed connect to the internet without problems. I use wicd with default/automatic settings and wired connection to my home router.

The relevant part of "ip a" is:

...
3: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 54:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.100/24 brd 192.168.1.255 scope global eno1
       valid_lft forever preferred_lft forever
    inet6 fe80::56xx:xxxx:xxxx:xxxx/64 scope link 
       valid_lft forever preferred_lft forever

"systemctl status wicd" gives:

   Loaded: loaded (/usr/lib/systemd/system/wicd.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2016-01-21 11:00:31 CET; 3h 55min ago
 Main PID: 366 (wicd)
    Tasks: 3 (limit: 512)
   CGroup: /system.slice/wicd.service
           ├─366 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py --no-daemon
           ├─414 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py
           └─544 /usr/sbin/dhcpcd --noipv4ll eno1

Jan 21 11:00:41 xxxx dhcpcd[501]: eno1: IAID xx:xx:xx:xx
Jan 21 11:00:42 xxxx dhcpcd[501]: eno1: soliciting an IPv6 router
Jan 21 11:00:42 xxxx dhcpcd[501]: eno1: soliciting a DHCP lease
Jan 21 11:00:42 xxxx dhcpcd[501]: eno1: offered 192.168.1.100 from 192.168.1.1
Jan 21 11:00:43 xxxx dhcpcd[501]: eno1: probing address 192.168.1.100/24
Jan 21 11:00:49 xxxx dhcpcd[501]: eno1: leased 192.168.1.100 for 3600 seconds
Jan 21 11:00:49 xxxx dhcpcd[501]: eno1: adding route to 192.168.1.0/24
Jan 21 11:00:49 xxxx dhcpcd[501]: eno1: adding default route via 192.168.1.1
Jan 21 11:00:49 xxxx dhcpcd[501]: forked to background, child pid 544
Jan 21 11:00:54 xxxx dhcpcd[544]: eno1: no IPv6 Routers available

Last edited by retogenes (2016-01-21 14:12:07)

Offline

#2 2016-01-21 14:31:56

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,552

Re: Matlab can not connect with mathworks

proprietary software installers rarely work well on AL systems.

try installing it by using this MatLab-r2015b in AUR .

Check AUR (all capitals) in wiki if you don't know how to use our Arch linux User Repository .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2016-01-21 17:52:14

retogenes
Member
Registered: 2016-01-21
Posts: 33

Re: Matlab can not connect with mathworks

Thank you for the advice. however, the AUR package requires an iso file. My University (and the mathworks webpage) provides me with a zip file, which is not detected by the package. Unpacking does not help either.

Converting it to an iso file, and putting it into the same folder produces the following error when compiling:

$ makepkg -sri
==> Making package: matlab-r2015b 08.06.00-1 (Thu Jan 21 18:44:50 CET 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found matlab-r2015b.iso
==> ERROR: Unknown download protocol: file
    Aborting...

Any idea on how to solve this (or my original problem) would be appreciated...

Offline

#4 2016-02-05 18:44:50

retogenes
Member
Registered: 2016-01-21
Posts: 33

Re: Matlab can not connect with mathworks

I could not solve the issue, and automatic activation was impossible. However, I could activate matlab manually by generating a license file as explained in this link:

http://www.mathworks.com/matlabcentral/ … net-access

Offline

Board footer

Powered by FluxBB