Hello,

since a few weeks (somewhen between r9xxx and r10557) the path name of
ModelicaBuiltin.mo seems to be hard coded (or generated as absolute
path hard) into the omc binary.

As result is not possible to create rpm packages as non root user
because the build root directory is different from the final location
of the omc binary (generally /usr/bin/omc where non root is not allowed
to write).

I think it is better to calculate the location of ModelicaBuiltin.mo
relative to the omc binary at runtime. In Linux one can use the
symlink '/proc/self/exe' to determine the path to omc binary, the
powerpoint platform provides GetModuleFileName  in the api.

Timo 

Reply via email to