Replies: 4 comments 5 replies
-
The Changelog in [1] seems to be mention the e-mail address of someone who seems to have maintained this package. Maybe they have the files you mention. From your configure flags, only
should be necessary. Ipopt itself does not interface to Metis, so you probably don't need metis-devel. Run also make test to check whether Ipopt works with this build of MUMPS. |
Beta Was this translation helpful? Give feedback.
-
Hello. you can see here the spec file used for building Ipopt. |
Beta Was this translation helpful? Give feedback.
-
Probably, something is missed in your buildroot. Use
Please, open a ticket in RedHat Bugzilla to require Ipopt in EPEL8. |
Beta Was this translation helpful? Give feedback.
-
I managed to put together a working spec file. Do not use this, it is horrible for various reasons:
My biggest takeaway was that it would be very helpful to have dedicated lib and include folders during Ipopt compilation. Installing and/or integrating the program manually (or by any downstream distribution) is way easier if you already have the "build/lib" and "build/include" folders ready to go. Currently the libs are spread over some hidden .libs folders and the headers are part of the src folders. During "make install" the files have to be gathered anyway, eventually this could already be part of the preceding "make" step. It may already be possible to do this with the more in-depth prefix options from configure, but I think there was no way to distinguish between "install here but link everything as if it will get moved to some other place later". All in all I'm content with the result ("works for me") and maybe someone else finds this helpful in the future. |
Beta Was this translation helpful? Give feedback.
-
I'm interesting in packaging up IPOPT as rpm to distribute it across different machines at a higher convenience level compared to using "make install" and distributing the build folder.
For CentOS7 there is an RPM build available via EPEL [1]. Unfortunately no Coin-or package has found its way into the CentOS8 EPEL or powertools repository yet.
Would it be possible to share the workflow how IPOPT was packaged into EPEL for CentOS7? I'd be especially glad about the spec file and the configure flags.
I managed to make the program on the latest CentOS8 Stream with the following flags (after having installed the necessary dependencies from EPEL/powertools [2]):
[1] https://centos.pkgs.org/7/epel-aarch64/coin-or-Ipopt-3.12.8-5.el7.aarch64.rpm.html
[2] blas-devel lapack-devel metis-devel MUMPS-devel
Beta Was this translation helpful? Give feedback.
All reactions