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

Add build Fedora requirements to wiki #46

Open
kallisti5 opened this issue Apr 19, 2017 · 12 comments
Open

Add build Fedora requirements to wiki #46

kallisti5 opened this issue Apr 19, 2017 · 12 comments

Comments

@kallisti5
Copy link
Contributor

kallisti5 commented Apr 19, 2017

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
Copy link
Contributor Author

Depends on #47

@SyedAmerGilani
Copy link

I needed also GLee-devel and wxGTK-devel

@Cybolic
Copy link

Cybolic commented Mar 15, 2018

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

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 git@github.com:scottdraves/electricsheep.git && cd electricsheep/client_generic/
./autogen.sh
LUA_LIBS="-llua-5.1 -lm -ldl" ./configure
make

@Belsaros
Copy link

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

@Cybolic
Copy link

Cybolic commented Jun 13, 2018

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

@Belsaros
Copy link

Belsaros commented Jun 13, 2018 via email

@chadfurman
Copy link

update deps for Fedora 28?

@almereyda
Copy link

almereyda commented Sep 3, 2018

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

@bostrt
Copy link

bostrt commented Mar 29, 2019

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.

@Dionio
Copy link

Dionio commented Nov 2, 2019

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.

@kallisti5
Copy link
Contributor Author

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

@sftoolhk
Copy link

sftoolhk commented May 3, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants