electricsheep icon indicating copy to clipboard operation
electricsheep copied to clipboard

Add build Fedora requirements to wiki

Open kallisti5 opened this issue 7 years ago • 12 comments

sudo dnf install autoconf libtool gtk2-devel mesa-libGL-devel compat-lua-devel libcurl-devel libxml-devel libjpeg-turbo-devel libgtop2-devel boost-devel boost-filesystem boost-thread freeglut-devel ffmpeg-devel tinyxml-devel flam3-devel

kallisti5 avatar Apr 19 '17 13:04 kallisti5

Depends on #47

kallisti5 avatar Apr 19 '17 13:04 kallisti5

I needed also GLee-devel and wxGTK-devel

SyedAmerGilani avatar Nov 10 '17 09:11 SyedAmerGilani

~~It seems wxGTK-devel >= 2.9 is now needed, which doesn't seem available in Fedora 27 :disappointed:~~

Scratch that, the wxGTK-devl package stopped being updated at 2.8 as it introduced ABI incompatbilities; wxGTK3-devel is what's needed. lua-devel is also needed to compile.

Update: The resulting Makefiles also fail to link to the version of Lua installed. The fix for that is to generate the makefiles using LUA_LIBS="-llua-5.1 -lm -ldl" ./configure.

In short, here are the full build instructions for Fedora 27:

sudo dnf install autoconf libtool gtk2-devel mesa-libGL-devel compat-lua-devel libcurl-devel libxml-devel libjpeg-turbo-devel libgtop2-devel boost-devel boost-filesystem boost-thread freeglut-devel ffmpeg-devel tinyxml-devel flam3-devel GLee-devel wxGTK3-devel lua-devel
git clone [email protected]:scottdraves/electricsheep.git && cd electricsheep/client_generic/
./autogen.sh
LUA_LIBS="-llua-5.1 -lm -ldl" ./configure
make

Cybolic avatar Mar 15 '18 20:03 Cybolic

Followed Cybolic's instructions. Still no sheep for me.

https://hastebin.com/labikoqera.sql https://hastebin.com/vofivadezo.tex

~/.ssh/electricsheep/client_generic$ ./electricsheep-saver ./electricsheep-saver: line 1: exec: electricsheep: not found

Belsaros avatar Jun 12 '18 22:06 Belsaros

The instructions I posted were just for building, not installing as well. Did you run sudo make install as well afterwards?

Cybolic avatar Jun 13 '18 00:06 Cybolic

That wasit. That did the thing. Sorry.

On Tue, Jun 12, 2018, 8:44 PM Christian Dannie Storgaard < [email protected]> wrote:

The instructions I posted were just for building, not installing as well. Did you run sudo make install as well afterwards?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scottdraves/electricsheep/issues/46#issuecomment-396778157, or mute the thread https://github.com/notifications/unsubscribe-auth/AmSfRYsVRRhONkF5ePu25BDd_tO6pL0Jks5t8GBygaJpZM4NBqqT .

Belsaros avatar Jun 13 '18 13:06 Belsaros

update deps for Fedora 28?

chadfurman avatar Jun 22 '18 02:06 chadfurman

No, apparently not. @Cybolic's combined instructions above worked well, and will get simpler when #47 is merged.

sudo dnf install autoconf libtool gtk2-devel mesa-libGL-devel compat-lua-devel libcurl-devel libxml-devel libjpeg-turbo-devel libgtop2-devel boost-devel boost-filesystem boost-thread freeglut-devel ffmpeg-devel tinyxml-devel flam3-devel GLee-devel wxGTK3-devel lua-devel
cd ~/src/github.com
git clone https://github.com/scottdraves/electricsheep.git scottdraves/electricsheep
cd scottdraves/electricsheep/client_generic/
./autogen.sh
LUA_LIBS="-llua-5.1 -lm -ldl" ./configure
make
sudo make install

Given that flam3 is already part of the fedora distribution, has anyone ever considered providing a COPR build, or offering to maintain an official one? https://copr.fedorainfracloud.org/coprs/fulltext/?fulltext=electricsheep

almereyda avatar Sep 03 '18 23:09 almereyda

I had to install gcc-c++ (per #39) in order to get around:

checking for libboost >= 1.39... configure: error: libboost version 1.41 or higher is required to compile electricsheep.

bostrt avatar Mar 29 '19 23:03 bostrt

Hi there, I'm facing multiple compile errors like ../DisplayOutput/OpenGL/ShaderGL.cpp:41:3: error: ‘glDeleteObjectARB’ was not declared in this scope during make on Fedora 29

I've installed all the packages mentioned here and in the main page https://github.com/scottdraves/electricsheep/wiki/Compiling

Current suspect is some of GL *.h file with extensions is implicitly not included, but I'm not a C/C++ developer.

Did anyone faced such issue? Was you able to fix it?

UPD: I found a workaround for this build issue From https://aur.archlinux.org/packages/electricsheep/ : add flag -DGL_GLEXT_PROTOTYPES during make.

Dionio avatar Nov 02 '19 06:11 Dionio

Oh wow, my Lua fix was never merged.... It's been over two years :-/

kallisti5 avatar Nov 02 '19 13:11 kallisti5

Hi there, I'm facing multiple compile errors like ../DisplayOutput/OpenGL/ShaderGL.cpp:41:3: error: ‘glDeleteObjectARB’ was not declared in this scope during make on Fedora 31

compilation terminated. make[1]: *** [Makefile:779: ShaderGL.o] Error 1 make[1]: Leaving directory '/home/sftool/src/scottdraves/electricsheep/client_generic/Client' make: *** [Makefile:512: all-recursive] Error 1

sftoolhk avatar May 03 '20 01:05 sftoolhk