build for RaspberryPi? #420
-
I'm used to "./configure ; make ; make install". So already clueless here. I'm also new to Raspberry Pi, which I'm setting up for a friend. I find that WebCord is the version available here, but it isn't seeing the system's camera. In searching for clues, I find that the version available in a package repository is 3.10.2; so, I'd like to try this with a newer version. I downloaded the source code, and in "Bluild.md" I learn that I need to run "npm". Found that; now, under "npm ci" I get a failure, which I think is because I don't have "electron" installed. Searching for that is difficult; on Debian I don't find any package under that name, and obviously if I widen the search, I find unrelated things. So I need a (very basic) clue. Any other pointers would be great. Much thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This makes mostly sense in C languages ecosystem, but when dealing with another languages, by default devs will use their package managers for library management. For instance, Node.js (JavaScript framework) uses NPM with YARN and PNMP being alternatives, Rust uses Cargo, and Python uses PIP to manage its packages. Creating Makefile for another languages (including for Node.js based software) is possible, but it's not required to build software and even most devs don't provide such stuff for their packages (especially when our package can handle custom scripts, which is good enough to replace
You might as well download prebuilt
This makes no sense, given
Given you're most likely at Raspberry Pi OS, NPM might be greatly outdated among other packages (it's basically a Debian policy to only update packages when necessary, i.e. when the new Debian release is out or package got a security update). Outdated NPM might not work with the latest version of the lockfile ( |
Beta Was this translation helpful? Give feedback.
-
Thanks for this.
I agree, but, demonstrating my ignorance again: I looked for a "list of builds" section but didn't find one. Where should I be looking? (I expect that it'll become obvious immediately after I post this. It Is The Way.) |
Beta Was this translation helpful? Give feedback.
This makes mostly sense in C languages ecosystem, but when dealing with another languages, by default devs will use their package managers for library management. For instance, Node.js (JavaScript framework) uses NPM with YARN and PNMP being alternatives, Rust uses Cargo, and Python uses PIP to manage its packages. Creating Makefile for another languages (including for Node.js based software) is possible, but it's not required to build software and even most devs don't provide such stuff for their packages (especially when our package can handle custom scripts, which is good enough to replace
make
for that task).