[GNC] Build in docker, how to install on different laptop

Hajo Hindriks hhn10 at gmx.net
Mon Dec 27 08:00:00 EST 2021


> Sounds like he is using docker to build a 20.04 LTS container (matching
> his target OS), so that he might be able to "ninja install" in the
> container, and obtain code that could be installed outside of docker.
> docker here is being used for a backport environment.
>
> I'm not a gnucash developer, but generally, if you have a good build in
> docker, you should be able to "ninja install" into some scratch dir,
> make a tar file (or whatever), and get that out of docker.  Then, untar
> that on the target machine.
>
> One complication is that the build might assume it is installed in
> /usr/bin, for example, and you might need to tell it to install in
> /opt/gnucash, if the build is not relocatable.  I haven't built gnucash,
> but if there are any instructions for installing in non-standard
> locations (ie: not /usr/bin), follow those instructions.
>

This is what I am trying to do. Will build again with the intended
target directory matching the one from the other device and then copying
everything across. Will post again how it went.

thanks, Hajo


More information about the gnucash-user mailing list