<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small"><span style="font-family:Arial,Helvetica,sans-serif">On Wed, Nov 6, 2024 at 3:57 AM Miller, Jeremy via Evergreen-general <<a href="mailto:evergreen-general@list.evergreen-ils.org">evergreen-general@list.evergreen-ils.org</a>> wrote:</span></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg4718508307622631869"><div>>- I don't have much knowledge about "make" and Makefile, but my opinion is that it is not the appropriate tool for installing dependencies. You can use DEB packages instead, which might be more suitable. Or just bash scripting, or listing the packages that need to be installed on the installation page.<br>
<br>
FWIW, everything that can be installed by standard package management, is already being installed that way. What you suggest is effectively what that particular make command is doing, but with minimized typing/copy/pasting.<br>
<br>
make -f Open-ILS/src/extras/Makefile.install <osname><br>
<br>
If you cat that Makefile.install file and give it a read (easier to follow than many bash scripts), it calls multiple other files depending on what osname you give it. Look at the files getting called for a given osname, and you'll find the list of DEB or RPM packages getting installed (along with the exact apt or yum command used to do it), among other things. (Repos to add if missing, CPAN modules to install, packages needing removed in favor of a compiled from source version, apache modules to enable, and so on.)<br></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">You may be right. I am familiar with Bash scripting and not familiar with make and Makefile, so probably I am biased.</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">However, I'd prefer to be able to install an application without having to go down and look at the details (at the source code, etc.), simply because I don't have enough time to do this for all the applications that I install.</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">I can only notice that with all the great job that Makefile.install files are doing, the installation page is still very long, with lots of instructions, and the installation is still difficult (more difficult than most applications that I have tried, in my opinion).</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">So, maybe we can agree that there is still some work that needs to be done, one way or another, to improve the installation, to make it easier and more reliable. Most of the people here have already installed it (I guess), so improving the installation is not their priority or concern, but it might be important for newcomers like me.</div></div><div><br></div><div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">Dashamir</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small"><br></div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg4718508307622631869"><div>
I've found reading through them a pretty good way to see in complete detail what is going on with that step. Even with zero prior experience with it, I once found it quite easy to "add support" myself for a newly released os version, just to see if it would install and work there without any trouble. (It did!) One could absolutely use them as a guide to do all of it by hand, if desired.<br>
<br>
Hope that might be helpful for you, or for anyone else curious about how that part works. :)<br>
<br>
Cheers<br>
-Jeremiah<br>
<br>
--------------------------------------<br>
<span class="gmail_default" style="font-family:arial,sans-serif;font-size:small"></span>Jeremiah Miller | 503-507-9258 (cell)<br>
Sysadmin | Albany Public Library<br>
--------------------------------------<br></div>
</div></blockquote></div></div>