Description
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 directory -
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 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 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?