Wie kann ich die C++ Version auf meinem Raspberry PI aktualisieren?

Hallo Community, ich versuche seid einiger Zeit MC auf dem PI zu installieren. Ich gehe dabei nach dieser Anleitung vor:

http://www.tutorials-raspberrypi.de/webserver/raspberrypi-als-minecraft-server/

Ich komme bis zu Schritt "cmake ...". Dort spuckt er mir folgende Fehlermeldung aus:

pi@raspberrypi ~/mc-server-orig $ cmake . -DCMAKE_BUILD_TYPE=RELEASE && make -- JsonCpp Version: 1.6.4 -- SQLITECPP_RUN_CPPLINT OFF -- SQLITECPP_RUN_CPPCHECK OFF -- SQLITECPP_RUN_DOXYGEN OFF -- SQLITECPP_BUILD_EXAMPLES OFF -- SQLITECPP_BUILD_TESTS OFF -- GCC Version >= 2.95 enabling no-strict-aliasing including polarssl -- Configuring done -- Generating done -- Build files have been written to: /home/pi/mc-server-orig [ 0%] Building CXX object lib/jsoncpp/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o cc1plus: error: unrecognized command line option ‘-std=c++11’ cc1plus: error: unrecognized command line option ‘-std=c++11’ cc1plus: error: unrecognized command line option ‘-std=c++11’ lib/jsoncpp/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/build.make:54: recipe for target 'lib/jsoncpp/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o' failed make[2]: *** [lib/jsoncpp/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o] Error 1 CMakeFiles/Makefile2:108: recipe for target 'lib/jsoncpp/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/all' failed make[1]: * [lib/jsoncpp/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/all] Error 2 Makefile:113: recipe for target 'all' failed make: * [all] Error 2

Ich habe ebenfalls g++ auf dem Raspberry aktualisiert, die Version ist aber die neuste.

Weiß jemand Rat? Vielen Dank im Voraus!

Installation, Minecraft, CPP, Pi, Raspberry
Probleme mit Fail2Ban?

Fail2Ban auf dem raspberry pi macht probleme. Wenn ich den status überprüfe erhalte ich diese fehlermeldung:

x fail2ban.service - Fail2Ban Service
   Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; preset: enabled)
   Active: failed (Result: exit-code) since Tue 2024-06-11 19:56:05 CEST; 3s ago
  Duration: 314ms
    Docs: man:fail2ban(1)
  Process: 3578 ExecStart=/usr/bin/fail2ban-server -xf start (code=exited, status=255/EXCEPTION)
  Main PID: 3578 (code=exited, status=255/EXCEPTION)
    CPU: 311ms

Jun 11 19:56:05 tbt systemd[1]: Started fail2ban.service - Fail2Ban Service.
Jun 11 19:56:05 tbt fail2ban-server[3578]: 2024-06-11 19:56:05,576 fail2ban.configreader  [3578]: WARNING 'allowipv6' not defined in 'Definition'. Using default one: 'auto'
Jun 11 19:56:05 tbt fail2ban-server[3578]: 2024-06-11 19:56:05,608 fail2ban        [3578]: ERROR  Failed during configuration: Have not found any log file for sshd jail
Jun 11 19:56:05 tbt fail2ban-server[3578]: 2024-06-11 19:56:05,610 fail2ban        [3578]: ERROR  Async configuration of server failed
Jun 11 19:56:05 tbt systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION
Jun 11 19:56:05 tbt systemd[1]: fail2ban.service: Failed with result 'exit-code'.

Es steht ja ERROR failed during configuration: Have not found any log file in sshd jail

und ERROR Async configuration of server failed.

Ich habe im jail.local den path zum ssh jail angepasst (zu logpath = /var/log/auth.log) aber es geht immer noch nicht...

Software, Linux, Networking, Programmiersprache, Softwareentwicklung, ssh, Raspberry Pi, Raspberry, sshd, Raspberry Pi 4

Meistgelesene Fragen zum Thema Raspberry