macOS installer: improve welcome and conclusion of installer

[skip ci]
kalman-mex
Willi Mutschler 2023-10-11 16:25:42 +02:00
parent 6d2958625d
commit a3b05f6d74
No known key found for this signature in database
GPG Key ID: 91E724BF17A73F6D
2 changed files with 8 additions and 17 deletions

View File

@ -12,10 +12,6 @@
}
code {
font-family: "Courier New", Courier, monospace;
background-color: #f9f9f9;
border: 1px solid #ccc;
padding: 2px 4px;
border-radius: 4px;
}
</style>
</head>
@ -33,13 +29,13 @@
</code>
<p class="bold-text">Compilation Environment for use_dll option</p>
<p>Dynare ships a compilation environment that can be used with the use_dll option. To install this environment correctly, the Xcode Command Line Tools are sufficient. Check this by running:</p>
<p>Dynare ships a compilation environment that can be used with the use_dll option. To install this environment correctly, the Xcode Command Line Tools are sufficient. Check this by running the following command in the MATLAB command window:</p>
<code>
mex -setup
</code>
<p>If you get a warning in MATLAB, that Xcode is installed, but its license has not been accepted, please refer to the <a href="https://www.dynare.org/manual/installation-and-configuration.html#prerequisites-on-macos" target="_blank" rel="noopener noreferrer">manual</a> for a workaround.</p>
<p>However, we recommend making use of optimized compilation flags and for this you need to install GCC via Homebrew.
For this, follow <a href="https://brew.sh" target="_blank" rel="noopener noreferrer">https://brew.sh</a> to install Homebrew and then type the following into Terminal.app:</p>
<p>Moreover, we recommend making use of optimized compilation flags and for this you need to install GCC via Homebrew.
Follow <a href="https://brew.sh" target="_blank" rel="noopener noreferrer">https://brew.sh</a> to install Homebrew and then type the following into Terminal.app:</p>
<code>
brew install gcc@GCC_VERSION
</code>

View File

@ -12,10 +12,6 @@
}
code {
font-family: "Courier New", Courier, monospace;
background-color: #f9f9f9;
border: 1px solid #ccc;
padding: 2px 4px;
border-radius: 4px;
}
</style>
</head>
@ -28,14 +24,13 @@
</header>
<main>
<p>If you wish to modify the installation path, click <strong>Customize</strong> after accepting the license. Then, under <strong>Location</strong>, select your desired folder.</p>
<p>Upon completing the installation, please review the <strong>Recommendations</strong> section for guidance on the optional installation of Xcode Command Line Tools and GCC via Homebrew.</p>
<p class="bold-text">Troubleshooting installing in /Applications/Dynare</p>
<p>In versions prior to 5.5, the macOS pkg installer required administrative rights to install Dynare, this is no longer the case. However, if you aim to install Dynare in /Applications/Dynare, you will need to modify the ownership of this folder. To do this, execute the following command in Terminal.app:</p>
<p>Thank you for choosing Dynare!</p>
<p>This installation does not require administrative privileges. If for some reason admin rights are requested, use 'Change Install Location' and select 'Install for me only'.</p>
<p>By default Dynare will be installed into /Applications/Dynare. To modify the installation path, click <strong>Customize</strong> after accepting the license. Then, under <strong>Location</strong>, select your desired folder.</p>
<p>Installing into /Applications/dynare might fail if you have older versions of Dynare installed in /Applications/Dynare. To fix this, modify the ownership by executing the following command in Terminal.app:</p>
<code>
sudo chown -R "$USER":staff /Applications/Dynare
</code>
<p>Alternatively, install Dynare in a different folder or simply delete (or move) /Applications/Dynare before installing Dynare.</p>
</code>
</main>
</body>