cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube IDE on Fedora 37/38: .sh has outdated glib dependencies and Flatpak is problematic.

ArrowJ
Associate

I am having difficulty getting STM32Cube IDE installed and running correctly on Fedora 37/38. The glib dependencies the .sh installer requires are outdated. I cannot list them because I moved on from that installation method days ago. I can get them if anyone thinks there is actually a chance of making it work.

The Flatpak installs, but there are issues with using something this complex from a Flatpak. I get an error about xdg-mime when trying to set external tools in settings, and nothing I could change in Flatseal would fix it. The problem is, as a beginner, I would not necessarily know if something was not working correctly if it seemed to compile, but some other problem was hiding. I have not received my board yet so I do not know if I will have problems connecting as I have read others have had.

My searches of The Google have lead me to dead ends when it comes to getting the IDE installed on Fedora. Has anyone had success on current Fedora releases using the .sh installer? Maybe someone has work around for using the Flatpak without issue? I wish Ubuntu would die. It is the Windows of Linux and everything is built to it. Worst case, I can install the IDE on Windows, but that is just a terrible thing to happen to anyone.

Edit: I have attached the log file from STM32CubeIDEVersion: 1.12.0 Build: 14980_20230301_1550 (UTC) Flatpak

2 REPLIES 2
ArrowJ
Associate

I uninstalled the Flatpak. Successfully installed the rpm. Upon launch I get a message that Java is not responding and it never opens. The log files in STM32CubeIDE are as follows:

2023-04-15 17:21:13,508 [INFO] Activator:176 - 
 
 
2023-04-15 17:21:13,509 [INFO] Activator:177 - !SESSION log4j initialized
2023-04-15 17:21:13,652 [ERROR] LogOutputStream:75 - [STDERR_REDIRECT] SWT WebKitGDBus: error creating DBus server Error binding to address (GUnixSocketAddress): No such file or directory
2023-04-15 17:21:13,653 [ERROR] LogOutputStream:75 - [STDERR_REDIRECT] SWT WebKit: error initializing DBus server, dBusServer == 0
2023-04-15 17:21:56,487 [INFO] Activator:176 - 
 
 
2023-04-15 17:21:56,490 [INFO] Activator:177 - !SESSION log4j initialized
2023-04-15 17:21:56,679 [ERROR] LogOutputStream:75 - [STDERR_REDIRECT] SWT WebKitGDBus: error creating DBus server Error binding to address (GUnixSocketAddress): No such file or directory
2023-04-15 17:21:56,680 [ERROR] LogOutputStream:75 - [STDERR_REDIRECT] SWT WebKit: error initializing DBus server, dBusServer == 0
!SESSION 2023-04-15 17:21:06.166 -----------------------------------------------
eclipse.buildId=Version 1.12.0
java.version=11.0.17
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64
 
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 4 4 2023-04-15 17:21:13.336
!MESSAGE CubeMX plugin appears to be active, Log4j initialization might be too late.
 
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2023-04-15 17:21:13.337
!MESSAGE Log4j2 initialized with config file /home/aaron/STM32CubeIDE/workspace_1.12.0/.metadata/.log4j2.xml
!SESSION 2023-04-15 17:21:48.381 -----------------------------------------------
eclipse.buildId=Version 1.12.0
java.version=11.0.17
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64
 
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 4 4 2023-04-15 17:21:56.250
!MESSAGE CubeMX plugin appears to be active, Log4j initialization might be too late.
 
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2023-04-15 17:21:56.251
!MESSAGE Log4j2 initialized with config file /home/aaron/STM32CubeIDE/workspace_1.12.0/.metadata/.log4j2.xml

I have also attached the system log that may or may not be relevant. Is there another way to find help with this issue, or is Linux support not really a thing for this software?

Pavel A.
Evangelist III

Sorry this is not helpful but per the CubeIDE 1.12 release notes Fedora 37/38 is not a supported OS.

The latest supported Fedora is 31.

>  I can install the IDE on Windows, but that is just a terrible thing to happen to anyone.

There are things scarier than using Windows. For example, being late with your project.