-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Octo4a needs apk add cmake also #11
Comments
How/where do you run that command? I've never used octo4a. |
I think I run into this as well. I have migrated from running on Pi (using octopi) to on proxmox in a VM. All my other plugins installed well (more than 40) , but BGcode fails to compile.
All 3 environments worked OK, but failed to install this "one" plugin (i.e. BGCODE) I first mention the output on a clean scripted container (between >>>>>>>> and <<<<<<) So: in a clean buld environemnt (restored from a Pi backup) I get this when adding the plugin: (message continues after the <<<<<<<<<<<< line) Installing plugin "BGCode" from https://github.com/jneilliii/OctoPrint-BGCode/archive/master.zip...
× Preparing metadata (pyproject.toml) did not run successfully. cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning CMake Error: Problem with archive_write_header(): Can't create CMake Error: Current file: boost-1.82.0/libs/graph_parallel/ CMake Error: Problem extracting tar: CMake Error at dep_Boost-stamp/extract-dep_Boost.cmake:40 (message): Extract of gmake[2]: *** [CMakeFiles/dep_Boost.dir/build.make:101: gmake[1]: *** [CMakeFiles/Makefile2:90: CMakeFiles/dep_Boost.dir/all] Error gmake: *** [Makefile:136: all] Error 2 Call Stack (most recent call first): -- Configuring incomplete, errors occurred! note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. message continues her: Installing plugin...
× Preparing metadata (pyproject.toml) did not run successfully. CMake Error at ../deps/autobuild.cmake:72 (message): CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE Checking patch CMakeLists.txt... Applied patch CMakeLists.txt cleanly. CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning cmake -E tar: warning: unknown warning CMake Error: Problem with archive_write_header(): Can't create CMake Error: Current file: boost-1.82.0/libs/icl/doc/html/ CMake Error: Problem extracting tar: CMake Error at dep_Boost-stamp/extract-dep_Boost.cmake:33 (message): error: extract of gmake[2]: *** [CMakeFiles/dep_Boost.dir/build.make:112: gmake[1]: *** [CMakeFiles/Makefile2:211: CMakeFiles/dep_Boost.dir/all] gmake: *** [Makefile:149: all] Error 2 Call Stack (most recent call first): -- Configuring incomplete, errors occurred! note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
well, apparently this guy has patched the cmake for octo4a compatibility. https://github.com/kdobrev/libbgcode/tree/master In either case, I'd recommend you guys look at the building instructions for potential missing dependencies/requirements for your OS. https://github.com/prusa3d/libbgcode/blob/main/doc/building.md |
I've merged those changes into my fork of libbgcode and the latest updates from the upstream repo and am testing on pi4 now to make sure it's still working. |
still works on pi 4 as expected. |
updated octo4a instructions in readme and about to merge the changes to the plugin repository. @ruedli I think you issue is different. |
Just for anyone that runs into this when installing it on ubuntu on proxmox: I figured out what I was missing. I started with mentioned Proxmox VM from Dietpi: I tried with a VM script based on dietpi: see https://dietpi.com/docs/software/printing/#octoprint You can select octoprint directly from the dietpi-software and recover from an octoprint backup. While this configured all my plugins for octoprint, not BGCODE. In oreder to install I had to (from root): I also installed (but these seemed to be installed already): Further I adapted .bashrc in both /root and /home/dietpi and included a line: The dietpi documentation suggests that you could instead configure /etc/bashrc.d/dietpi-octoprint.sh but I did not verify this. The vm on my n100 processor is incredibly fast compared to running on a Pi4. Besides that it can run other softwere: my homeassistant (with mqtt server and node-red from which you can interact with the printer) and pihole with (recursive dns), run in containers and there is space for additional windows 11 and ubuntu vm's. Impressive |
Hi,
I just installed a new octoprint on a phone and nhe first plug in I tried to install was bgcode, but it failed.
I checked the log and it appears I have previosly also added cmake.
Please add to the description of the plugin that
apk add cmake
is also needed.
Thank you.
The text was updated successfully, but these errors were encountered: