ROS Wont install

I am following this guide: https://wiki.ros.org/Installation/Source but im getting stuck at running ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release

I am getting

-- Configuring incomplete, errors occurred!
<== Failed to process package 'rospack': 
  Command '['/home/user/Coding/C++/catkin_ws/install_isolated/env.sh', 'cmake', '/home/user/Coding/C++/catkin_ws/src/rospack', '-DCATKIN_DEVEL_PREFIX=/home/user/Coding/C++/catkin_ws/devel_isolated/rospack', '-DCMAKE_INSTALL_PREFIX=/home/user/Coding/C++/catkin_ws/install_isolated', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1.

Reproduce this error by running:
==> cd /home/user/Coding/C++/catkin_ws/build_isolated/rospack && /home/user/Coding/C++/catkin_ws/install_isolated/env.sh cmake /home/user/Coding/C++/catkin_ws/src/rospack -DCATKIN_DEVEL_PREFIX=/home/user/Coding/C++/catkin_ws/devel_isolated/rospack -DCMAKE_INSTALL_PREFIX=/home/user/Coding/C++/catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles'

cd /home/user/Coding/C++/catkin_ws/build_isolated… gives

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find TinyXML2 (missing: TinyXML2_LIBRARY TinyXML2_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /home/user/Coding/C++/catkin_ws/install_isolated/share/cmake_modules/cmake/Modules/FindTinyXML2.cmake:65 (find_package_handle_standard_args)
  CMakeLists.txt:8 (find_package)

However the package TinyXML2 is installed:

$ sudo dnf install tinyxml2-devel

Updating and loading repositories:
 Fedora 41 - x86_64 - Updates                                                                                                                                                                         100% |  68.9 KiB/s |  30.1 KiB |  00m00s
Repositories loaded.
Package "tinyxml2-devel-9.0.0-5.fc41.x86_64" is already installed.

Nothing to do.

Thank you for the help!

I don’t know specific cause of the issue.
But in your position I would read the cmake files to find out how it checks for tinyxml. Maybe there is a small edit you can do o fix finding tinyxml?