electricsheep
electricsheep copied to clipboard
Troubles compiling on Arch Linux + tips how to fix
Compiling
- New ffmpeg uses
AVPixelFormat
rather thanPixelFormat
- New ffmpeg uses
AV_PIX_FMT_BGR32
rather thanPIX_FMT_BGR32
- A bunch of functions got deprecated, but there aren't that many of them
Linking
- New lua uses
-llua5.1
rather than-llua
-
libglee
should be compiled with-lGLee
rather than-lglee
(this seems to be checked already, but it doesn't work still) - Settings view needs
webkit2gtk
which is completely omitted during./configure
(had to add-lwebkit2gtk-4.0
by hand)
I can probably come up with a PR but I'm almost positive I will accidentally break some other configuration - Ubuntu, Mac etc...
The PixelFormat -> AVPixelFormat replacement is now in the code.
I was having errors compiling on debian sid that seemed related to "AVPixelFormat rather than PixelFormat". I'm excited to say it compiles and runs great now. Thanks!
Currently compiled and working fine on Arch Linux X86_64.
As @rr- mentioned, you run into the errors referenced in https://github.com/scottdraves/electricsheep/issues/40 if -llua5.1
isn't used during linking. As a workaround, I ran grep from the root directory to look for -llua
and replaced the string in the Makefiles containing it with -llua5.1
. (I did this after I ran ./configure
and make clean
)
Make sure to change all of the make files. Changing only the top level one didn't seem to work for me.
Also during linking and as mentioned in the op, I ran into the issue where libglee
is not found. I solved this by creating a symbolic link from libglee.so
to libGlee.so.5
which was already present on my up to date arch installation.
Really enjoying the new golden flock!
I've added an aur based on the community/electricsheep
repo, using the latest commit from github as the build source. I removed some patches that tweaked some ffmpeg things and removed wxwidgets. This fixes electricsheep-preferences
, which wasn't in the community build. You call can find it here:
https://aur.archlinux.org/packages/electricsheep-git/
Thanks for the AUR - I can confirm this repository as-is does not build properly with an ./autogen.sh && ./configure && make on Arch Linux
AUR fails on lack of lpthread (I had to manually run g++ command and add lpthread to the end each time).