This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/plc4x-website.git
The following commit(s) were added to refs/heads/asf-site by this push: new fb845a2d2 Site checkin for project PLC4X: Jenkins Tools fb845a2d2 is described below commit fb845a2d2075869df7feda35737032fdab813135 Author: jenkins <bui...@apache.org> AuthorDate: Sat Jul 2 22:18:48 2022 +0000 Site checkin for project PLC4X: Jenkins Tools --- developers/preparing/linux.html | 123 ++++---------------------------------- developers/preparing/macos.html | 57 +++++------------- developers/preparing/windows.html | 68 +-------------------- 3 files changed, 28 insertions(+), 220 deletions(-) diff --git a/developers/preparing/linux.html b/developers/preparing/linux.html index b65e298cb..78bde9656 100644 --- a/developers/preparing/linux.html +++ b/developers/preparing/linux.html @@ -249,7 +249,7 @@ </div> <div class="literalblock"> <div class="content"> -<pre>sudo apt install git</pre> +<pre>sudo apt-get install git</pre> </div> </div> <div class="paragraph"> @@ -288,7 +288,7 @@ </div> </div> <div class="paragraph"> -<p>Some times I had to set the uid to execute the java executable with the permissions of the owner (root) …​ however this is quite sub-optimal solution.</p> +<p>Sometimes I had to set the uid to execute the java executable with the permissions of the owner (root) …​ however this is quite sub-optimal solution.</p> </div> <div class="literalblock"> <div class="content"> @@ -327,36 +327,6 @@ </div> </div> <div class="sect2"> -<h3 id="g">g++</h3> -<div class="paragraph"> -<p>Checking:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>g++ --version</pre> -</div> -</div> -<div class="paragraph"> -<p>If you get any successful output, you probably don’t need to do anything.</p> -</div> -<div class="paragraph"> -<p>Apt-based systems:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>sudo apt-get install g++</pre> -</div> -</div> -<div class="paragraph"> -<p>Yum based systems:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>sudo yum install g++</pre> -</div> -</div> -</div> -<div class="sect2"> <h3 id="dotnet">dotnet</h3> <div class="paragraph"> <p>Checking:</p> @@ -377,13 +347,11 @@ </div> <div class="literalblock"> <div class="content"> -<pre>wget http://ftp.us.debian.org/debian/pool/main/i/icu/libicu57_57.1-6+deb9u4_amd64.deb -sudo dpkg -i libicu57_57.1-6+deb9u4_amd64.deb -wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb +<pre>wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb sudo apt-get install apt-transport-https sudo apt-get update -sudo apt-get install dotnet-sdk-2.2</pre> +sudo apt-get install dotnet-sdk-6.0</pre> </div> </div> <div class="paragraph"> @@ -397,18 +365,18 @@ sudo apt-get install dotnet-sdk-2.2</pre> </div> <div class="literalblock"> <div class="content"> -<pre>python --version</pre> +<pre>python3 --version</pre> </div> </div> <div class="paragraph"> -<p>If you get a version of 2.7 or higher reported, you probably don’t need to do anything.</p> +<p>If you get a version of 3.3 or higher reported, you probably don’t need to do anything.</p> </div> <div class="paragraph"> <p>Apt-based systems:</p> </div> <div class="literalblock"> <div class="content"> -<pre>sudo apt-get install python-dev python-is-python3</pre> +<pre>sudo apt-get install python3 python3-venv</pre> </div> </div> <div class="paragraph"> @@ -416,95 +384,30 @@ sudo apt-get install dotnet-sdk-2.2</pre> </div> <div class="literalblock"> <div class="content"> -<pre>yum install gcc -cd /usr/src -wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz -tar xzf Python-2.7.10.tgz -cd Python-2.7.10 -./configure -make altinstall</pre> +<pre>yum intall python3</pre> </div> </div> </div> <div class="sect2"> -<h3 id="python_setuptools">Python setuptools</h3> +<h3 id="python_venv">Python venv</h3> <div class="paragraph"> <p>Checking:</p> </div> <div class="literalblock"> <div class="content"> -<pre>python -c "import setuptools"</pre> +<pre>python3 -Im ensurepip</pre> </div> </div> <div class="paragraph"> -<p>If this just exists and doesn’t report an error, you’re ok. If it complains about "No module named setuptools", then you need to install it.</p> +<p>If you are getting anything else than a: <code>No module named ensurepip</code>, you’re ok. +It seems that this manually needs to be installed on some systems.</p> </div> <div class="paragraph"> <p>Apt-based systems:</p> </div> <div class="literalblock"> <div class="content"> -<pre>sudo apt-get install python-setuptools</pre> -</div> -</div> -</div> -<div class="sect2"> -<h3 id="bison">bison</h3> -<div class="paragraph"> -<p>Checking:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>bison --version</pre> -</div> -</div> -<div class="paragraph"> -<p>If you get a version above 2.3 output, you don’t need to do anything.</p> -</div> -<div class="paragraph"> -<p>Apt-based systems:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>sudo apt-get install bison</pre> -</div> -</div> -<div class="paragraph"> -<p>Yum based systems:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>sudo yum install bison-devel</pre> -</div> -</div> -</div> -<div class="sect2"> -<h3 id="flex">flex</h3> -<div class="paragraph"> -<p>Checking:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>flex --version</pre> -</div> -</div> -<div class="paragraph"> -<p>If you get any successful output, you probably don’t need to do anything.</p> -</div> -<div class="paragraph"> -<p>Apt-based systems:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>sudo apt-get install flex</pre> -</div> -</div> -<div class="paragraph"> -<p>Yum based systems:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>sudo yum install flex</pre> +<pre>sudo apt-get install python3-venv</pre> </div> </div> </div> diff --git a/developers/preparing/macos.html b/developers/preparing/macos.html index 934a82e84..3f39d26d0 100644 --- a/developers/preparing/macos.html +++ b/developers/preparing/macos.html @@ -295,23 +295,6 @@ So it’s best to update to a newer version using brew:</p> </div> </div> <div class="sect2"> -<h3 id="g">g++</h3> -<div class="paragraph"> -<p>Checking:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>g++ --version</pre> -</div> -</div> -<div class="paragraph"> -<p>If you get any successful output, you probably don’t need to do anything.</p> -</div> -<div class="paragraph"> -<p>It seems macOS comes with a version of g++ which is good enough for our usecases.</p> -</div> -</div> -<div class="sect2"> <h3 id="dotnet">dotnet</h3> <div class="paragraph"> <p>Checking:</p> @@ -343,7 +326,7 @@ So it’s best to update to a newer version using brew:</p> </div> <div class="literalblock"> <div class="content"> -<pre>python3 --version</pre> +<pre>python --version</pre> </div> </div> <div class="paragraph"> @@ -354,53 +337,41 @@ So it’s best to update to a newer version using brew:</p> </div> <div class="literalblock"> <div class="content"> -<pre>brew install python</pre> -</div> +<pre>brew install pyenv</pre> </div> </div> -<div class="sect2"> -<h3 id="bison">bison</h3> <div class="paragraph"> -<p>Checking:</p> +<p>Then use pyenv to install python:</p> </div> <div class="literalblock"> <div class="content"> -<pre>bison --version</pre> +<pre>pyenv install 3.9.13</pre> </div> </div> <div class="paragraph"> -<p>If you get a version above 2.3 output, you don’t need to do anything.</p> -</div> -<div class="paragraph"> -<p>macOS comes with a pre-installed version of bison, however this version is 2.3 and hereby too old. -So you need to update to a more recent version:</p> +<p>Then set this as the global python version:</p> </div> <div class="literalblock"> <div class="content"> -<pre>brew install bison -brew link bison --force -echo 'export PATH="/usr/local/opt/bison/bin:$PATH"' >> ~/.bash_profile</pre> -</div> -</div> -<div class="paragraph"> -<p>Be sure to reboot or at least restart your IDE or commandline in order for the changes to become effective.</p> +<pre>pyenv global 3.9.13</pre> </div> </div> -<div class="sect2"> -<h3 id="flex">flex</h3> <div class="paragraph"> -<p>Checking:</p> +<p>And add pyenv to the PATH:</p> </div> <div class="literalblock"> <div class="content"> -<pre>flex --version</pre> +<pre>echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshrc +$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile</pre> </div> </div> <div class="paragraph"> -<p>If you get any successful output, you probably don’t need to do anything.</p> +<p>After opening a new terminal, <code>python</code> should be configured</p> +</div> +<div class="literalblock"> +<div class="content"> +<pre>python --version</pre> </div> -<div class="paragraph"> -<p>It seems macOS comes with a version of flex which is good enough for our usecases.</p> </div> </div> </div> diff --git a/developers/preparing/windows.html b/developers/preparing/windows.html index 282fda885..33799faee 100644 --- a/developers/preparing/windows.html +++ b/developers/preparing/windows.html @@ -307,23 +307,6 @@ If you had WinPcap installed, you need to uninstall this and make sure the files </div> </div> <div class="sect2"> -<h3 id="g">g++</h3> -<div class="paragraph"> -<p>Checking:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>g++ --version</pre> -</div> -</div> -<div class="paragraph"> -<p>If you get any successful output, you probably don’t need to do anything.</p> -</div> -<div class="paragraph"> -<p>On windows we will be using something called WinBuilds, which is sort of a package consisting of a typical build environment consisting of multiple build tools. So please look at the WinBuilds chapter at the end of the Windows section.</p> -</div> -</div> -<div class="sect2"> <h3 id="dotnet">dotnet</h3> <div class="paragraph"> <p>Checking:</p> @@ -366,58 +349,9 @@ Also make sure you restarted your IDE and or console window after changing the < </div> </div> <div class="sect2"> -<h3 id="bison">bison</h3> -<div class="paragraph"> -<p>Checking:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>bison --version</pre> -</div> -</div> -<div class="paragraph"> -<p>If you get any successful output, you probably don’t need to do anything.</p> -</div> -<div class="paragraph"> -<p>For Bison, please download the Setup installer version from <a href="http://gnuwin32.sourceforge.net/packages/bison.htm">here</a> (When using the zip version the bison.exe couldn’t find some DLL files) -It seems the official 2.4.1 version has issues when installed in a directory which’s path contains spaces. Please make sure you replace the exe with a patched version form <a href="http://marin.jb.free.fr/bison/bison-2.4.1-modified.zip">here</a> -(More infos on this issue <a href="https://sourceforge.net/p/gnuwin32/bugs/473/">here</a>)</p> -</div> -<div class="paragraph"> -<p>It seems there are issues if these tools are installed in paths with spaces. -So if it is for example installed in the 32 bit <code>Programs (x86)</code> directory, the build will probably fail.</p> -</div> -<div class="paragraph"> -<p>Make sure all tools <code>bin</code> directories are added to your systems <code>PATH</code>. -For tools like OpenSSL be sure to add the directory containing the <code>openssl.exe</code> (Usually the root directory). -Also make sure you restarted your IDE and or console window after changing the <code>PATH</code> settings for the changes to take effect.</p> -</div> -</div> -<div class="sect2"> -<h3 id="flex">flex</h3> -<div class="paragraph"> -<p>Checking:</p> -</div> -<div class="literalblock"> -<div class="content"> -<pre>flex --version</pre> -</div> -</div> -<div class="paragraph"> -<p>If you get any successful output, you probably don’t need to do anything.</p> -</div> -<div class="paragraph"> -<p>Please download the Flex compiler from <a href="http://gnuwin32.sourceforge.net/packages/flex.htm">here</a> (Ideally download the binary zip distribution)</p> -</div> -<div class="paragraph"> -<p>Make sure it’s <code>bin</code> directory is added to your systems <code>PATH</code>. -Also make sure you restarted your IDE and or console window after changing the <code>PATH</code> settings for the changes to take effect.</p> -</div> -</div> -<div class="sect2"> <h3 id="winbuilds">WinBuilds</h3> <div class="paragraph"> -<p>He have tested WinBuilds with the bundle found <a href="http://win-builds.org/doku.php/download_and_installation_from_windows">here</a>.</p> +<p>We have tested WinBuilds with the bundle found <a href="http://win-builds.org/doku.php/download_and_installation_from_windows">here</a>.</p> </div> <div class="admonitionblock warning"> <table>