Open wolfwood opened 7 years ago
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/
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.h
andGLee.c
from orig to the debian directorycd to the debian directory and
make && make install
.DESTDIR
can kinda be used to control install directory, but /usr/ is appended to any dir you specify, so settingDESTDIR=/usr/local
will not work as expected.The main issue with the orig tarball's
Makefile
is that it doesn't pass-fPIC
which makes myld
very sad. so it is also possible to ignore the debian package entirely andCXXFLAGS=-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'sconfigure
script in the usual way, but themake 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:
encode
USE flag. there is no separate libavcodec packageI installed these, but they don't seem to be linked aganst the executable?
other dependencies that the binary depends on:
I already had the following installed, but they seem to be build dependencies
I believe the following are no longer needed, as I did not have them installed