franz134 Posted August 20, 2022 Posted August 20, 2022 Hey, I'm new to armbian/linux and want to use an Orange Pi Zero 2 as a cheap OctoPi alternative. Bare Octoprint is already working, but I don't get the MJPG-Streamer for my usb-webcam to run. The OPiZ2 is running Focal 22.05.3 (5.15.48) and is up to date. (I didn't choose Bullseye because it's on an older kernel and the psu control plugin might need 5.05+) The instruction I found said: cd ~ sudo apt install subversion libjpeg62-turbo-dev imagemagick ffmpeg libv4l-dev cmake git clone https://github.com/jacksonliam/mjpg-streamer.git cd mjpg-streamer/mjpg-streamer-experimental export LD_LIBRARY_PATH=. make but I get: "E: Unable to locate package libjpeg62-turbo-dev" What did I have to do? I have not found any instructions for armbian or the ubuntu I used. Thanks 0 Quote
Solution MacBreaker Posted August 20, 2022 Solution Posted August 20, 2022 With Focal i don't know. But try do repalce "libjpeg62-turbo-dev" with "libjpeg8-dev". It's availble on arm64. I hope it works... Markus 0 Quote
RobB Posted November 15, 2023 Posted November 15, 2023 I am having the same issue. Hope it's ok to re-open this conversation. I installed libjpeg8-dev ok but get this error on running make. make -C plugins/input_uvc all make[1]: Entering directory '/home/pinerob/mjpg-streamer/plugins/input_uvc' gcc -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o input_uvc.so input_uvc.c v4l2uvc.lo jpeg_utils.lo dynctrl.lo -ljpeg input_uvc.c: In function ‘input_run’: input_uvc.c:315:1: error: unrecognizable insn: 315 | } | ^ (insn 46 45 47 2 (set (reg/f:DI 135) (unspec:DI [ (mem/u/c:DI (lo_sum (reg:DI 136) (symbol_ref:DI ("cams") [flags 0x80] <var_decl 0xffff96c9f6c0 cams>)) [0 S8 A8]) ] UNSPEC_GOTSMALLPIC)) "input_uvc.c":305:16 -1 (expr_list:REG_EQUAL (symbol_ref:DI ("cams") [flags 0x80] <var_decl 0xffff96c9f6c0 cams>) (nil))) during RTL pass: vregs input_uvc.c:315:1: internal compiler error: in extract_insn, at recog.c:2770 Any clues as to how to fix this? Armbian 23.8.3 jammy on Pine A64 1GB RAM. 0 Quote
Charles Lee Scoville Posted November 29, 2023 Posted November 29, 2023 Just FYI. I recently did the same with Le Potato and had no problems building MJPG-Streamer. Unfortunately, my BASH history has been since clobbered, so I can't give an exact recount of what I did, but I'm very sure it was not far from the github instructions. ... I think I had to manually install one of the dependency's because apt couldn't find it.... RIGHT! `Libjpg-dev`, *NOT* `libjpg8-dev` as stated in the Github build instructions. That was a problem for me. . . everything else when smooth as margarine. So... remove libjpg8-dev, and install libjpg-dev and see if that works? 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.