Package Details: openmodelica-git 1.20.0.dev.r320.g9cbaf6232e-1

Git Clone URL: https://aur.archlinux.org/openmodelica-git.git (read-only, click to copy)
Package Base: openmodelica-git
Description: The Open Source Modelica Suite
Upstream URL: https://openmodelica.org
Licenses: OSMC-PL
Conflicts: openmodelica, openmodelica-dev, openmodelica-svn
Provides: openmodelica
Submitter: Xwang
Maintainer: ElMastro
Last Packager: ElMastro
Votes: 11
Popularity: 0.000000
First Submitted: 2015-06-20 11:21 (UTC)
Last Updated: 2022-10-02 22:56 (UTC)

Dependencies (19)

Required by (0)

Sources (10)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 16 Next › Last »

Xwang commented on 2020-07-30 22:04 (UTC)

I was just giving a look at the paraview-opt package and I was wondering if it is the case to create a bash script for openmodelica similar to the paraview.sh so that to have a fully configured openmodelica installation

Xwang commented on 2020-07-30 19:26 (UTC)

Here:

https://pastebin.com/bZdCHk7z

you find a modified PKGBUILD which solves those last issues (except for the qwt_plot.h: No such file or directory issue). Maybe once the PKGBUILD is updated we can open a bug pointing to this PKGBUILD as a way to reproduce the makepkg bug (if you have not done that already).

Xwang commented on 2020-07-30 17:40 (UTC)

@ElMaestro

I've tried your latest PKGBUILD.

I've noted the following: 1) namcap saysa that some dependencies are not needed and some need are missing:


openmodelica-git E: Dependency python2 detected and not included (programs ['python2'] needed in scripts ['opt/OpenModelica/lib/omlibrary/SolarTherm 0.2/Resources/Include/st_test_ext.py'])
openmodelica-git E: Dependency lib32-zlib detected and not included (libraries ['usr/lib32/libz.so.1'] needed in files ['opt/OpenModelica/lib/omlibrary/Buildings latest/Resources/Library/linux32/libpython2.7.so.1.0'])
openmodelica-git E: Dependency lib32-gcc-libs detected and not included (libraries ['usr/lib32/libgcc_s.so.1'] needed in files ['opt/OpenModelica/lib/omlibrary/Buildings latest/Resources/Library/linux32/libpython2.7.so.1.0'])
openmodelica-git W: Dependency included and not needed ('boost-libs')
openmodelica-git W: Dependency qt5-svg included but already satisfied
openmodelica-git W: Dependency included and not needed ('qt5-tools')
openmodelica-git W: Dependency included and not needed ('antlr4-runtime')

2) an empty OMSens folder is still created under pkg/openmodelica-git/usr/

3) the pkg/openmodelica-git/usr/share/openmodelica/icons/ folder should be in pkg/openmodelica-git/opt/OpenModelica/share/icons/ (the paraview-opt package puts the icons under the pkg/paraview-opt/opt/paraview/share/icons/ )

ElMastro commented on 2020-07-29 22:51 (UTC)

I'm getting the same errors. Would you like to try if the PKGBUILD in PKGBUILD ?

Xwang commented on 2020-07-28 11:15 (UTC)

@ElMastro In my opinion it is better to install OMSens in a /opt/OpenModelica subfolder and modify the OMSens setting with a patch file (if it is a textual file) or warn the user at the end of the installation about the need to make such a change. In such a way the systems is more clean.

ElMastro commented on 2020-07-28 10:40 (UTC)

@Xwang, You are right. The "--without-ipopt" option allows to utilize the external ipopt, which mumps should work fine, so the dependency will be corrected in the next PKGBUILD.

About the location of OMSens we can of course change it, but this would make it not work 'out of the box', and the user would have to set the path on the OMSens settings.

Xwang commented on 2020-07-27 06:06 (UTC)

@ElMastro

It seems strange that OMSens is the only package in the whole operating system that installs something directly under /usr . All the other packages install in one ore more of the /usr subfolders

As far as the ipopt, I see that in the build.sh there is the --without-ipopt option. If I remember correctly this option excludes the use of the internal provided ipopt and search for an already available one in the system. Is it so?