Closed meechgalhuquot closed 1 year ago
I'm not sure to understand
Could you first remove the repo: sudo rm /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:emixampp:linux-enable-ir-emitter.repo
Then, could you give me the outputs of the following commands:
sudo dnf copr enable emixampp/linux-enable-ir-emitter
sudo dnf --refresh install linux-enable-ir-emitter
OpenSUSE does not use dnf
, while it uses RPM packages the package manager is zypper
which does not have copr
built into the command
Yes indeed! I forgot.
Maybe try to first install opencv
(as you already did) but also opencv-devel
. Then install linux-enable-ir-emitter
, it could be that the dependency is in the devel package.
Otherwise, just build and install it manually using the bash script of the git repo; everything is explained in the readme.
errorlog.txt
log.txt
Rather than trying with the repo again since it wasn't working I tried to build and install manually after ensuring that opencv
and opencv-devel
were installed and these are the logs I got when running sudo bash installer.sh install 2> errorlog.txt > log.txt
And when I try to install through the repo I get this
May be, you could try to find on your computer if a file libopencv_aruco.so*
exists (i.e. find / -name libopencv_aruco.so* 2> /dev/null
). If so, you could try to create a symbolic link named : libopencv_aruco.so.406
to that file, which in fact is from another version. Most likely, this will not be a problem.
Otherwise, I can do nothing for you, this seems to be an issue of the opencv package on Tumbleweed.
Does this trick work?
I cannot find the file with find, however I can see that it is installed in the software list. I wonder if adding the packages to the openSUSE Build Service would resolve issues as then it may auto solve dependencies and could be installed by using the command opi <packagename>
I cannot find the file with find
This is strange because, if the aruco package in version 407 is installed, the file libopencv_aruco.so407
should be present on the system
Maybe try to install the libopencv3_4 package ? EDIT: and then try again to build and install using the bash script
Honestly, I can't do much about this compilation problem with opencv.
I ran a new build on COPR, but the build fails because of the server, I will try again later.
You will only have to download again the .rpm. I hope it will work! Edit: I'll send a new comment when it's good
The v4.4.0 is ready for release. I still have some details to work out regarding Arch. I will drop all the distributions repositories so, I've changed the way how the dependencies are managed.
You can test in advance the rpm package downloadable here
Let me know if it fix your issue, thanks !
The v4.4.0 has been released and should fix this issue. Feel free to comment if needed
I see I have libopencv 407 packages instead of 406, could that be the issue?, is it calling for 406 specifically? Or is this just a quirk of OpenSUSE package management do you think
Hum, the package contains all the needed dependencies. Can you add --nodeps
to the rpm command ?
This time it should be fine :crossed_fingers:
Progress!!
Can you past the outputs of sudo linux-enable-ir-emitter boot status
?
miss click the close
Thanks, it is fixed
Fantastic, it appears to be working now!! Thank you for working on this!
You're welcome. If you like the project, do not hesitate to star the repository to support me, thank you !
I can add the repo to Tumbleweed from the .repo file that is on the COPR page when I manually put in the url from that file, https://download.copr.fedorainfracloud.org/results/emixampp/linux-enable-ir-emitter/opensuse-tumbleweed-$basearch/, however when I try to install the package I get the attached error. I have installed a conflicts.txt I can install opencv through the repos on my device, but it specifically wants that libopencv_aruco.so.406. When I attempt to build the package manually it also fails, just in a different way