Skip to content
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

Installation fails if using "bullseye" Image #15

Closed
KwadFan opened this issue May 25, 2022 · 2 comments
Closed

Installation fails if using "bullseye" Image #15

KwadFan opened this issue May 25, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@KwadFan
Copy link
Member

KwadFan commented May 25, 2022

What happened

Due missing dependency 'libjpeg8-dev' in bullseye images, the Installer fails.

What did you expect to happen

Well, a running install and a successful install of crowsnest :)

How to reproduce

Get Raspberry Pi OS latest Image, clone crowsnest and run 'make install'

Additional information

As workaround for now use 'libjpeg9-dev' or 'libjpeg62-turbo-dev'
After that run 'make build'

@KwadFan KwadFan added the bug Something isn't working label May 25, 2022
@KwadFan KwadFan self-assigned this May 25, 2022
@tonyshackelton
Copy link

tonyshackelton commented Jun 11, 2022

Hi there, I can't get this built with libjpegturbo-dev, and libjpeg9-dev is another dead pointer to libturbo62-dev just like 8 is, which is installed installed but still fails. What's the workaround?

--Current PIOS bulleye, system context--
Package libjpeg9-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libjpeg62-turbo-dev:armhf libjpeg62-turbo-dev

libjpeg62-turbo-dev is already the newest version (1:2.0.6-4).

--err from make install--
Installing 'ustreamer' Dependencies ...

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

E: Package 'libjpeg8-dev' has no installation candidate
ERROR: Error 100 occured on line 270
ERROR: Stopping install.sh.
Goodbye...
make: *** [Makefile:36: install] Error 1

--nvm, I fixed it---
needed the following xtra deps added on bullseye before it build, libbsd-dev, libevent-dev

then even though the 'make install' barfed again, the 'make build' worked. I ended up finding this via ustreamers build. It didn't hide the build msgs so much, so I could chase down deps.

KwadFan added a commit that referenced this issue Jun 11, 2022
This should fix #15 and #16

Signed-off-by: Stephan Wendel <[email protected]>
KwadFan added a commit that referenced this issue Jun 11, 2022
This commit should cover the following:

Missing insatllation candidate of libjpeg8-dev in bullseye images,
fixes #16 and
#15

Refactores installation of ustreamer.
This should cover #12

Dropped ustreamer as submodule and clone it via install script.
For buster based images it reset the repo to last commit of v4.13 (omx support)
All other will get master branch (latest commit at insatllation)

This enables posibility to write an app updater.

Fixes custompios module according to changes.

 #   refactor(install): adds clone_ustreamer func

  #  This function should seperate cloning of ustreamer.
   # If buster based image use commit with version 4.13,
   # this is last version supporting OpenMaxIL (omx).

   # All other should use master branch.

    #Signed-off-by: Stephan Wendel <[email protected]>

 #   chore: removes submodule initialisation

  #  Signed-off-by: Stephan Wendel <[email protected]>

 #   refactor!: removes ustreamer as git submodule

  #  Signed-off-by: Stephan Wendel <[email protected]>

 #   refactor(update): removes manual update function

  #  Will introduce a new procedure in the future.

   # Signed-off-by: Stephan Wendel <[email protected]>

 #   refactor(uninstall): removes deprecated functions

  #  Removes funcs uninstall_go and uninstall_v4l2rtsp

   # Signed-off-by: Stephan Wendel <[email protected]>

 #   fix(install): fix error message if moonraker.conf is missing

  #  cp command throws error message if moonraker.conf is missing.

   # Signed-off-by: Stephan Wendel <[email protected]>

 #   fix(install): refactor install to support bullseye images

  #  This should fix #15 and #16

   # Signed-off-by: Stephan Wendel <[email protected]>
KwadFan added a commit that referenced this issue Jun 11, 2022
This commit should cover the following:

Missing insatllation candidate of libjpeg8-dev in bullseye images,
fixes #16 and
#15

Refactores installation of ustreamer.
This should cover #12

Dropped ustreamer as submodule and clone it via install script.
For buster based images it reset the repo to last commit of v4.13 (omx support)
All other will get master branch (latest commit at insatllation)

This enables posibility to write an app updater.

Fixes custompios module according to changes.
KwadFan added a commit that referenced this issue Jun 11, 2022
This commit should cover the following:

Missing insatllation candidate of libjpeg8-dev in bullseye images,
fixes #16 and #15

Refactores installation of ustreamer.
This should cover #12

Dropped ustreamer as submodule and clone it via install script.
For buster based images it reset the repo to last commit of v4.13 (omx support)
All other will get master branch (latest commit at insatllation)

This enables posibility to write an app updater.

Fixes custompios module according to changes.
@KwadFan
Copy link
Member Author

KwadFan commented Jun 11, 2022

Close due 6071c6f

@KwadFan KwadFan closed this as completed Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants