Moving to Ubuntu 20.04 (Focal Fossa) from 18.04 (Bionic Beaver)
18.04: (must use jre 1.8, ok: need to delete libpangoft2-1.0.so.0, ok)
14.3.3 works fine
14.4.1 works fine
20.04: (tried both jre 1.8 and jre 1.11), (also needed: sudo apt-get install libcanberra-gtk-module)
14.3.3 java crash
14.4.1 java crash
Attached is crash report.
Ideas?
xTimeComposer on Ubuntu 20.04 Problem
-
- Respected Member
- Posts: 283
- Joined: Fri Mar 19, 2010 4:49 am
xTimeComposer on Ubuntu 20.04 Problem
You do not have the required permissions to view the files attached to this post.
-
- Respected Member
- Posts: 283
- Joined: Fri Mar 19, 2010 4:49 am
Made sure the problem was not my Ubuntu 20.04 build.
New install for 20.04 with only system updates applied.
sudo apt-get install libcanberra-gtk-module
sudo apt-get install openjdk-8-jre
sudo tar -xf ./xTIMEcomposer-Community_14-Linux64-Installer_Community_14.4.1.tgz -C /opt
cd /opt/XMOS/xTIMEcomposer/Community_14.4.1/scripts
sudo ./setup_xmos_devices.sh
xtimecomposer.sh:
Splash screen starts, then crashes.
I will keep my current computer for now to program, and move this to a VM in the future if needed.
I am good for now, hopefully this will get resolved.
New install for 20.04 with only system updates applied.
sudo apt-get install libcanberra-gtk-module
sudo apt-get install openjdk-8-jre
sudo tar -xf ./xTIMEcomposer-Community_14-Linux64-Installer_Community_14.4.1.tgz -C /opt
cd /opt/XMOS/xTIMEcomposer/Community_14.4.1/scripts
sudo ./setup_xmos_devices.sh
xtimecomposer.sh:
Code: Select all
#!/bin/bash
cd /opt/XMOS/xTIMEcomposer/Community_14.4.1
source SetEnv
JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64"
PATH=${JAVA_HOME}/bin:$PATH
xtimecomposer
I will keep my current computer for now to program, and move this to a VM in the future if needed.
I am good for now, hopefully this will get resolved.
-
- Member
- Posts: 13
- Joined: Tue Aug 06, 2019 8:40 pm
I have it running on 20.04. Granted it was a 19.10 -> 20.04 update if that matters.
My install notes, which I don't know if they are up to date or necessary also includes the following:
sudo apt install libtinfo5 libncurses5
Search XMOS folder for libpangoft2-1.0.so.0. Delete it.
My memory is very vague but I think there might have been another file that I needed to delete as well but my notes don't have anything about it. Sigh...
For what it is worth it is at least possible...
My install notes, which I don't know if they are up to date or necessary also includes the following:
sudo apt install libtinfo5 libncurses5
Search XMOS folder for libpangoft2-1.0.so.0. Delete it.
My memory is very vague but I think there might have been another file that I needed to delete as well but my notes don't have anything about it. Sigh...
For what it is worth it is at least possible...
-
- Respected Member
- Posts: 283
- Joined: Fri Mar 19, 2010 4:49 am
Tried adding libtinfo5 libncurses5 pacakges on 20.04
still crash. I would think it is some dependency here.
Thanks for the reply.
still crash. I would think it is some dependency here.
Thanks for the reply.
-
- New User
- Posts: 2
- Joined: Wed Jun 24, 2020 7:27 pm
Howdy. I'm currently facing the exact same issue, and none of these steps have helped. Have you made any progress?
It would be great if xmos could fix this seeing as they're still recommending Ubuntu 14.04, which has been EoL for over a year!
It would be great if xmos could fix this seeing as they're still recommending Ubuntu 14.04, which has been EoL for over a year!
-
- Respected Member
- Posts: 283
- Joined: Fri Mar 19, 2010 4:49 am
No updates. Still not working for me on 20.04.
Hopefully one of the team at XMOS upgrades to get this resolved.
Hopefully one of the team at XMOS upgrades to get this resolved.
-
- New User
- Posts: 2
- Joined: Wed Jun 24, 2020 7:27 pm
I was finally able to get this working - the answer is hiding over in this thread: https://www.xcore.com/viewtopic.php?f=26&t=6938
Basically you gotta do exactly what you did above installing it into /opt/, then delete or move both the ibpangoft2-1.0.so.0 as mentioned above, along with libpangocairo-1.0.so.0 It was deleting the second .so that I was missing.
And again, seems like a working installer for a non-obsolete GNU/Linux distro is long overdue from XMOS!
Basically you gotta do exactly what you did above installing it into /opt/, then delete or move both the ibpangoft2-1.0.so.0 as mentioned above, along with libpangocairo-1.0.so.0 It was deleting the second .so that I was missing.
And again, seems like a working installer for a non-obsolete GNU/Linux distro is long overdue from XMOS!
-
- Respected Member
- Posts: 283
- Joined: Fri Mar 19, 2010 4:49 am
I was involved with the other tread also. Hmm... Didn't notice the newer reply.
So removing ibpangocairo-1.0.so.0 also is needed. xTimecomposer now starts.
But I am now having an error during build, though.
So removing ibpangocairo-1.0.so.0 also is needed. xTimecomposer now starts.
But I am now having an error during build, though.
See what I can work up on this one./opt/XMOS/xTIMEcomposer/Community_14.4.1/libexec/xcc2clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
-
- Respected Member
- Posts: 283
- Joined: Fri Mar 19, 2010 4:49 am
ok, appears 20.04 has moved up to libtinfo.so.6.
Install the legacy version:
sudo apt-get install libtinfo5
xTimecomposer now sucessfully builds my application. xFlash also successfully built my binary.
Looks solved.
Install the legacy version:
sudo apt-get install libtinfo5
xTimecomposer now sucessfully builds my application. xFlash also successfully built my binary.
Looks solved.
-
- Member
- Posts: 12
- Joined: Fri Mar 09, 2018 4:16 pm
Hi there!
first off, thanks for the all the advices! I got xTIMEcomposer running on Ubuntu 22.04 following this thread and a couple of others.
To sum my steps:
First installed a working version of Java
then unpacked xTIMEcomposer in /opt
and deleted the libraires indicated above
and that's basically it! FWIW I already had the tools in my path so I didn't need to run Setenv, but I did run:
as bonus points, I also added the xTIMEcomposer icon to my software folder, so I can use the application launcher to start it. You just need to do:
and paste this file content:
The Icon in the folder is the wrong one but that the only I could find.
Cheers!
Fabien
first off, thanks for the all the advices! I got xTIMEcomposer running on Ubuntu 22.04 following this thread and a couple of others.
To sum my steps:
First installed a working version of Java
Code: Select all
sudo apt-get install openjdk-8-jre
sudo apt-get install openjdk-8-jdk
//Check java version
sudo update-alternatives --config java
Code: Select all
sudo tar -xzf xTIMEcomposer-Community_14-Linux64-Installer_Community_14.4.1.tgz -C /opt
cd /opt/XMOS/xTIMEcomposer/Community_14.4.1/xtimecomposer_bin/swtbrowserlibs
Code: Select all
sudo rm libpangoft2-1.0.so.0
sudo rm libpangocairo-1.0.so.0
Code: Select all
sudo ./setup_xmos_devices.sh
Code: Select all
sudo nano /usr/share/applications/xTIMEcomposer-studio.desktop
Code: Select all
[Desktop Entry]
Name=xTIMEcomposer Studio
Comment=xmos C/C++ IDE
Type=Application
Categories=Development;IDE;
Exec=/opt/XMOS/xTIMEcomposer/Community_14.4.1/xtimecomposer
Terminal=false
StartupNotify=true
Icon=/opt/XMOS/xTIMEcomposer/Community_14.4.1/xtimecomposer_bin/icon.xpm
Name[en_US]=xTIMEcomposer Studio
Cheers!
Fabien