Forum > General
Problems installing development environment for RP2040
MarkMLl:
I'm currently investigating installing various RP2040 ("Pico") development tools in a Docker container on Linux, with a particular focus on having the PicoProbe work properly. Part of the incentive for this is that there appears to be a Trojan in VSCode which I'm trying to investigate, which provides a substantial incentive to never run this stuff on other than a sacrificial system.
When I last looked at the RP2040 target I was able to get FPC/Lazarus working, including single stepping etc. I can currently get the various demos working using CMake and VSCode, including debugging, so I'm happy that my Docker setup is OK.
However FPCUPdeluxe v2.2.0qp, running on x86_64 Linux (Debian "Bookworm") is giving me problems. Starting the program and going straight to the "Pico" button, I get
--- Code: Text [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Hmmm, something went wrong ... have a good look at the command screen !...pcupdeluxe: ERROR: Lazarus Native Installer (GetModule: Lazarus): Could not get version of Lazarus sources. Expect severe errors.fpcupdeluxe: Executing: /usr/bin/git log -1 --pretty=format:%h (working dir: /home/markMLl/fpcupdeluxe/lazarus)fpcupdeluxe: Executing: /usr/bin/git describe --tags --long --always (working dir: /home/markMLl/fpcupdeluxe/lazarus)fpcupdeluxe: Executing: /usr/bin/git log -g -1 --pretty=oneline (working dir: /home/markMLl/fpcupdeluxe/lazarus)fpcupdeluxe: Executing: /usr/bin/git describe --tags --all --long --always (working dir: /home/markMLl/fpcupdeluxe/lazarus)fpcupdeluxe: info: Lazarus Native Installer (GetModule: Lazarus): Lazarus is at revision/hash: FRET_UNKNOWN_REVISION.fpcupdeluxe: info: Lazarus Native Installer (GetModule: Lazarus): No updates for Lazarus found.fpcupdeluxe: ERROR: Lazarus Native Installer (BuildModule: Lazbuild): /home/markMLl/fpcupdeluxe/lazarus/Makefile not found. Severe error. Should not happen. Aborting build Lazbuild. ERROR: Fpcupdeluxe fatal error !Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDESequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence LazarusSequencer (Default): Failure running fpcupdeluxe: error executing sequence Default...fpcupdeluxe: info: Performing SVN/GIT/HG/FTP/URL checkout/download. Please wait, could take some time.fpcupdeluxe: Start of compile error summary.fpcupdeluxe: ERROR: Lazarus Native Installer (GetModule: Lazarus): Could not get version of Lazarus sources. Expect severe errors.fpcupdeluxe: info: Lazarus Native Installer (GetModule: Lazarus): Lazarus is at revision/hash: FRET_UNKNOWN_REVISION.fpcupdeluxe: info: Lazarus Native Installer (GetModule: Lazarus): No updates for Lazarus found.fpcupdeluxe: Start of compile error summary.fpcupdeluxe: ERROR: Lazarus Native Installer (BuildModule: Lazbuild): /home/markMLl/fpcupdeluxe/lazarus/Makefile not found. Severe error. Should not happen. Aborting build Lazbuild.fpcupdeluxe: Done !!
Is there an obvious workaround?
MarkMLl
DonAlfredo:
I just did a clean Pico install on Manjaro Linux. All ended without any error.
Your error indicates that the Lazarus sources did not get downloaded (cloned by GIT). There must be more in your log indicating a problem with GIT.
af0815:
It looks something goes wrong with the GIT. If you do the commands by yourself on the commandline, does it work or give some additional info? And does git status give you some information ?
MarkMLl:
Complete log attached. Git is certainly working well enough to handle all of the Pico SDK etc. from the same Docker session (i.e. absolutely no change to run parameters etc.).
I'm inclined to drop this and move on to the next target platform on my list, which is probably Eclipse for the RISCV.
MarkMLl
DonAlfredo:
Problem is clear from your log. And was caused by a bad pre-release of fpcupdeluxe.
Please download the latest version from Github and you should be good to go.
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/v2.2.0qp/fpcupdeluxe-x86_64-linux
If you succeed (please delete the Lazarus directory first, if any), I will release this pre-release as an official release.
Navigation
[0] Message Index
[#] Next page