T
Termux2mo ago
VISΛGE

CMake can't find boost_systemConfig.cmake while building InnoExtract

Seems that the boost package supplied by the Termux package repositories doesn't include boost_system and InnoExtract relies on it. Should I just hot-rod Boost from a compiled source?
6 Replies
owokitty
owokitty2mo ago
I know what you need to do, that kind of error means that the project has a dependency on boost 1.88 and does not yet officially support boost 1.89 termux has boost 1.89 already whenever that happens, what you need to do is go to the github repository of the project and go to the PRs and find where someone has made a PR named something like "boost 1.89"
owokitty
owokitty2mo ago
GitHub
CMake: Fix build with Boost 1.89.0 by cho-m · Pull Request #199 ·...
In the upcoming Boost 1.89.0 release, the Boost.System stub library introduced back in 1.691 has been removed (boostorg/system@7a495bb), which causes a CMake error. This PR change using OPTIONAL_CO...
owokitty
owokitty2mo ago
then you just need to download the code from that PR and copy and paste it into your local repository and then it will compile if you need more help to do this let me know! In fact, this is how pkg install innoextract already works in Termux, because when i compiled the innoextract that currently comes from pkg install innoextract in termux, I applied that PR to it and compiled it with boost 1.89 is there a reason that you specifically need to compile a custom innoextract and the one from pkg install innoextract doesn't work for you?
VISΛGE
VISΛGEOP2mo ago
the installer im trying to extract is in version 6.3.3
owokitty
owokitty2mo ago
oh ok, so the problem is that the Termux prebuilt innoextract is too old because innoextract has not had any official releases since 2020, so you need the git development branch version? you can try compiling the git branch after applying the PR I linked, do you know how to do that?
VISΛGE
VISΛGEOP2mo ago
yea i handled it i thought i could just fool innoextract into extracting it by making it "supported" before actual support was put in place but apparently not. i don't know why i guess Inno Setup shuffles stuff every build

Did you find this page helpful?