From: Leo B. <leo...@um...> - 2021-12-23 13:01:16
|
Robert Dodier <rob...@gm...> writes: > On Wed, Dec 22, 2021 at 6:44 PM Eduardo Ochs <edu...@gm...> wrote: > >> the "make install" installs the directories demo/, doc/, share/, src/, >> tests/, and xmaxima/ inside this directory: >> >> /usr/local/share/maxima/branch_5_45_base_309_gea23a96f9/ >> >> How can I make it use this directory >> >> /usr/local/share/maxima/ > > There isn't any simple way to change the version number, from which > the installation path is constructed. > > For the record, the only way to get a version other than the one > derived from 'git describe' (like the one shown above) is to ensure > that Maxima is being built from a non-Git directory, such as an > unpacked tarball. Then the version number shown in configure is used > (e.g. 5.45post in the current revision). > > But as Gunter was saying, you maybe don't really want to do that. If > you update your Git repo and rebuild Maxima, you'll have a different > version. It leads to less confusion if different versions are > installed into different directories. I think Eduardo has identified a bug in the build machinery. It should be very easy to make the kind of change he asks for. Unfortunately, too many things are being baked into the build scripts, which makes building inflexible. FWIW, Eduardo, I usually don't bother installing Maxima and just run it from its directory. In the rare case that I did need to install a Maxima built from git, I used checkinstall. Leo |