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

omc compile error on Ubuntu probably since rev11450

omc compile error on Ubuntu probably since rev11450

Hi,
I just tried to compile the latest revision from the repository.
Unfortunately I get the following error:

/usr/bin/omniidl -bpython -C../../build/share/omc/scripts/PythonInterface/stubs omc_communication.idl || test "`uname`" = "Darwin"
omniidl: Could not import back-end 'python'
omniidl: Maybe you need to use the -p option?
omniidl: (The error was 'No module named python')
make[4]: *** [../../build/share/omc/scripts/PythonInterface/stubs/omc_communication_idl.py] Error 1

I have never had this message before rev11450.
I had a look into the commit logs and there is a modification regarding this omniidl issue, but I have no idea how to solve that.
I am on Ubuntu and I have "python" installed. Why is there a message that it could not import python??

thanks, Fritz

Re: omc compile error on Ubuntu probably since rev11450

Run apt-get build-dep openmodelica again to install the omniorb-python package.

Re: omc compile error on Ubuntu probably since rev11450

In case anybody has got the same problem: its the omniidl-python package which is needed!

Quite obvious actually current/smile. I should have realized that straight away...

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