
- Macports high sierra archive#
- Macports high sierra code#
- Macports high sierra series#
- Macports high sierra download#
For specific reasons, some may not wish to have autoconf in /usr/local and therefor, we are going to place the compiled binaries in a directory within our user's home folder. While it is perfectly acceptable to run it as is, we're going to make some changes to keep things a little bit cleaner. Now that we are in the main autoconf source directory, we need to invoke the configure script in order to set the appropriate parameters for compilation. sounds annoying? Well, there is a special name for this type of dependency tracking however, since expletives are not permitted, I'm just going to have to leave it at that. Some programs have webs of dependencies that must be built first.
Macports high sierra code#
This is the norm for source code compilation you must build any dependencies first, and work your way up to the main program you're trying to install.
Macports high sierra archive#
$ tar xjf bash-5.0.tar.gz & cd bash-5.0Both of these commands will navigate to the respective directories that were extracted from each archive so, we're going to start with autoconf first, as it is a dependency for bash, and therefor, do not run the command for bash until we are done dealing with autoconf. While lumping them into a single command is definitely possible, I am going to keep them separated for the sake of consistency.
Macports high sierra download#
Use the following commands to download each archive. While you can download the archives from a web browser, you should become familiar with using the command line, as from this point onward, we'll be working in the terminal almost exclusively. As of bash 5.0.18, autoconf is also a requirement and bash will fail to build if it is not present so, we will need to download the latest version of autoconf as well. This post will focus on bash 5.0 since it is currently the latest release. In this post, I will be linking GNU's ftp server however, you may see better results using a mirror that is geographically closer to your location.

Next, download the latest version of the bash source. Depending on your hardware, and internet connection, installation time will vary, but in my experience, it doesn't take too long. This does not require the entire Xcode app and takes up much less space. I'm not sure when this issue will be resolved however, please keep in mind that bash 5.1 will likely be released very soon, as we have already seen 3 different release candidates. This does not obligate you to pay for a developer account instead, it serves as a launching point for getting started with development within the Apple ecosystem. You must sign in with your AppleID and accept the developer terms of service before you can access any of the provided resources. You can download the tools, directly from Apple, simply by clicking here.

So, for some reason, bash 5 will not compile against the newer xCode 12 command line tools, and as such we need to download the last set of tools for xCode 11. IMPORTANT: BUILD ERROS ON 10.15.x - PLEASE READ!
Macports high sierra series#

One of the requirements I had when doing this myself was to have no dependence on brew, or MacPorts, as these leave a noticeable footprint. Fortunately, getting bash back is very easy. This will have many advantages, as the included version of bash in macOS is very old however, zsh is technically not fully POSIX compliant, and there exist a number of great scripts that simply do not work correctly on zsh. With the release of Catalina, Apple has officially changed the default shell to zsh. Building a CustoMac Hackintosh: Buyer's Guide
