#Crowsnest install failing with 'make: *** [Makefile:19: install] Error 1'

1 messages · Page 1 of 1 (latest)

untold rune
#

I'm running Klipper on an Ubuntu VM (WSL) and can't seem to get Crowsnest to install. Every time I try, this happens:


        Ahoy!
        Thank you for installing crowsnest ;)
        This will take a while ...
        Please reboot after the installation has finished.

Running apt-get update first ...

Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists...
Running apt-get update first ... [OK]
Doing some tests ...

Checking for mjpg-streamer ...

Checking for mjpg-streamer ... [OK]
Checking for camera-streamer dependencies ...

Checking if device is a Raspberry Pi ...

Checking if device is a Raspberry Pi ... [FAILED]
This device is not a Raspberry Pi therefore camera-streeamer cannot be installed ...
Doing some tests ... [OK]
Installing without camera-streamer ...

make: *** [Makefile:19: install] Error 1```

Anyone have a clue what's happening here?
clear jetty
#

That no error appears seems pretty weird

#

Send the output of following commands:

ls ~
ls /home
ls ~/crowsnest/tools/libs
ls ~/crowsnest/tools
untold rune
#

heres a picture in case the text colors are important

clear jetty
#

Seems like it fails to create the symlink

#

Try that command```sh
ln -sf ~/crowsnest/tools/libs/pkglist-rpi.sh ~/crowsnest/tools/pkglist.sh

untold rune
clear jetty
#

Is the pkglist still there?

untold rune
#

yes

untold rune
#

@clear jetty any other ideas as to what’s causing this? i can’t find anything online and i’m starting to give up on getting my webcam working

clear jetty
#

Why exactly do you want your camera to run in a WSL?

untold rune
#

i want to be able to view it from obico

#

i do a lot of printing when not at home and checking up on stuff is nice

clear jetty
#

You can add a small "debug output" to the install.sh, to see if it's failing at that symlink creation or the sourcing, but overall it's basically out of the scope of Crowsnest to support WSL

untold rune
#

ah gotcha

clear jetty
#

You got a Klipper host, right?

#

That Klipper host isn't your WSL, is it?

untold rune
#

klipper is running on my WSL

#

i had a functioning old laptop and didn’t want to buy a pi

clear jetty
#

I recommend running Linux directly on the Laptop ^^

#

Then you can see if it's failing at the symlink generation or after

#

If it's failing at the symlink generation, you could just comment out line 90 with a # in front of the line