Spec URL: https://ppisar.fedorapeople.org/lpsolve-xli-CPLEX/lpsolve-xli-CPLEX.spec SRPM URL: https://ppisar.fedorapeople.org/lpsolve-xli-CPLEX/lpsolve-xli-CPLEX-5.5.2.11-1.fc42.src.rpm Description: This library allows lpsolve to read and write model files in the CPLEX linear programming format. Fedora Account System Username: ppisar
Copr build: https://copr.fedorainfracloud.org/coprs/build/8172849 (failed) Build log: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2321532-lpsolve-xli-cplex/fedora-rawhide-x86_64/08172849-lpsolve-xli-CPLEX/builder-live.log.gz Please make sure the package builds successfully at least for Fedora Rawhide. - If the build failed for unrelated reasons (e.g. temporary network unavailability), please ignore it. - If the build failed because of missing BuildRequires, please make sure they are listed in the "Depends On" field --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string.
That's great, thanks! Except it needs the files yacc_read.[ch] from the main lpsolve source tree to build properly, I believe: if I copy them in in a hacky way I think it builds ok.
Confirming also it seems to run fine, as long as the built libxli_CPLEX.so is in a sane place on the path (probably /lib/lib64 ?) Just for records, usage is usually something like % lp_solve -rxli xli_CPLEX model.lpt
It only needs yacc_read.h header file. I added that file into lpsolve-devel-5.5.2.11-7.fc42.
Thanks Petr. That should do the trick. There are other xli interfaces too in the lpsolve code, so others may profit from the header in the lpsolve-devel rpm if those other interfaces appear as separate rpms in the future...