You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2022/07/02 13:06:45 UTC

[plc4x] 02/02: chore(site): Continued fine-tuning the setup instructions

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit b8dd662048b97f6943d8971f4fb91510dfacbf3e
Author: christoferdutz <ch...@c-ware.de>
AuthorDate: Sat Jul 2 15:06:37 2022 +0200

    chore(site): Continued fine-tuning the setup instructions
---
 src/site/asciidoc/developers/preparing/linux.adoc  | 16 +++-----
 .../asciidoc/developers/preparing/windows.adoc     | 44 +---------------------
 2 files changed, 6 insertions(+), 54 deletions(-)

diff --git a/src/site/asciidoc/developers/preparing/linux.adoc b/src/site/asciidoc/developers/preparing/linux.adoc
index 3355dd377..a37e903fb 100644
--- a/src/site/asciidoc/developers/preparing/linux.adoc
+++ b/src/site/asciidoc/developers/preparing/linux.adoc
@@ -47,7 +47,7 @@ Using libpcap usually requires root privileges, however the java process can be
 
  setcap cap_net_raw,cap_net_admin=eip /path/to/java
 
-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.
+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.
 
  chmod 4755 /path/to/java
 
@@ -83,7 +83,7 @@ For Ubuntu this would be:
  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
+ sudo apt-get install dotnet-sdk-6.0
 
 For other distributions, please select the distribution in the drop-down menu and follow the instructions there.
 
@@ -93,18 +93,12 @@ Checking:
 
  python --version
 
-If you get a version of 2.7 or higher reported, you probably don't need to do anything.
+If you get a version of 3.3 or higher reported, you probably don't need to do anything.
 
 Apt-based systems:
 
- sudo apt-get install python-dev python-is-python3
+ sudo apt-get install python-dev python3.10-venv
 
 Yum based systems:
 
- 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
+ yum intall python3
\ No newline at end of file
diff --git a/src/site/asciidoc/developers/preparing/windows.adoc b/src/site/asciidoc/developers/preparing/windows.adoc
index e6f6f1a44..67646db60 100644
--- a/src/site/asciidoc/developers/preparing/windows.adoc
+++ b/src/site/asciidoc/developers/preparing/windows.adoc
@@ -54,16 +54,6 @@ If you get any successful output, you probably don't need to do anything.
 
 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.
 
-=== g++
-
-Checking:
-
- g++ --version
-
-If you get any successful output, you probably don't need to do anything.
-
-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.
-
 === dotnet
 
 Checking:
@@ -90,41 +80,9 @@ You can get Python from https://www.python.org/downloads/release/python-2716/[he
 Make sure directory containing `python.exe` is added to your systems `PATH`.
 Also make sure you restarted your IDE and or console window after changing the `PATH` settings for the changes to take effect.
 
-=== bison
-
-Checking:
-
- bison --version
-
-If you get any successful output, you probably don't need to do anything.
-
-For Bison, please download the Setup installer version from http://gnuwin32.sourceforge.net/packages/bison.htm[here] (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 http://marin.jb.free.fr/bison/bison-2.4.1-modified.zip[here]
-(More infos on this issue https://sourceforge.net/p/gnuwin32/bugs/473/[here])
-
-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 `Programs (x86)` directory, the build will probably fail.
-
-Make sure all tools `bin` directories are added to your systems `PATH`.
-For tools like OpenSSL be sure to add the directory containing the `openssl.exe` (Usually the root directory).
-Also make sure you restarted your IDE and or console window after changing the `PATH` settings for the changes to take effect.
-
-=== flex
-
-Checking:
-
- flex --version
-
-If you get any successful output, you probably don't need to do anything.
-
-Please download the Flex compiler from http://gnuwin32.sourceforge.net/packages/flex.htm[here] (Ideally download the binary zip distribution)
-
-Make sure it's `bin` directory is added to your systems `PATH`.
-Also make sure you restarted your IDE and or console window after changing the `PATH` settings for the changes to take effect.
-
 === WinBuilds
 
-He have tested WinBuilds with the bundle found http://win-builds.org/doku.php/download_and_installation_from_windows[here].
+We have tested WinBuilds with the bundle found http://win-builds.org/doku.php/download_and_installation_from_windows[here].
 
 WARNING: Please use the installer. When using the zip distribution and manually adding that to the `PATH` the build will fail without a log output as some binaries can't find some of the DLL files.