electricsheep
electricsheep copied to clipboard
GLee no longer available from author's site
http://elf-stone.com/glee.php is empty.
The Gentoo Linux package for GLee has been pulled, probably because of this.
This is what I did to get GLee built using the Ubuntu Launchpad sources.
-
install the dependency if you don't have it somehow: media-libs/mesa
-
grab the glee_5.4.0.orig.tar.gz and glee_5.4.0-2.debian.tar.bz2 tarballs.
-
untar the debian tarball (which doesn't have source, but does have their modern Makefile), which creates a debian directory.
-
make a directory to untar the orig tarball, since it is naked, and untar inside that dir.
-
copy
GLee.handGLee.cfrom orig to the debian directory -
cd to the debian directory and
make && make install.DESTDIRcan kinda be used to control install directory, but /usr/ is appended to any dir you specify, so settingDESTDIR=/usr/localwill not work as expected.
The main issue with the orig tarball's Makefile is that it doesn't pass -fPIC which makes my ld very sad. so it is also possible to ignore the debian package entirely and CXXFLAGS=-fPIC ./configure && make && make install in the directory you untar'd orig into. in theory this is nicer because you can pass --prefix= to GLee's configure script in the usual way, but the make install doesn't properly create the include or include/GL directories, so you need to manually intervene.
The other packages I needed in order to build electricsheep on Gentoo:
- media-video/libav, built with the
encodeUSE flag. there is no separate libavcodec package - dev-lang/lua
- gnome-base/libgtop
- x11-misc/flam3
- dev-libs/tinyxml
- media-libs/libsdl2
- cmake
I installed these, but they don't seem to be linked aganst the executable?
- glew
- ftgl
other dependencies that the binary depends on:
- sys-libs/zlib
- net-misc/curl
- media-libs/libpng
- dev-libs/glib
- x11-libs/libXrender
- x11-libs/libX11
- media-libs/mesa
- media-libs/freeglut
- dev-libs/boost
I already had the following installed, but they seem to be build dependencies
- autoconf
- libtool
I believe the following are no longer needed, as I did not have them installed
- subversion
- libjpeg?
Thanks! I linked this from our wiki: https://github.com/scottdraves/electricsheep/wiki/Compiling
I cloned the GLee repo from sourceforge.. last activity seems to be from 2011. Looks like the original author abandoned it. https://github.com/kallisti5/glee I'm not really interested in keeping up development, unless someone else is I'd recommend moving away from GLee.
I've added x11-misc/electricsheep to my overlay, alongside media-libs/glee and x11-misc/flam3, all in live version.
@tharvik thank you for sharing. right now I'm having an issue, but I think need to upgrade my nvidia drivers. I'll spend some more time with it this weekend.
managed to see a sheep tonight, but it seems that there is some Nvidia driver issue, possibly pertaining to GLVND? 'LD_LIBRARY_PATH=/usr/lib64/opengl/nvidia/lib electricsheep' worked, simply enabling the compat USE flag didn't seem to, although I didn't restart X.
@wolfwood it looks more like a gentoo/nvidia issue than really an electricsheep one. x11-drivers/nvidia-drivers is hell, x11-drivers/xf86-video-nouveau works very well, consider switching. If I'm correct, the fix you gave should be handled by eselect opengl directly.
Just wanted to point out, you can still download glee from the authors website, no need to pull it out of a debian package or something. https://elf-stone.com/downloads/GLee/