Skip to content

How to setup on Fedora

Tim Wendt edited this page Mar 15, 2023 · 9 revisions

This guide describes how to setup fawkes-robotino using ansible on Fedora (37).

Prerequisites

You need a Fedora installation. You can find setup instructuions here

Install ansible

The default Package for ansible does not contain the required modules. Run:

dnf install ansible

This will install the required ansible modules.

Setup ssh-keys

If you have no ssh-key already you need to generate one by running:

ssh-keygen -t rsa -b 4096

You need to have access for this repository on your GitHub account and your ssh-key added. To add your ssh-key to your GitHub account print your public ssh-key with:

cat ~/.ssh/id_rsa.pub

Copy the ssh-key and add it to your GitHub account here.

Get the SSH fingerprint from github.com:

ssh-keyscan github.com >> ~/.ssh/known_hosts

Run AnsibleRun ansible:

ansible-pull -i localhost, -U git@github.com:carologistics/ansible.git -C common/caros_2023_start --skip-tags simulation,gazebo -K simulation-setup.yml

This should set up the following:

  • The fawkes-robotino repository in ~/fawkes-robotino
  • The ROS workspace in ~/catkin_ws
  • The RefBox in ~/rcll-refbox
  • The Gazebo RCLL plugins in ~/gazebo-rcll
  • Bash environment setup in ~/.bashrc (and ~/.carologistics_bashrc)

But you will encounter an npm error. To resolve it run the following command.

npm install --force --prefix ~/fawkes-robotino/fawkes/src/plugins/webview/frontend/ ~/fawkes-robotino/fawkes/src/plugins/webview/frontend/

Run the initial ansible-pull again.

Another Error you will encounter is while running ansible or making fawkes-robotino will look similar to this:

/usr/bin/ld: cannot find -lBoost::thread: No such file or directory
/usr/bin/ld: cannot find -lBoost::system: No such file or directory
/usr/bin/ld: cannot find -lBoost::filesystem: No such file or directory
/usr/bin/ld: cannot find -lBoost::program_options: No such file or directory
/usr/bin/ld: cannot find -lBoost::regex: No such file or directory
/usr/bin/ld: cannot find -lBoost::iostreams: No such file or directory
/usr/bin/ld: cannot find -lBoost::date_time: No such file or directory

Inorder to fix it you need to change in /usr/lib64/pkgconfig/gazebo.pc all instance of `Boost::toboost_``. You can do that by runnin this command as root

sed -i "s/Boost::/boost_" /usr/lib64/pkgconfig/gazebo.pc

Run the initial ansible-pull again.

If anything worked you should be able to run make -j or single-threaded make in the fawkes-robotino directory.

NOTE: Depending on your Memory size your Fedora may crash during make. Force Reboot and make again.


Clone this wiki locally