electricsheep icon indicating copy to clipboard operation
electricsheep copied to clipboard

GLee no longer available from author's site

Open wolfwood opened this issue 8 years ago • 7 comments

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.

  1. install the dependency if you don't have it somehow: media-libs/mesa

  2. grab the glee_5.4.0.orig.tar.gz and glee_5.4.0-2.debian.tar.bz2 tarballs.

  3. untar the debian tarball (which doesn't have source, but does have their modern Makefile), which creates a debian directory.

  4. make a directory to untar the orig tarball, since it is naked, and untar inside that dir.

  5. copy GLee.h and GLee.c from orig to the debian directory

  6. cd 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 setting DESTDIR=/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 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 encode USE 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?

wolfwood avatar Mar 27 '17 06:03 wolfwood

Thanks! I linked this from our wiki: https://github.com/scottdraves/electricsheep/wiki/Compiling

scottdraves avatar Mar 28 '17 13:03 scottdraves

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.

kallisti5 avatar Apr 19 '17 13:04 kallisti5

I've added x11-misc/electricsheep to my overlay, alongside media-libs/glee and x11-misc/flam3, all in live version.

tharvik avatar Aug 29 '17 16:08 tharvik

@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.

wolfwood avatar Aug 31 '17 05:08 wolfwood

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 avatar Sep 05 '17 05:09 wolfwood

@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.

tharvik avatar Sep 05 '17 12:09 tharvik

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/

Schievel1 avatar Nov 05 '21 21:11 Schievel1