Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Installation problem on RHEL 8

Installation problem on RHEL 8

Hello,

I'm working on a project which uses Openmodelica 1.16, that it was installed on my system RHEL8 and everything was working fine.
After the last updates the Openmodelica installation was broken, so I tried to reinstall it (https://build.openmodelica.org/rpm/el8/), but I can't due to this error:

"nothing provides omlib-all needed by openmodelica-cpp-1.16-1.16.5-2.el8.x86_64"

I tried to manually install omlib (https://build.openmodelica.org/rpm/omlib/) with no success. Can anybody help me?

Re: Installation problem on RHEL 8

We have started using our own package manager instead. You can install 1.16 with the --nodeps flag. I would also suggest installing the nightly and using the package manager from that to install the Modelica packages you need (either through command-line or OMEdit).

I will remove the omlib-all dependency from the spec-file since only Fedora has it as a suggests dependency and it's a hard dependency in RHEL.

Re: Installation problem on RHEL 8

Hello, thank you for your answer!

I tried to upgrade packages with OMEdit but the operation fails due to the error in red:

[1] 10:50:36 Scripting Notification
[/root/.openmodelica/libraries/index.json: 0:0-0:0]: Downloaded package index from URL https://libraries.openmodelica.org/index/v1/index.json.

[2] 10:50:43 Scripting Notification
[/usr/local/bin/../lib/omlibrary/BioChem 1.0.2: 0:0-0:0]: BioChem 1.0.2 will not be installed since version 1.0.2 is installed.

[3] 10:50:43 Scripting Notification
[/root/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo: 0:0-0:0]: Package installed successfully (SHA e68d7a0317c565ee00c1b8d44c527979ea0304bf).

[4] 10:50:43 Scripting Notification
[/root/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo: 0:0-0:0]: Package installed successfully (SHA e68d7a0317c565ee00c1b8d44c527979ea0304bf).

[5] 10:50:43 Scripting Notification
[/root/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo: 0:0-0:0]: Package installed successfully (SHA e68d7a0317c565ee00c1b8d44c527979ea0304bf).

[6] 10:50:43 Scripting Notification
[/root/.openmodelica/libraries//Complex 3.2.3+maint.om: 0:0-0:0]: Complex 3.2.3 will not be installed since version 3.2.3+maint.om is installed.

[7] 10:50:43 Scripting Notification
[/root/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo: 0:0-0:0]: Package installed successfully (SHA c11123102e94d4b5acb139331a6d85f45d8adcc0).

[8] 10:50:43 Scripting Notification
[/root/.openmodelica/libraries//Modelica 3.2.3+maint.om: 0:0-0:0]: Modelica 3.2.3 will not be installed since version 3.2.3+maint.om is installed.

[9] 10:50:43 Scripting Notification
[/root/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo: 0:0-0:0]: Package installed successfully (SHA c11123102e94d4b5acb139331a6d85f45d8adcc0).

[10] 10:50:43 Scripting Notification
[/root/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo: 0:0-0:0]: Package installed successfully (SHA c11123102e94d4b5acb139331a6d85f45d8adcc0).

[11] 10:50:43 Scripting Errore
[/root/.openmodelica/libraries/index.json: 0:0-0:0]: The package index did not contain an entry for package ModelicaReference of version . There are other versions that claim to be compatible: 4.0.0+maint.om, 3.2.3+maint.om, 3.2.2+maint.om, 3.2.1+maint.om, 3.2.0+maint.om, 3.1.0+maint.om, 3.0.1+maint.om, 3.0.0+maint.om, 4.0.0-trunk, 4.0.0-master.


However Openmodelica seems to work fine.

Re: Installation problem on RHEL 8

Which version of omc was this? And what does

Code:

ls ~/.openmodelica/libraries

contain?

It might also be that packages such as omlib-modelicareference need to be uninstalled in order for that to work.

There are 0 guests and 0 other users also viewing this topic
You are here: