Jump to content

Xavier/JetPack 5.0.2/Compiling Code: Difference between revisions

Line 107: Line 107:
make mrproper
make mrproper
</syntaxhighlight>
</syntaxhighlight>
If you get an error here saying you should run:
<pre>
sudo apt-get install graphviz python3-venv librsvg2-bin
</pre>
do it, the same applies for:
<pre>
pip install -r ./Documentation/sphinx/requirements.txt
</pre>
Also make sure that the executables are in PATH.


3. Setup the default configuration:
3. Setup the default configuration:
Line 180: Line 170:


At this point you have the kernel Image, external modules and dtb built and ready to flash.
At this point you have the kernel Image, external modules and dtb built and ready to flash.
===Known Issues===
Failure when running
<pre>
make mrproper
</pre>
On Ubuntu 20 you might get an error saying you should run:
<pre>
sudo apt-get install graphviz python3-venv librsvg2-bin
</pre>
do it. Same goes for:
<pre>
pip install -r ./Documentation/sphinx/requirements.txt
</pre>
In the case of the later command if you see a message similar to this one:
<pre>
  WARNING: The script docutils is installed in '/home/fernando/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pybabel is installed in '/home/fernando/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts sphinx-apidoc, sphinx-autogen, sphinx-build and sphinx-quickstart are installed in '/home/fernando/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
</pre>
Then add that path to your PATH, in this particular case you can do:
<pre>
PATH=$PATH:/home/fernando/.local/bin
</pre>
Adapt the command according to your case.
<!--
<!--
= Re-build the DTB only =
= Re-build the DTB only =
227

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.