Linux Client Instructions

The new best way is through this PPA made from this github. thank you Ichthyo!

here follows the old way:

If you have Ubuntu 10.04 or Debian Sid, then you can just use the package manager or type "sudo apt-get install electricsheep", although that will get you an old version, it should work fine.

Otherwise, the preferred way to install it is from source.

  1. sudo apt-get install subversion autoconf libtool libgtk2.0-dev libgl1-mesa-dev libavcodec-dev libavformat-dev libswscale-dev liblua5.1-0-dev libcurl4-openssl-dev libxml2-dev libjpeg8-dev libgtop2-dev libboost-dev libboost-filesystem-dev libboost-thread-dev libtinyxml-dev freeglut3-dev glee-dev
  2. install wxWidgets 3.0
  3. install from source flam3 (./configure; make; sudo make install), and then:
  4. Checkout client source and then ./autogen.sh; ./configure; make; sudo make install

It should configure itself to be your screensaver, but you can also run it from the command line just by typing "electricsheep". You can also use "electricsheep-preferences" to configure it.

 

Hard time "./configure"-ing

Hey guys, thanx for the awesome sceen saver you have.

I'm trying to instal it from source couse it's not working from the mint soft center...

I have a linux mint 16 mate instaled and I did install all the way to step 4, also did get through the  ./autogen.sh by the "autoreconf -vfi" work arround... but when I try to run the ./configure comand it goes all the way down to the libboost check and crashes at "libboost >= 1.39..."

Here's the output... :

[email protected] ~/electricsheep-read-only/client_generic $ ./configure

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-linux-gnu

checking target system type... x86_64-unknown-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether make supports nested variables... yes

checking how to create a pax tar archive... gnutar

checking whether to enable maintainer-specific portions of Makefiles... no

checking for style of include used by make... GNU

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking how to run the C preprocessor... gcc -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking minix/config.h usability... no

checking minix/config.h presence... no

checking for minix/config.h... no

checking whether it is safe to define __EXTENSIONS__... yes

checking for library containing strerror... none required

checking for gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking dependency style of gcc... (cached) gcc3

checking for g++... no

checking for c++... no

checking for gpp... no

checking for aCC... no

checking for CC... no

checking for cxx... no

checking for cc++... no

checking for cl.exe... no

checking for FCC... no

checking for KCC... no

checking for RCC... no

checking for xlC_r... no

checking for xlC... no

checking whether we are using the GNU C++ compiler... no

checking whether g++ accepts -g... no

checking dependency style of g++... none

checking how to print strings... printf

checking for a sed that does not truncate output... /bin/sed

checking for fgrep... /bin/grep -F

checking for ld used by gcc... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B

checking the name lister (/usr/bin/nm -B) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 1572864

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop

checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop

checking for /usr/bin/ld option to reload object files... -r

checking for objdump... objdump

checking how to recognize dependent libraries... pass_all

checking for dlltool... no

checking how to associate runtime and link libraries... printf %s\n

checking for ar... ar

checking for archiver @FILE support... @

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/bin/nm -B output from gcc object... ok

checking for sysroot... no

checking for mt... mt

checking if mt is a manifest tool... no

checking for dlfcn.h... yes

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... yes

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking for shl_load... no

checking for shl_load in -ldld... no

checking for dlopen... no

checking for dlopen in -ldl... yes

checking whether a program can dlopen itself... yes

checking whether a statically linked program can dlopen itself... no

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... yes

checking for gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking dependency style of gcc... (cached) gcc3

checking whether gcc and cc understand -c and -o together... yes

checking for ANSI C header files... (cached) yes

checking whether byte ordering is bigendian... no

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for special C compiler options needed for large files... no

checking for _FILE_OFFSET_BITS value needed for large files... no

checking dependency style of gcc... gcc3

checking for the pthreads library -lpthreads... no

checking whether pthreads work without any flags... no

checking whether pthreads work with -Kthread... no

checking whether pthreads work with -kthread... no

checking for the pthreads library -llthread... no

checking whether pthreads work with -pthread... yes

checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE

checking if more special flags are required for pthreads... no

checking for cc_r... gcc

O/S is GNU/Linux

checking for pkg-config... /usr/bin/pkg-config

checking for wx-config-2.9... no

checking for wx-config... /usr/bin/wx-config

WX_CXXFLAGS is -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0-unofficial -I/usr/include/wx-3.0-unofficial -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread

WX_LIBS is -static -L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk2u_unofficial_xrc-3.0 -lwx_gtk2u_unofficial_webview-3.0 -lwx_gtk2u_unofficial_html-3.0 -lwx_gtk2u_unofficial_qa-3.0 -lwx_gtk2u_unofficial_adv-3.0 -lwx_gtk2u_unofficial_core-3.0 -lwx_baseu_unofficial_xml-3.0 -lwx_baseu_unofficial_net-3.0 -lwx_baseu_unofficial-3.0  -L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk2u_unofficial_richtext-3.0 -lwx_baseu_unofficial-3.0

checking pkg-config is at least version 0.9.0... yes

checking for AVCODEC... yes

checking for avcodec_decode_video2 in -lavcodec... yes

checking for AVFORMAT... yes

checking for av_open_input_file in -lavformat... yes

checking for SWSCALE... yes

checking for AVUTIL... yes

checking for LUA... yes

checking for GLEE... yes

checking for CURL... yes

checking for PNG... yes

checking for XRENDER... yes

checking for flam3-animate... /usr/local/bin/flam3-animate

checking for LIBGTOP... yes

checking for libboost >= 1.39... configure: error: libboost version 1.41 or higher is required to compile electricsheep.

....
and when I checked, I found out that I have version 1.43 installed... also instaled all dev pak and actually every pac with the libboost name from thet version... but still get the same output...
Can I get any directions on how to fix/workarround this..? Thank you very much... Keep the nice work..

Unbuntu 14.04 autogen failure

Hi!  I'm trying to install from source, following the instructions above.  After installing the prerequists and checking out the source, I get the following error:

Found GNU Autoconf version 2.69

Found GNU Automake version 1.14.1

Found GNU Libtool version 2.4.2

Automatically preparing build ... Warning: autoreconf failed

Attempting to run the preparation steps individually

Preparing build ... ERROR: aclocal -I mk/autoconf failed

Running the last line manually gives: aclocal: error: couldn't open directory 'm4': No such file or directory
Any ideas on how to fix this?  I've got a beast of a server that I would love to install this on.

my solution

This worked for me:

autoreconf -vfi

Thanks!  That cleared

Thanks!  That cleared everything up.

Compiling on Gentoo

Hi!

I'm trying to compile this thing again on Gentoo. I think I almost get it to compile; however, there's something wrong with includes. It fails at linking phase with:

<code>

libtool: link: g++ -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I /usr/local/include/GL -I/usr/include/GL -I/usr/include/libpng16 -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -o electricsheep Player.o main.o Voting.o Hud.o Upload.o Download.o Networking.o LoadDDS.o Image.o RendererGL.o glx.o ShaderGL.o TextureFlatGL.o wgl.o FontGL.o mgl.o Shader.o Texture.o Font.o TextureFlat.o Renderer.o LoadPNG.o DisplayOutput.o tinyxmlparser.o tinyxml.o tinystr.o tinyxmlerror.o diriterator.o storage.o luastorage.o ContentDecoder.o SheepUploader.o ContentDownloader.o SheepGenerator.o SheepDownloader.o Sheep.o Shepherd.o LuaState.o Common.o AlignedBuffer.o isaac.o pool.o Log.o Rect.o luaxml.o Exception.o md5.o  -lz -lavcodec -lavformat -lswscale -lavutil /usr/lib64//liblua.so -ldl -lm -lcurl -lpng16 -lgtop-2.0 -lglib-2.0 -lXrender -lX11 -lrt -lGL -lglut -ltinyxml -lboost_system -lboost_filesystem -lboost_thread -Wl,-rpath -Wl,/usr/lib64/ -Wl,-rpath -Wl,/usr/lib64/
glx.o: In function `DisplayOutput::CUnixGL::toggleVSync()':
/home/ville/usr/src/electricsheep/electricsheep-read-only-nonmod/client_generic/Client/../DisplayOutput/OpenGL/glx.cpp:469: undefined reference to `_GLEE_GLX_SGI_swap_control'

</code>

(and lots of the same)

Cheers!

one of the listed depends is

one of the listed depends is "glee-dev," which I assume provides the extra stuff that electricsheep needs to link. There doesn't seem to be a package for that in the gentoo portage tree; would you happen to know how to install tha?

Cheers,

EE

Hi ExecutorElassus! I have

Hi ExecutorElassus!

 

I have installed glee via an ebuild in my local repository. I got the ebuild from this bug report: https://bugs.gentoo.org/show_bug.cgi?id=102792

Also, there's a bug report for live electricsheep on Gentoo:

https://bugs.gentoo.org/show_bug.cgi?id=339463

Sadly, there's no one interested this with enough skills to fix electricsheep compiling on Gentoo.

Also, although I'm not a programmer, I still believe that a missing library should not cause failures at linking phase (at least if compiling is done in a sane way), but fail at compiling when the code is looking for the header files / trying to use the library. The linking failure could be caused, because something has moved around in the header files (of glee, in case we were compiling against a different version), missing includes, or something... but I know only vaguely and could be totally in the dark here.

Korora - aka Peaches, aka Fedora 20

I need help with compiling the code under Fedora 20/Peaches.  I have tried the script for fedora posted that works for fedora 16, and it gets to compiling the flame and there's an error .. upon compiling the client there is also an error.  I have installed the latest fc20.x86_64 libraries. Help! I am a sheep addict and need sheep on my new linux system.  I don't want to have to go to debian but will if I can have sheep!

Below is my output:

please note the libgdbus that says not available I downloaded from a distro site that matches the build and installed it.

 

Starting Install of electricsheep for Fedora

 

Checking for RPMFUSION repo

 

SUCCESS:

RPMFUSION repo installed: Continuing with script

 

Installing Required Packages

Loaded plugins: etckeeper, langpacks, priorities, refresh-updatesd, versionlock

33 packages excluded due to repository priority protections

Package GConf2-devel-3.2.6-7.fc20.x86_64 already installed and latest version

Package curl-7.32.0-8.fc20.x86_64 already installed and latest version

Package 1:dbus-devel-1.6.12-8.fc20.x86_64 already installed and latest version

Package dbus-glib-devel-0.100.2-2.fc20.x86_64 already installed and latest version

Package expat-devel-2.1.0-7.fc20.x86_64 already installed and latest version

Package ffmpeg-devel-2.1.4-1.fc20.x86_64 already installed and latest version

Package ffmpeg-devel-2.1.4-1.fc20.i686 already installed and latest version

Package 1:glib-1.2.10-40.fc20.x86_64 already installed and latest version

Package 1:glib-devel-1.2.10-40.fc20.x86_64 already installed and latest version

Package glib2-devel-2.38.2-2.fc20.x86_64 already installed and latest version

No package libgdbus-devel available.

Package libglade2-devel-2.6.4-10.fc20.x86_64 already installed and latest version

Package libgnome-devel-2.32.1-7.fc20.x86_64 already installed and latest version

Package libgnomeui-devel-2.24.5-7.fc20.x86_64 already installed and latest version

Package libjpeg-turbo-devel-1.3.0-2.fc20.x86_64 already installed and latest version

Package libtool-2.4.2-23.fc20.x86_64 already installed and latest version

Package mplayer-1.1-21.20140327svn.fc20.x86_64 already installed and latest version

Package subversion-1.8.8-1.fc20.x86_64 already installed and latest version

Nothing to do

Finished Installing Required Packages

 

Linking ffmpeg Libraries

Finished Linking ffmpeg Libraries

 

Creating directory for electricsheep sources

Finished Creating directory for electricsheep sources

 

Downloading Sources

Redirecting to URL 'https://svn.code.sf.net/p/electricsheep/code/trunk/client':

A    client/configure

A    client/utils.c

A    client/Makefile.in

A    client/debian

A    client/debian/electricsheep.gconf-defaults

A    client/debian/contrib

A    client/debian/contrib/esheep-mplayer.sh

A    client/debian/contrib/esheep-mplayer.txt

A    client/debian/control

A    client/debian/dirs

A    client/debian/compat

A    client/debian/changelog

A    client/debian/patches

A    client/debian/patches/03_libmpeg2_altivec.c_ppcftbfs.dpatch

A    client/debian/patches/04_Composite.dpatch

A    client/debian/patches/00list

A    client/debian/patches/02_electricsheep.c_DATADIR.dpatch

A    client/debian/patches/05_multihead_support.dpatch

A    client/debian/copyright

A    client/debian/docs

A    client/debian/rules

A    client/debian/examples

A    client/16_electricsheep

A    client/config.guess

A    client/electricsheep-frown.png

A    client/electricsheep-voter.c

A    client/config.sub

A    client/getdate.c

A    client/electricsheep-wait.avi

A    client/electricsheep-preferences.c

A    client/electricsheep.c

A    client/getdate.h

A    client/electricsheep.h

A    client/md5.c

A    client/COPYING

A    client/md5.h

A    client/electricsheep.spec.in

A    client/mkinstalldirs

A    client/electricsheep.xml.in

A    client/configure.in

A    client/electricsheep-preferences.glade

A    client/electricsheep.desktop.kde

A    client/electricsheep.desktop.in

A    client/electricsheep-saver

A    client/README

A    client/electricsheep.man.in

A    client/config.h.in

A    client/Makefile.am

A    client/electricsheep-smile.png

A    client/missing

A    client/aclocal.m4

A    client/install-sh

U   client

Checked out revision 1547.

Redirecting to URL 'https://svn.code.sf.net/p/flam3/code/trunk/src':

A    flam3/test.flam3

A    flam3/configure

A    flam3/Makefile.in

A    flam3/debian

A    flam3/debian/control

A    flam3/debian/compat

A    flam3/debian/changelog

A    flam3/debian/copyright

A    flam3/debian/rules

A    flam3/flam3.c

A    flam3/flam3-genome.man

A    flam3/flam3.h

A    flam3/flam3-animate.man

A    flam3/config.guess

A    flam3/flam3-genome.c

A    flam3/config.sub

A    flam3/ltmain.sh

A    flam3/vidres.flam3

A    flam3/flam3.dsw

A    flam3/genome.dsp

A    flam3/flam3-animate.c

A    flam3/private.h

A    flam3/isaac.c

A    flam3/flam3-palettes.c

A    flam3/animate.dsp

A    flam3/png.c

A    flam3/jpeg.c

A    flam3/isaac.h

A    flam3/COPYING

A    flam3/docstring.c

A    flam3/rect.c

A    flam3/test

A    flam3/test/blendjpg.c

A    flam3/test/regression.py

A    flam3/test/genomes

A    flam3/test/genomes/var31.flame

A    flam3/test/genomes/var50.flame

A    flam3/test/genomes/var14.flame

A    flam3/test/genomes/243_00313.flame

A    flam3/test/genomes/var33.flame

A    flam3/test/genomes/var52.flame

A    flam3/test/genomes/var16.flame

A    flam3/test/genomes/198-22682-sing.flame

A    flam3/test/genomes/var35.flame

A    flam3/test/genomes/var18.flame

A    flam3/test/genomes/bad_atoi.flame

A    flam3/test/genomes/var37.flame

A    flam3/test/genomes/var39.flame

A    flam3/test/genomes/bad_hexpalette.flame

A    flam3/test/genomes/243_2918_edge.flame

A    flam3/test/genomes/26208.flame

A    flam3/test/genomes/bad_background.flame

A    flam3/test/genomes/testseq.flame

A    flam3/test/genomes/var00.flame

A    flam3/test/genomes/var02.flame

A    flam3/test/genomes/var21.flame

A    flam3/test/genomes/var04.flame

A    flam3/test/genomes/var40.flame

A    flam3/test/genomes/var23.flame

A    flam3/test/genomes/var06.flame

A    flam3/test/genomes/var42.flame

A    flam3/test/genomes/var25.flame

A    flam3/test/genomes/243_00305.flame

A    flam3/test/genomes/var08.flame

A    flam3/test/genomes/var44.flame

A    flam3/test/genomes/var27.flame

A    flam3/test/genomes/var46.flame

A    flam3/test/genomes/big_est_rad.flame

A    flam3/test/genomes/var29.flame

A    flam3/test/genomes/var48.flame

A    flam3/test/genomes/repeatable.flame

A    flam3/test/genomes/consist-nomotion.flame

A    flam3/test/genomes/243_00336_edge.flame

A    flam3/test/genomes/243_00210.flame

A    flam3/test/genomes/243_00447_edge.flame

A    flam3/test/genomes/var11.flame

A    flam3/test/genomes/var30.flame

A    flam3/test/genomes/120073.flame

A    flam3/test/genomes/243_00212.flame

A    flam3/test/genomes/var13.flame

A    flam3/test/genomes/var32.flame

A    flam3/test/genomes/var51.flame

A    flam3/test/genomes/var15.flame

A    flam3/test/genomes/bad_atof.flame

A    flam3/test/genomes/var34.flame

A    flam3/test/genomes/var53.flame

A    flam3/test/genomes/var17.flame

A    flam3/test/genomes/var36.flame

A    flam3/test/genomes/121566_old.flame

A    flam3/test/genomes/var19.flame

A    flam3/test/genomes/var38.flame

A    flam3/test/genomes/bad_sscanf.flame

A    flam3/test/genomes/243_00604_edge.flame

A    flam3/test/genomes/var01.flame

A    flam3/test/genomes/var20.flame

A    flam3/test/genomes/var03.flame

A    flam3/test/genomes/var22.flame

A    flam3/test/genomes/var41.flame

A    flam3/test/genomes/var05.flame

A    flam3/test/genomes/var24.flame

A    flam3/test/genomes/var07.flame

A    flam3/test/genomes/var43.flame

A    flam3/test/genomes/var26.flame

A    flam3/test/genomes/var09.flame

A    flam3/test/genomes/var45.flame

A    flam3/test/genomes/var28.flame

A    flam3/test/genomes/202.13926.old.flame

A    flam3/test/genomes/var47.flame

A    flam3/test/genomes/var49.flame

A    flam3/test/genomes/consist.flame

A    flam3/test/genomes/bad_strtod.flame

A    flam3/test/genomes/var10.flame

A    flam3/test/genomes/242_2575.flame

A    flam3/test/genomes/var12.flame

A    flam3/test/genomes/243_00358_edge.flame

A    flam3/mkinstalldirs

A    flam3/flam3-palettes.xml

A    flam3/configure.in

A    flam3/COPYING.txt

A    flam3/flam3-render.man

A    flam3/isaacs.h

A    flam3/flam3-convert.man

A    flam3/flam3-render.c

A    flam3/config.h.in

A    flam3/flam3-convert.c

A    flam3/img.h

A    flam3/render.dsp

A    flam3/convert.dsp

A    flam3/flam3.pc.in

A    flam3/Makefile.am

A    flam3/missing

A    flam3/README.txt

A    flam3/aclocal.m4

A    flam3/install-sh

Checked out revision 880.

Finished Downloading Sources

 

Compiling flam3

configure: loading site script /usr/share/config.site

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /usr/bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... none

checking whether make sets $(MAKE)... (cached) yes

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-linux-gnu

checking for a sed that does not truncate output... /usr/bin/sed

checking for grep that handles long lines and -e... /usr/bin/grep

checking for egrep... /usr/bin/grep -E

checking for fgrep... /usr/bin/grep -F

checking for ld used by gcc... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B

checking the name lister (/usr/bin/nm -B) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 1572864

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking for /usr/bin/ld option to reload object files... -r

checking for objdump... objdump

checking how to recognize dependent libraries... pass_all

checking for ar... ar

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/bin/nm -B output from gcc object... ok

checking how to run the C preprocessor... gcc -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for dlfcn.h... yes

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... no

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... no

checking whether to build static libraries... yes

checking for ANSI C header files... (cached) yes

checking for an ANSI C-conforming const... yes

checking for size_t... yes

checking whether time.h and sys/time.h may both be included... yes

checking for deflateInit_ in -lz... yes

checking for png_write_image in -lpng... yes

checking for xmlParseFile in -lxml2... yes

checking whether gcc knows 32-bit __sync_bool_compare_and_swap()... yes

checking whether gcc knows 64-bit __sync_bool_compare_and_swap()... yes

checking for pthread_create in -lpthread... yes

checking for jpeg_start_compress in -ljpeg... yes

checking for xml2-config... /usr/bin/xml2-config

configure: creating ./config.status

config.status: creating Makefile

config.status: creating flam3.pc

config.status: creating config.h

config.status: executing depfiles commands

config.status: executing libtool commands

cd . && /bin/sh /home/jrobbins/Downloads/electricsheep-2014-04-11/flam3/missing --run automake-1.11 --foreign

/home/jrobbins/Downloads/electricsheep-2014-04-11/flam3/missing: line 52: automake-1.11: command not found

WARNING: `automake-1.11' is missing on your system.  You should only need it if

you modified `Makefile.am', `acinclude.m4' or `configure.in'.

You might want to install the `Automake' and `Perl' packages.

Grab them from any GNU archive site.

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/jrobbins/Downloads/electricsheep-2014-04-11/flam3/missing --run autoconf

aclocal.m4:16: warning: this file was generated for autoconf 2.64.

You have another version of autoconf.  It may work, but is not guaranteed to.

If you have problems, you may need to regenerate the build system entirely.

To do so, use the procedure documented by the package, typically `autoreconf'.

configure.in:22: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...

../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...

../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...

aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...

aclocal.m4:4185: _LT_LINKER_SHLIBS is expanded from...

aclocal.m4:5267: _LT_LANG_C_CONFIG is expanded from...

aclocal.m4:159: _LT_SETUP is expanded from...

aclocal.m4:88: LT_INIT is expanded from...

aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...

configure.in:22: the top level

configure.in:22: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...

../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...

../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...

aclocal.m4:4185: _LT_LINKER_SHLIBS is expanded from...

aclocal.m4:5267: _LT_LANG_C_CONFIG is expanded from...

aclocal.m4:159: _LT_SETUP is expanded from...

aclocal.m4:88: LT_INIT is expanded from...

aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...

configure.in:22: the top level

configure.in:39: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...

configure.in:39: the top level

configure.in:53: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...

configure.in:53: the top level

/bin/sh ./config.status --recheck

running CONFIG_SHELL=/bin/sh /bin/sh ./configure --no-create --no-recursion

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /usr/bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... none

checking whether make sets $(MAKE)... (cached) yes

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-linux-gnu

checking for a sed that does not truncate output... /usr/bin/sed

checking for grep that handles long lines and -e... /usr/bin/grep

checking for egrep... /usr/bin/grep -E

checking for fgrep... /usr/bin/grep -F

checking for ld used by gcc... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B

checking the name lister (/usr/bin/nm -B) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 1572864

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking for /usr/bin/ld option to reload object files... -r

checking for objdump... objdump

checking how to recognize dependent libraries... pass_all

checking for ar... ar

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/bin/nm -B output from gcc object... ok

checking how to run the C preprocessor... gcc -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for dlfcn.h... yes

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... no

checking for gcc option to produce PIC... -fPIC -DPIC

checking if gcc PIC flag -fPIC -DPIC works... yes

checking if gcc static flag -static works... no

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... no

checking whether to build static libraries... yes

checking for ANSI C header files... (cached) yes

checking for an ANSI C-conforming const... yes

checking for size_t... yes

checking whether time.h and sys/time.h may both be included... yes

checking for deflateInit_ in -lz... yes

checking for png_write_image in -lpng... yes

checking for xmlParseFile in -lxml2... yes

checking whether gcc knows 32-bit __sync_bool_compare_and_swap()... yes

checking whether gcc knows 64-bit __sync_bool_compare_and_swap()... yes

checking for pthread_create in -lpthread... yes

checking for jpeg_start_compress in -ljpeg... yes

checking for xml2-config... /usr/bin/xml2-config

configure: creating ./config.status

/bin/sh ./config.status

config.status: creating Makefile

config.status: creating flam3.pc

config.status: creating config.h

config.status: config.h is unchanged

config.status: executing depfiles commands

config.status: executing libtool commands

(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/jrobbins/Downloads/electricsheep-2014-04-11/flam3/missing --run autoheader)

configure.in:22: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...

../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...

../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...

aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...

aclocal.m4:4185: _LT_LINKER_SHLIBS is expanded from...

aclocal.m4:5267: _LT_LANG_C_CONFIG is expanded from...

aclocal.m4:159: _LT_SETUP is expanded from...

aclocal.m4:88: LT_INIT is expanded from...

aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...

configure.in:22: the top level

configure.in:22: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...

../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...

../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...

aclocal.m4:4185: _LT_LINKER_SHLIBS is expanded from...

aclocal.m4:5267: _LT_LANG_C_CONFIG is expanded from...

aclocal.m4:159: _LT_SETUP is expanded from...

aclocal.m4:88: LT_INIT is expanded from...

aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...

configure.in:22: the top level

configure.in:39: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...

configure.in:39: the top level

configure.in:53: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...

configure.in:53: the top level

rm -f stamp-h1

touch config.h.in

cd . && /bin/sh ./config.status config.h

config.status: creating config.h

config.status: config.h is unchanged

make  all-am

make[1]: Entering directory `/home/jrobbins/Downloads/electricsheep-2014-04-11/flam3'

/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I/usr/include/libxml2  -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'  -c -o flam3.lo flam3.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -DSVN_REV=\"880M\" -c flam3.c -o flam3.o

/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I/usr/include/libxml2  -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'  -c -o flam3-palettes.lo flam3-palettes.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -DSVN_REV=\"880M\" -c flam3-palettes.c -o flam3-palettes.o

/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I/usr/include/libxml2  -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'  -c -o jpeg.lo jpeg.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -DSVN_REV=\"880M\" -c jpeg.c -o jpeg.o

/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I/usr/include/libxml2  -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'  -c -o png.lo png.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -DSVN_REV=\"880M\" -c png.c -o png.o

/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I/usr/include/libxml2  -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'  -c -o isaac.lo isaac.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -DSVN_REV=\"880M\" -c isaac.c -o isaac.o

/bin/sh ./libtool --tag=CC   --mode=link gcc -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'  -no-undefined -ljpeg -lpng -lz -lpthread  -o libflam3.la -rpath /usr/local/lib flam3.lo flam3-palettes.lo jpeg.lo png.lo isaac.lo  -ljpeg -lpthread -lxml2 -lpng -lz

libtool: link: warning: library `/usr/lib64/libpng.la' was moved.

libtool: link: ar cru .libs/libflam3.a  flam3.o flam3-palettes.o jpeg.o png.o isaac.o

libtool: link: ranlib .libs/libflam3.a

libtool: link: ( cd ".libs" && rm -f "libflam3.la" && ln -s "../libflam3.la" "libflam3.la" )

gcc -DHAVE_CONFIG_H -I.   -I/usr/include/libxml2  -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'  -c flam3-animate.c

gcc -DHAVE_CONFIG_H -I.   -I/usr/include/libxml2  -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'  -c docstring.c

/bin/sh ./libtool --tag=CC   --mode=link gcc -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'    -o flam3-animate flam3-animate.o docstring.o libflam3.la -lm -ljpeg -lpthread -lxml2 -lpng -lz

libtool: link: warning: library `/usr/lib64/libpng.la' was moved.

libtool: link: warning: library `/usr/lib64/libpng.la' was moved.

libtool: link: gcc -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -DSVN_REV=\"880M\" -o flam3-animate flam3-animate.o docstring.o  ./.libs/libflam3.a -ljpeg -lpthread -lxml2 /usr/lib64/libpng14.so -lm -lz -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath -Wl,/usr/lib64

gcc -DHAVE_CONFIG_H -I.   -I/usr/include/libxml2  -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'  -c flam3-genome.c

/bin/sh ./libtool --tag=CC   --mode=link gcc -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'    -o flam3-genome flam3-genome.o docstring.o libflam3.la -lm -ljpeg -lpthread -lxml2 -lpng -lz

libtool: link: warning: library `/usr/lib64/libpng.la' was moved.

libtool: link: warning: library `/usr/lib64/libpng.la' was moved.

libtool: link: gcc -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -DSVN_REV=\"880M\" -o flam3-genome flam3-genome.o docstring.o  ./.libs/libflam3.a -ljpeg -lpthread -lxml2 /usr/lib64/libpng14.so -lm -lz -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath -Wl,/usr/lib64

gcc -DHAVE_CONFIG_H -I.   -I/usr/include/libxml2  -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'  -c flam3-render.c

/bin/sh ./libtool --tag=CC   --mode=link gcc -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'    -o flam3-render flam3-render.o docstring.o libflam3.la -lm -ljpeg -lpthread -lxml2 -lpng -lz

libtool: link: warning: library `/usr/lib64/libpng.la' was moved.

libtool: link: warning: library `/usr/lib64/libpng.la' was moved.

libtool: link: gcc -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -DSVN_REV=\"880M\" -o flam3-render flam3-render.o docstring.o  ./.libs/libflam3.a -ljpeg -lpthread -lxml2 /usr/lib64/libpng14.so -lm -lz -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath -Wl,/usr/lib64

gcc -DHAVE_CONFIG_H -I.   -I/usr/include/libxml2  -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'  -c flam3-convert.c

/bin/sh ./libtool --tag=CC   --mode=link gcc -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -D'SVN_REV="880M"'    -o flam3-convert flam3-convert.o docstring.o libflam3.la -lm -ljpeg -lpthread -lxml2 -lpng -lz

libtool: link: warning: library `/usr/lib64/libpng.la' was moved.

libtool: link: warning: library `/usr/lib64/libpng.la' was moved.

libtool: link: gcc -g -O3 -ffast-math -DPACKAGE_DATA_DIR=\"/usr/local/share/flam3\" -DSVN_REV=\"880M\" -o flam3-convert flam3-convert.o docstring.o  ./.libs/libflam3.a -ljpeg -lpthread -lxml2 /usr/lib64/libpng14.so -lm -lz -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath -Wl,/usr/lib64

make[1]: Leaving directory `/home/jrobbins/Downloads/electricsheep-2014-04-11/flam3'

make[1]: Entering directory `/home/jrobbins/Downloads/electricsheep-2014-04-11/flam3'

test -z "/usr/local/lib" || /usr/bin/mkdir -p "/usr/local/lib"

/bin/sh ./libtool   --mode=install /usr/bin/install -c   libflam3.la '/usr/local/lib'

libtool: install: /usr/bin/install -c .libs/libflam3.lai /usr/local/lib/libflam3.la

libtool: install: /usr/bin/install -c .libs/libflam3.a /usr/local/lib/libflam3.a

libtool: install: chmod 644 /usr/local/lib/libflam3.a

libtool: install: ranlib /usr/local/lib/libflam3.a

libtool: finish: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/sbin" ldconfig -n /usr/local/lib

----------------------------------------------------------------------

Libraries have been installed in:

/usr/local/lib

 

If you ever happen to want to link against installed libraries

in a given directory, LIBDIR, you must either use libtool, and

specify the full pathname of the library, or use the `-LLIBDIR'

flag during linking and do at least one of the following:

- add LIBDIR to the `LD_LIBRARY_PATH' environment variable

during execution

- add LIBDIR to the `LD_RUN_PATH' environment variable

during linking

- use the `-Wl,-rpath -Wl,LIBDIR' linker flag

- have your system administrator add LIBDIR to `/etc/ld.so.conf'

 

See any operating system documentation about shared libraries for

more information, such as the ld(1) and ld.so(8) manual pages.

----------------------------------------------------------------------

test -z "/usr/local/bin" || /usr/bin/mkdir -p "/usr/local/bin"

/bin/sh ./libtool   --mode=install /usr/bin/install -c flam3-animate flam3-genome flam3-render flam3-convert '/usr/local/bin'

libtool: install: /usr/bin/install -c flam3-animate /usr/local/bin/flam3-animate

libtool: install: /usr/bin/install -c flam3-genome /usr/local/bin/flam3-genome

libtool: install: /usr/bin/install -c flam3-render /usr/local/bin/flam3-render

libtool: install: /usr/bin/install -c flam3-convert /usr/local/bin/flam3-convert

test -z "/usr/local/include" || /usr/bin/mkdir -p "/usr/local/include"

/usr/bin/install -c -m 644 flam3.h isaac.h isaacs.h '/usr/local/include'

test -z "/usr/local/share/man/man1" || /usr/bin/mkdir -p "/usr/local/share/man/man1"

/usr/bin/install -c -m 644 'flam3-animate.man' '/usr/local/share/man/man1/flam3-animate.1'

/usr/bin/install -c -m 644 'flam3-genome.man' '/usr/local/share/man/man1/flam3-genome.1'

/usr/bin/install -c -m 644 'flam3-render.man' '/usr/local/share/man/man1/flam3-render.1'

/usr/bin/install -c -m 644 'flam3-convert.man' '/usr/local/share/man/man1/flam3-convert.1'

test -z "/usr/local/lib/pkgconfig" || /usr/bin/mkdir -p "/usr/local/lib/pkgconfig"

/usr/bin/install -c -m 644 flam3.pc '/usr/local/lib/pkgconfig'

test -z "/usr/local/share/flam3" || /usr/bin/mkdir -p "/usr/local/share/flam3"

/usr/bin/install -c -m 644 flam3-palettes.xml '/usr/local/share/flam3'

make[1]: Leaving directory `/home/jrobbins/Downloads/electricsheep-2014-04-11/flam3'

Finished Compiling flam3

 

Compiling ElectricSheep Client

configure: loading site script /usr/share/config.site

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /usr/bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... none

checking whether make sets $(MAKE)... (cached) yes

checking how to run the C preprocessor... gcc -E

checking for grep that handles long lines and -e... /usr/bin/grep

checking for egrep... /usr/bin/grep -E

checking for ANSI C header files... yes

checking for X... libraries , headers

checking for gethostbyname... yes

checking for connect... yes

checking for remove... yes

checking for shmat... yes

checking for IceConnectionNumber in -lICE... yes

checking for an ANSI C-conforming const... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for size_t... yes

checking whether time.h and sys/time.h may both be included... yes

checking sys/mount.h usability... yes

checking sys/mount.h presence... yes

checking for sys/mount.h... yes

checking sys/vfs.h usability... yes

checking sys/vfs.h presence... yes

checking for sys/vfs.h... yes

checking sys/statvfs.h usability... yes

checking sys/statvfs.h presence... yes

checking for sys/statvfs.h... yes

checking for XML_ParserCreate in -lexpat... yes

checking whether setpgrp takes no argument... yes

checking for setproctitle... no

checking for pkg-config... /usr/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking for libglade... yes

configure: creating ./config.status

config.status: creating Makefile

config.status: creating electricsheep.desktop

config.status: creating electricsheep.xml

config.status: creating electricsheep.spec

config.status: creating electricsheep.man

config.status: creating config.h

config.status: executing depfiles commands

cd . && /bin/sh /home/jrobbins/Downloads/electricsheep-2014-04-11/client/missing --run automake-1.11 --foreign

/home/jrobbins/Downloads/electricsheep-2014-04-11/client/missing: line 52: automake-1.11: command not found

WARNING: `automake-1.11' is missing on your system.  You should only need it if

you modified `Makefile.am', `acinclude.m4' or `configure.in'.

You might want to install the `Automake' and `Perl' packages.

Grab them from any GNU archive site.

cd . && /bin/sh ./config.status Makefile

config.status: creating Makefile

(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/jrobbins/Downloads/electricsheep-2014-04-11/client/missing --run autoheader)

aclocal.m4:16: warning: this file was generated for autoconf 2.65.

You have another version of autoconf.  It may work, but is not guaranteed to.

If you have problems, you may need to regenerate the build system entirely.

To do so, use the procedure documented by the package, typically `autoreconf'.

rm -f stamp-h1

touch config.h.in

cd . && /bin/sh ./config.status config.h

config.status: creating config.h

config.status: config.h is unchanged

make  all-am

make[1]: Entering directory `/home/jrobbins/Downloads/electricsheep-2014-04-11/client'

gcc -DHAVE_CONFIG_H -I.    -DPACKAGE_DATA_DIR=\"/usr/share/electricsheep\" -g -O2 -c electricsheep.c

electricsheep.c: In function ‘copy_out_file’:

electricsheep.c:673:6: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)

if (CODEC_TYPE_VIDEO == enc->codec_type) {

^

electricsheep.c:673:6: note: each undeclared identifier is reported only once for each function it appears in

electricsheep.c:699:7: warning: assignment makes pointer from integer without a cast [enabled by default]

ofmt = guess_format(NULL, fname, NULL);

^

electricsheep.c:707:4: error: ‘AVStream’ has no member named ‘stream_copy’

st->stream_copy = 1;

^

electricsheep.c:726:39: error: ‘URL_WRONLY’ undeclared (first use in this function)

if (url_fopen(&output_ctx->pb, pipe, URL_WRONLY) < 0) {

^

electricsheep.c:741:22: error: ‘PKT_FLAG_KEY’ undeclared (first use in this function)

ipkt.flags & PKT_FLAG_KEY))

^

make[1]: *** [electricsheep.o] Error 1

make[1]: Leaving directory `/home/jrobbins/Downloads/electricsheep-2014-04-11/client'

make: *** [all] Error 2

gcc -DHAVE_CONFIG_H -I.    -DPACKAGE_DATA_DIR=\"/usr/share/electricsheep\" -g -O2 -c electricsheep.c

electricsheep.c: In function ‘copy_out_file’:

electricsheep.c:673:6: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)

if (CODEC_TYPE_VIDEO == enc->codec_type) {

^

electricsheep.c:673:6: note: each undeclared identifier is reported only once for each function it appears in

electricsheep.c:699:7: warning: assignment makes pointer from integer without a cast [enabled by default]

ofmt = guess_format(NULL, fname, NULL);

^

electricsheep.c:707:4: error: ‘AVStream’ has no member named ‘stream_copy’

st->stream_copy = 1;

^

electricsheep.c:726:39: error: ‘URL_WRONLY’ undeclared (first use in this function)

if (url_fopen(&output_ctx->pb, pipe, URL_WRONLY) < 0) {

^

electricsheep.c:741:22: error: ‘PKT_FLAG_KEY’ undeclared (first use in this function)

ipkt.flags & PKT_FLAG_KEY))

^

make: *** [electricsheep.o] Error 1

Finished Compiling ElectricSheep Client

 

Removing ffmpeg-devel Library Links

Finished Removing ffmpeg-devel Library Links

 

Finished Install of electricsheep for Fedora

[15:18] [email protected] Downloads # electricsheep electricsheep: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory [15:18] [email protected] Downloads #

i just updated for Ubuntu

i just updated for Ubuntu 12.04.  there was a library that changed its name (GLee to glee) and there's a better way to install wxWidgets.  Instructions above have been updated.

electricsheep spawning mplayer

I thought mplayer was no longer called by electricsheep, but I just installed 2.7b11 on gentoo and not only does it drag in mplayer (not mplayer2) but when electricsheep runs it hangs with mplayer satruating one CPU and displaying nothing >confused!<

to get the current version

to get the current version without mplayer, build from our source.

follow the instructions on the download tab on the left.

Re: Fedora 22(Rawhide)

After installing libgdbus-devel-0.2-6.fc15.x86_64.rpm and a mess of other rpms without deps I download source from google and fix autoconf by doing make mk dir.  Configure fails with wxWidgets so I build wxWidgets-3.0.0-rc1 and install. Compile fails with liblua.  This is second time-first time I borked my system by building lua and rpm depends on it.  Finally, I compile by commenting out a mess of lines in LuaState.cpp and one line in luaxml.cpp.  I run electricsheep and it segfaults:

CElectricSheep()
CElectricSheep_Linux()
Startup()
Segmentation fault (core dumped)

From dmesg:

[320586.152969] electricsheep[8378]: segfault at 1a27de8 ip 000000386b42289c sp 00007fffe93d2420 error 4 in liblua-5.2.so[386b400000+31000]

My system lua:

lua-5.2.2-5.fc21.x86_64

lua-devel-5.2.2-5.fc21.x86_64

 

 

I feel ya

Did any of my prior headbanging on F19 help?  This beast has got to get with the times.

Edit: referring to http://www.electricsheep.org/node/51#comment-5711

What should I do after checking out client source?

Hello, I am sorry for this silly question, but what should I do after checking out client source? In what folder should I run ./autogen.sh and so on?

it should be at the top

it should be at the top level.

ok, i did so, but it says "no

ok, i did so, but it says "no such file or direcory".

 

Look in client_generic.  

Look in client_generic.

 

Problem during the autogen (Kubuntu 13.10)

Hello,

 

I'm trying to install your screensaver from source. I followed your instructions, but there's an error during the autogen phase. Here's the log:

 

Preparing the electricsheep build system...please wait

 

Found GNU Autoconf version 2.69

Found GNU Automake version 1.13.3

Found GNU Libtool version 2.4.2

 

Automatically preparing build ... Warning: autoreconf failed

Attempting to run the preparation steps individually

 

Preparing build ... ERROR: aclocal -I mk/autoconf failed


I suppose there's a package missing, but i don't know which. Do you have an idea ?

ERROR: aclocal -I mk/autoconf failed

Same pb with Ubuntu 14 :

└─ $ ▶ ./autogen.sh
Preparing the electricsheep build system...please wait

Found GNU Autoconf version 2.69
Found GNU Automake version 1.14.1
Found GNU Libtool version 2.4.2
rm: impossible de supprimer «autom4te.cache/output.0»: Permission non accordée
rm: impossible de supprimer «autom4te.cache/requests»: Permission non accordée
rm: impossible de supprimer «autom4te.cache/traces.0»: Permission non accordée
rm: impossible de supprimer «autom4te.cache/output.0»: Permission non accordée
rm: impossible de supprimer «autom4te.cache/requests»: Permission non accordée
rm: impossible de supprimer «autom4te.cache/traces.0»: Permission non accordée

Automatically preparing build ... Warning: autoreconf failed
Attempting to run the preparation steps individually

Preparing build ... ERROR: aclocal -I mk/autoconf failed

Problem during the autogen, fixed

I had the same issue, your version of automake is too old. I had 2 versions

installed, removed the older one, and it all works.

I did:

apt-get install automake    (installs a current version, actually was already there)

apt-get remove automake1.4 (old version in my system that apparently overrides the new one)

./autogen.sh

Preparing the electricsheep build system...please wait

Found GNU Autoconf version 2.69
Found GNU Automake version 1.14
Found GNU Libtool version 2.4.2

Automatically preparing build ... done

The return of the problem

Since automake 1.14 doesn't seem to be in the Ubuntu 13.10 Sausy packages yet I built it from source. Still I get the following message when running autogen.sh:

Preparing the electricsheep build system...please wait

Found GNU Autoconf version 2.69
Found GNU Automake version 1.14
Found GNU Libtool version 2.4.2

Automatically preparing build ... Warning: autoreconf failed
Attempting to run the preparation steps individually

Preparing build ... ERROR: aclocal -I mk/autoconf failed

Debugging errors in autogen.sh

Always when encountering these kinds of errors, the first thing to do is to run: ./autogen.sh --verbose

 

Ran autogen.sh -v

I found that it failed to find "m4" directory so I made an empty one for it to find. Then it ran showing some errors, not sure of they are related to script or automake version. BTW, I also upgraded autoconf, automake and libtools to latest versions by compiling them from source. Still no dice. After running ./configure, no make file is generated. :-( any ideas?

Got the client to compile on Debian testing, but it doesn't work

Hi, I was able to compile the client (trunk r146) on Debian testing (fully upgrated at 2013-10-13) after applying the following patch:

<patch>
Index: client_generic/ContentDecoder/ContentDecoder.cpp
===================================================================
--- client_generic/ContentDecoder/ContentDecoder.cpp    (revision 146)
+++ client_generic/ContentDecoder/ContentDecoder.cpp    (working copy)
@@ -29,7 +29,7 @@
#include    "Timer.h"
#include    "Settings.h"

-#ifdef MAC
+#if defined(MAC) || LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,17,0)
#define USE_NEW_FFMPEG_API
#endif

Index: client_generic/MSVC/SettingsGUI/Makefile.am
===================================================================
--- client_generic/MSVC/SettingsGUI/Makefile.am    (revision 146)
+++ client_generic/MSVC/SettingsGUI/Makefile.am    (working copy)
@@ -25,8 +25,7 @@
-I ../../tinyXml \
-I /usr/include/libavcodec \
-I /usr/include/libavformat \
-    -I /usr/include/libswscale \
-    -I /usr/include/libavutil
+    -I /usr/include/libswscale

bin_PROGRAMS = electricsheep-preferences

</patch>

The ContentDecoder.cpp patch takes the new ffmpeg api in use if the libavformat is new enough. The MSVC/SettingsGUI/Makefile.am patch removes libavutil from include path, because it contains a time.h that clashes with the system's time.h. You probably should not have any of the /usr/include/lib* directories in the include path - you should just include them like: #include "libavutil/time.h"

Anyway, after compiling and installing the electricsheep screensaver sort of starts but doesn't work properly: there is a black screen and the following error in the top left corner (twice):

glibtop: Non-standard uts for running kernel:
release 3.10-3-amd64=3.10.0 gives version code 199168

Edit 2013-10-13 20:49 UTC:

The "Non-standard uts" message is just a long-standing bug in glibtop. Electricsheep probably should not overlay that warning, though....

Another issue is that electricsheep-preferences keeps crashing with error: Pango:ERROR:/build/pango1.0-TFLCNq/pango1.0-1.32.5/./pango/pango-layout.c:3863:pango_layout_check_lines: assertion failed: (!layout->log_attrs)

After enabling logs manually in ElectricSheep.cfg, I found that the log gets rapidly stuffed with similar repeats of the following (worth of megabytes in just a few seconds):

[INFO-23:34:47]: 'Picked connection 80082 from pq (playcount 14 )'
[INFO-23:34:47]: 'Next sheep chosen: 80082 played 14 times'
[INFO-23:34:47]: 'Opening: /home/visa/.electricsheep/content//mpeg/00244=80144=77418=79898.avi'
[INFO-23:34:47]: 'VerifyM(0)' x3
[INFO-23:34:47]: 'Open done()'
[INFO-23:34:47]: 'Opening: /home/visa/.electricsheep/content//mpeg/00244=80082=79898=79911.avi'
[INFO-23:34:47]: 'VerifyM(0)' x7
[WARN-23:34:47]: 'failed to get frame...'
[INFO-23:34:47]: 'Open done()'
[INFO-23:34:47]: 'calling Next()'
[INFO-23:34:47]: 'VerifyM(0)' x9
[WARN-23:34:47]: 'failed to get frame...'
[INFO-23:34:47]: 'GraphAlgo: CurrentSheep = 80082'
[INFO-23:34:47]: 'picking edge!'
[INFO-23:34:47]: 'picking loop!'


I'm guessing that the 'failed to get frame...' is important here...

 

Got the client to compile on Debian MOSTLY testing, and it works

I installed wx3.0 from unstable, using

apt-get -t unstable libwxgtk3.0-dev   (pulls in needed dependencies)

apt-get install automake    (installs a current version)

apt-get remove automake1.4 (old version in my system that apparently overrides the new one)

works for me, no source changes needed.

 

electricsheep-preferences crash caused by LoginThread

The electricsheep-preferences crash with message "layout.c:3863:pango_layout_check_lines: assertion failed: (!layout->log_attrs)" seems to be caused by the LoginThread that tries to cuncurrently access the dialog. wxWidgets is NOT thread safe: it is forbidden to modify components from non-mainloop threads.

I worked around the issue by adding "return;" in the beginning of electricsheepguiMyDialog2::OnIdle(). Now I can modify the preferences through the GUI, but naturally the login doesn't work.

Tracing some steps back for Fedora 19 problem

So I was poring over my blog notes from last year during an RHEL5 adventure:

http://shawnq.com/2012/04/27/installing-electric-sheep-in-rhel-5centos-5/

It seems the symlink to the GLee.h library worked for me then, so I'm suspecting it should work this run...will test Monday and see if that puts the final nail in the coffin.

If nobody has any idea what I'm talking about, refer to the Fedora 19 post a couple of comments ago (sorry browser got jammed up here)

you might also want to

Progress

So it appears I got past everything in the Client make finally, by upgrading some of the deprecated statements, working on this next issue now:

electricsheepguiMyDialog2.cpp: In member function ‘void electricsheepguiMyDialog2::SaveSettings()’:

electricsheepguiMyDialog2.cpp:158:91: error: no matching function for call to ‘std::basic_string<char>::basic_string(wxString)’

g_Settings()->Set("settings.generator.nickname", std::string(m_textDrupalName->GetValue()));

I'm having problems intalling it on openSUSE 12.3

When I'm trying to run make i get the following error. Can anybody help me out? Thanks in advance!

 

[email protected]:~/electricsheep-read-only/client_generic> make

Making all in Client

make[1]: Entering directory `/home/rasmus/electricsheep-read-only/client_generic/Client'

/bin/sh ../libtool --tag=CXX   --mode=link g++ -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\"     -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -I /usr/local/include/GL -I/usr/include/GL  -I/usr/include/libpng12      -lrt -lz -lGL -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2   -o electricsheep Player.o main.o Voting.o Hud.o Upload.o Download.o Networking.o LoadDDS.o Image.o RendererGL.o glx.o ShaderGL.o TextureFlatGL.o wgl.o FontGL.o mgl.o Shader.o Texture.o Font.o TextureFlat.o Renderer.o LoadPNG.o DisplayOutput.o tinyxmlparser.o tinyxml.o tinystr.o tinyxmlerror.o diriterator.o storage.o luastorage.o ContentDecoder.o SheepUploader.o ContentDownloader.o SheepGenerator.o SheepDownloader.o Sheep.o Shepherd.o LuaState.o Common.o AlignedBuffer.o isaac.o pool.o Log.o Rect.o luaxml.o Exception.o md5.o -lboost_system -lboost_thread -lboost_filesystem -lglut -lavcodec   -lavformat   -lswscale   -lavutil   -llua -lm    -lGLee -lboost_system -lcurl   -lpng12   -lXrender -lX11   -lgtop-2.0 -lglib-2.0   -lXrender -lX11   -lrt -lGL -lglut -ltinyxml -lboost_system -lboost_filesystem -lboost_thread

libtool: link: g++ -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I /usr/local/include/GL -I/usr/include/GL -I/usr/include/libpng12 -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -o electricsheep Player.o main.o Voting.o Hud.o Upload.o Download.o Networking.o LoadDDS.o Image.o RendererGL.o glx.o ShaderGL.o TextureFlatGL.o wgl.o FontGL.o mgl.o Shader.o Texture.o Font.o TextureFlat.o Renderer.o LoadPNG.o DisplayOutput.o tinyxmlparser.o tinyxml.o tinystr.o tinyxmlerror.o diriterator.o storage.o luastorage.o ContentDecoder.o SheepUploader.o ContentDownloader.o SheepGenerator.o SheepDownloader.o Sheep.o Shepherd.o LuaState.o Common.o AlignedBuffer.o isaac.o pool.o Log.o Rect.o luaxml.o Exception.o md5.o  -lz -lavcodec -lavformat -lswscale -lavutil -llua -lm -lGLee -lcurl -lpng12 -lgtop-2.0 -lglib-2.0 -lXrender -lX11 -lrt -lGL -lglut -ltinyxml -lboost_system -lboost_filesystem -lboost_thread

Player.o: In function `CPlayer::CreateContentDecoder(bool)':

/home/rasmus/electricsheep-read-only/client_generic/Client/Player.cpp:384: undefined reference to `ContentDecoder::CContentDecoder::CContentDecoder(Base::CRefCountPtr<ContentDecoder::CPlaylist, Base::CRefCountRep<ContentDecoder::CPlaylist>, ContentDecoder::CPlaylist*>, bool, bool, unsigned int, AVPixelFormat)'

ContentDecoder.o: In function `ContentDecoder::CContentDecoder::Open(ContentDecoder::sOpenVideoInfo*)':

/home/rasmus/electricsheep-read-only/client_generic/Client/../ContentDecoder/ContentDecoder.cpp:155: undefined reference to `av_open_input_file'

collect2: error: ld returned 1 exit status

make[1]: *** [electricsheep] Error 1

make[1]: Leaving directory `/home/rasmus/electricsheep-read-only/client_generic/Client'

make: *** [all-recursive] Error 1

 

Just FYI

To fix the above  OpenSUSE 12.3 error, one would edit:

/home/rasmus/electricsheep-read-only/client_generic/ContentDecoder/ContentDecoder.cpp on line 155 and change "av_open_input_file" to "avformat_open_input"

There's bound to be more issues, the undefined references are simply referring to deprecated references, a quick google search will get you some replacements, but here's some to help:

"url_fopen" = "avio_open"

"av_close_input_file" = "avformat_close_input"

Note, the last one I had to put an ampersand character before the specified variable, for example, ./ContentDecoder/ContentDecoder.h:112:

avformat_close_input( &m_pFormatContext );

Fedora no longer has libgdbus

Fedora no longer has libgdbus or libgdbus-devel in their repos, starting with Fedora 18. Anyone have an RPM that works? I can't build Electricsheep without it!

Fedora 19 compilation progress

The Fedora 15 package seems to install fine for me within Fedora 19:

# yum install --nogpgcheck ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releas... ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releas...

Thing is, this is only the tip of the iceberg, my friend.  I've gone further here with F19 and there is a lot of other things to consider.  Using the autogen script with verbose:

[client_generic]# ./autogen.sh -v

You will see the following error:

autoreconf: running: aclocal -I mk/autoconf --force -I m4

aclocal: error: couldn't open directory 'm4': No such file or directory

This...is idiotic, simply:

# mkdir m4

...to resolve.

Then to get around the next batch of issues:

# yum install GConf2-devel curl dbus-devel dbus-glib-devel expat-devel ffmpeg-devel ffmpeg-devel.i686 glib glib-devel glib2-devel libgdbus-devel libglade2-devel libgnome-devel libgnomeui-devel libjpeg-devel libtool mplayer subversion

I'm sure there's one or two unnecessary packages in that list, but to be safe...anyway.

Then, for me at least, ./configure failed at "libboost >= 1.39" - I figured, to resolve I would:

# yum install boost-devel boost

However, I was still getting that libboost issue, so I looked at config.log and found:

configure:19762: checking for libboost >= 1.39

configure:19792: g++ -o conftest    conftest.cpp  >&5

./configure: line 2122: g++: command not found

configure:19792: $? = 127

configure: program exited with status 127

Guess it would help to have g++, so:

# yum install gcc-c++

Then I got:

checking for main in -ltinyxml... no

configure: error: you must install libtinyxml dev to compile electricsheep.

So to fix:

# yum install tinyxml tinyxml-devel

...and Then:

checking for main in -ltinyxml... yes

checking for glutMainLoop in -lglut... no

configure: error: you must install libglut dev to compile electricsheep.

...Fix:

# yum install freeglut freeglut-devel

Then finally make Works!

...annnd we're gonna troubleshoot some more:

Making all in Client

make[1]: Entering directory `/usr/src/electricsheep-read-only/client_generic/Client'

g++ -DPACKAGE_NAME=\"electricsheep\" -DPACKAGE_TARNAME=\"electricsheep\" -DPACKAGE_VERSION=\"2.7b33-svn\" -DPACKAGE_STRING=\"electricsheep\ 2.7b33-svn\" -DPACKAGE_BUGREPORT=\"http://code.google.com/p/electricsheep/issues/list\" -DPACKAGE_URL=\"\" -DPACKAGE=\"electricsheep\" -DVERSION=\"2.7b33-svn\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_LIBBOOST_THREAD=1 -DHAVE_LIBBOOST_FILESYSTEM=1 -DHAVE_LIBBOOST_SYSTEM=1 -DHAVE_LIBTINYXML=1 -DHAVE_LIBGLUT=1 -DHAVE_LIBGL=1 -DHAVE_LIBRT=1 -I. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I .. -iquote ../DisplayOutput/OpenGL -I ../Common -I ../DisplayOutput -I ../DisplayOutput/Renderer -I ../Common/Math -I ../ContentDecoder -I ../TupleStorage -I ../ContentDownloader -I ../lua5.1/src -I ../Client -I ../Networking -I ../tinyXml   -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -I /usr/local/include/GL -I/usr/include/GL  -I/usr/include/libpng15      -lrt -lz -lGL -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -MT Player.o -MD -MP -MF .deps/Player.Tpo -c -o Player.o Player.cpp

Player.cpp:16:18: fatal error: GLee.h: No such file or directory

#include <GLee.h>

^

compilation terminated.

make[1]: *** [Player.o] Error 1

make[1]: Leaving directory `/usr/src/electricsheep-read-only/client_generic/Client'

make: *** [all-recursive] Error 1

So, to fix that one is easy:

# yum install GLee GLee-devel

(or use Glew / whatever)

Now I'm unfortunately stuck at this particular spot...and I just know someone patched this previously for other generations of Fedora before, so "something" has to be changed here:

g++ -DPACKAGE_NAME=\"electricsheep\" -DPACKAGE_TARNAME=\"electricsheep\" -DPACKAGE_VERSION=\"2.7b33-svn\" -DPACKAGE_STRING=\"electricsheep\ 2.7b33-svn\" -DPACKAGE_BUGREPORT=\"http://code.google.com/p/electricsheep/issues/list\" -DPACKAGE_URL=\"\" -DPACKAGE=\"electricsheep\" -DVERSION=\"2.7b33-svn\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_LIBBOOST_THREAD=1 -DHAVE_LIBBOOST_FILESYSTEM=1 -DHAVE_LIBBOOST_SYSTEM=1 -DHAVE_LIBTINYXML=1 -DHAVE_LIBGLUT=1 -DHAVE_LIBGL=1 -DHAVE_LIBRT=1 -I. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I .. -iquote ../DisplayOutput/OpenGL -I ../Common -I ../DisplayOutput -I ../DisplayOutput/Renderer -I ../Common/Math -I ../ContentDecoder -I ../TupleStorage -I ../ContentDownloader -I ../lua5.1/src -I ../Client -I ../Networking -I ../tinyXml   -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -I /usr/local/include/GL -I/usr/include/GL  -I/usr/include/libpng15      -lrt -lz -lGL -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -MT luastorage.o -MD -MP -MF .deps/luastorage.Tpo -c -o luastorage.o `test -f '../TupleStorage/luastorage.cpp' || echo './'`../TupleStorage/luastorage.cpp

mv -f .deps/luastorage.Tpo .deps/luastorage.Po

g++ -DPACKAGE_NAME=\"electricsheep\" -DPACKAGE_TARNAME=\"electricsheep\" -DPACKAGE_VERSION=\"2.7b33-svn\" -DPACKAGE_STRING=\"electricsheep\ 2.7b33-svn\" -DPACKAGE_BUGREPORT=\"http://code.google.com/p/electricsheep/issues/list\" -DPACKAGE_URL=\"\" -DPACKAGE=\"electricsheep\" -DVERSION=\"2.7b33-svn\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_LIBBOOST_THREAD=1 -DHAVE_LIBBOOST_FILESYSTEM=1 -DHAVE_LIBBOOST_SYSTEM=1 -DHAVE_LIBTINYXML=1 -DHAVE_LIBGLUT=1 -DHAVE_LIBGL=1 -DHAVE_LIBRT=1 -I. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I .. -iquote ../DisplayOutput/OpenGL -I ../Common -I ../DisplayOutput -I ../DisplayOutput/Renderer -I ../Common/Math -I ../ContentDecoder -I ../TupleStorage -I ../ContentDownloader -I ../lua5.1/src -I ../Client -I ../Networking -I ../tinyXml   -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -I /usr/local/include/GL -I/usr/include/GL  -I/usr/include/libpng15      -lrt -lz -lGL -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -MT ContentDecoder.o -MD -MP -MF .deps/ContentDecoder.Tpo -c -o ContentDecoder.o `test -f '../ContentDecoder/ContentDecoder.cpp' || echo './'`../ContentDecoder/ContentDecoder.cpp

In file included from ../ContentDecoder/ContentDecoder.cpp:26:0:

../ContentDecoder/ContentDecoder.h: In destructor ‘virtual ContentDecoder::sOpenVideoInfo::~sOpenVideoInfo()’:

../ContentDecoder/ContentDecoder.h:112:4: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/ffmpeg/libavformat/avformat.h:1689) [-Wdeprecated-declarations]

av_close_input_file( m_pFormatContext );

^

../ContentDecoder/ContentDecoder.h:112:42: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/ffmpeg/libavformat/avformat.h:1689) [-Wdeprecated-declarations]

av_close_input_file( m_pFormatContext );

^

../ContentDecoder/ContentDecoder.cpp: In member function ‘bool ContentDecoder::CContentDecoder::Open(ContentDecoder::sOpenVideoInfo*)’:

../ContentDecoder/ContentDecoder.cpp:155:94: error: ‘av_open_input_file’ was not declared in this scope

if( DumpError( av_open_input_file( &ovi->m_pFormatContext, _filename.c_str(), NULL, 0, NULL ) ) < 0 )

^

../ContentDecoder/ContentDecoder.cpp:165:17: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/ffmpeg/libavformat/avformat.h:1513) [-Wdeprecated-declarations]

if( DumpError( av_find_stream_info( ovi->m_pFormatContext ) ) < 0 )

^

../ContentDecoder/ContentDecoder.cpp:165:60: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/ffmpeg/libavformat/avformat.h:1513) [-Wdeprecated-declarations]

if( DumpError( av_find_stream_info( ovi->m_pFormatContext ) ) < 0 )

^

../ContentDecoder/ContentDecoder.cpp:217:20: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/ffmpeg/libavcodec/avcodec.h:3711) [-Wdeprecated-declarations]

if( DumpError( avcodec_open( ovi->m_pVideoCodecContext, ovi->m_pVideoCodec ) ) < 0 )

^

../ContentDecoder/ContentDecoder.cpp:217:80: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/ffmpeg/libavcodec/avcodec.h:3711) [-Wdeprecated-declarations]

if( DumpError( avcodec_open( ovi->m_pVideoCodecContext, ovi->m_pVideoCodec ) ) < 0 )

^

make[1]: *** [ContentDecoder.o] Error 1

make[1]: Leaving directory `/usr/src/electricsheep-read-only/client_generic/Client'

make: *** [all-recursive] Error 1


Any input is highly appreciated!

thanks for reporting your

thanks for reporting your work on building for fedora.

we need help with linux!

I would have been working on

I would have been working on it months ago if Solaris clusters weren't robbing me of my time, will figure it out, the last bit appears to be OpenGL related, so it gets murky, but likely just an initial compiling library dependency.

Self referencing GLee.h

I decided to try:

# yum remove GLee GLee-devel

# yum install glew glew-devel libGLEW libGLEWmx

...yet 'make' failed back with the original GLee.h error, so I added the following under Client/Makefile Line 376:

-I ../DisplayOutput/OpenGL \

Yet I'm stuck back with the aforementioned "../ContentDecoder/ContentDecoder.cpp:26:0" issue.

I think this specific cpp has been patched before for previous generations of Fedora, I'll see what I can dig up on it.

Further down the pipe

I found in this last f18 patch file outlined here:

http://electricsheep.org/node/5814

The following changes were implemented:

--- client_generic/ContentDecoder/ContentDecoder.cpp    (revision 138)

+++ client_generic/ContentDecoder/ContentDecoder.cpp    (working copy)

@@ -29,9 +29,9 @@

#include       "Timer.h"

#include       "Settings.h"

 

-#ifdef MAC

+//#ifdef MAC

#define USE_NEW_FFMPEG_API

-#endif

+//#endif

 

using namespace boost;

 

I emulated this, just adding the "//" to the two lines specified, and make now runs further:

Making all in Client

make[1]: Entering directory `/usr/src/electricsheep-read-only/client_generic/Client'

g++ -DPACKAGE_NAME=\"electricsheep\" -DPACKAGE_TARNAME=\"electricsheep\" -DPACKAGE_VERSION=\"2.7b33-svn\" -DPACKAGE_STRING=\"electricsheep\ 2.7b33-svn\" -DPACKAGE_BUGREPORT=\"http://code.google.com/p/electricsheep/issues/list\" -DPACKAGE_URL=\"\" -DPACKAGE=\"electricsheep\" -DVERSION=\"2.7b33-svn\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_LIBBOOST_THREAD=1 -DHAVE_LIBBOOST_FILESYSTEM=1 -DHAVE_LIBBOOST_SYSTEM=1 -DHAVE_LIBTINYXML=1 -DHAVE_LIBGLUT=1 -DHAVE_LIBGL=1 -DHAVE_LIBRT=1 -I. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I .. -iquote ../DisplayOutput/OpenGL -I ../Common -I ../DisplayOutput -I ../DisplayOutput/Renderer -I ../DisplayOutput/OpenGL -I ../Common/Math -I ../ContentDecoder -I ../TupleStorage -I ../ContentDownloader -I ../lua5.1/src -I ../Client -I ../Networking -I ../tinyXml   -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -I /usr/local/include/GL -I/usr/include/GL  -I/usr/include/libpng15      -lrt -lz -lGL -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -MT ContentDecoder.o -MD -MP -MF .deps/ContentDecoder.Tpo -c -o ContentDecoder.o `test -f '../ContentDecoder/ContentDecoder.cpp' || echo './'`../ContentDecoder/ContentDecoder.cpp

In file included from ../ContentDecoder/ContentDecoder.cpp:26:0:

../ContentDecoder/ContentDecoder.h: In destructor ‘virtual ContentDecoder::sOpenVideoInfo::~sOpenVideoInfo()’:

../ContentDecoder/ContentDecoder.h:112:4: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/ffmpeg/libavformat/avformat.h:1689) [-Wdeprecated-declarations]

av_close_input_file( m_pFormatContext );

^

../ContentDecoder/ContentDecoder.h:112:42: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/ffmpeg/libavformat/avformat.h:1689) [-Wdeprecated-declarations]

av_close_input_file( m_pFormatContext );

^

mv -f .deps/ContentDecoder.Tpo .deps/ContentDecoder.Po

 

Now I get another error further down the pipe:

 

gcc -DPACKAGE_NAME=\"electricsheep\" -DPACKAGE_TARNAME=\"electricsheep\" -DPACKAGE_VERSION=\"2.7b33-svn\" -DPACKAGE_STRING=\"electricsheep\ 2.7b33-svn\" -DPACKAGE_BUGREPORT=\"http://code.google.com/p/electricsheep/issues/list\" -DPACKAGE_URL=\"\" -DPACKAGE=\"electricsheep\" -DVERSION=\"2.7b33-svn\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_LIBBOOST_THREAD=1 -DHAVE_LIBBOOST_FILESYSTEM=1 -DHAVE_LIBBOOST_SYSTEM=1 -DHAVE_LIBTINYXML=1 -DHAVE_LIBGLUT=1 -DHAVE_LIBGL=1 -DHAVE_LIBRT=1 -I. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I .. -iquote ../DisplayOutput/OpenGL -I ../Common -I ../DisplayOutput -I ../DisplayOutput/Renderer -I ../DisplayOutput/OpenGL -I ../Common/Math -I ../ContentDecoder -I ../TupleStorage -I ../ContentDownloader -I ../lua5.1/src -I ../Client -I ../Networking -I ../tinyXml    -g -O2 -Wall -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o `test -f '../Common/md5.c' || echo './'`../Common/md5.c

mv -f .deps/md5.Tpo .deps/md5.Po

/bin/sh ../libtool  --tag=CXX   --mode=link g++ -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -I /usr/local/include/GL -I/usr/include/GL  -I/usr/include/libpng15      -lrt -lz -lGL -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2   -o electricsheep Player.o main.o Voting.o Hud.o Upload.o Download.o Networking.o LoadDDS.o Image.o RendererGL.o glx.o ShaderGL.o TextureFlatGL.o wgl.o FontGL.o mgl.o Shader.o Texture.o Font.o TextureFlat.o Renderer.o LoadPNG.o DisplayOutput.o tinyxmlparser.o tinyxml.o tinystr.o tinyxmlerror.o diriterator.o storage.o luastorage.o ContentDecoder.o SheepUploader.o ContentDownloader.o SheepGenerator.o SheepDownloader.o Sheep.o Shepherd.o LuaState.o Common.o AlignedBuffer.o isaac.o pool.o Log.o Rect.o luaxml.o Exception.o md5.o -lboost_system -lboost_thread -lboost_filesystem -lglut -lavcodec   -lavformat   -lswscale   -lavutil   -llua -lm -ldl    -lGLee -lboost_system -lcurl   -lpng15   -lXrender -lX11   -lgtop-2.0 -lglib-2.0   -lXrender -lX11   -lrt -lGL -lglut -ltinyxml -lboost_system -lboost_filesystem -lboost_thread

libtool: link: g++ -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I /usr/local/include/GL -I/usr/include/GL -I/usr/include/libpng15 -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -o electricsheep Player.o main.o Voting.o Hud.o Upload.o Download.o Networking.o LoadDDS.o Image.o RendererGL.o glx.o ShaderGL.o TextureFlatGL.o wgl.o FontGL.o mgl.o Shader.o Texture.o Font.o TextureFlat.o Renderer.o LoadPNG.o DisplayOutput.o tinyxmlparser.o tinyxml.o tinystr.o tinyxmlerror.o diriterator.o storage.o luastorage.o ContentDecoder.o SheepUploader.o ContentDownloader.o SheepGenerator.o SheepDownloader.o Sheep.o Shepherd.o LuaState.o Common.o AlignedBuffer.o isaac.o pool.o Log.o Rect.o luaxml.o Exception.o md5.o  -lz -lavcodec -lavformat -lswscale -lavutil -llua -lm -ldl -lGLee -lcurl -lpng15 -lgtop-2.0 -lglib-2.0 -lXrender -lX11 -lrt -lGL -lglut -ltinyxml -lboost_system -lboost_filesystem -lboost_thread

/bin/ld: cannot find -lGLee

collect2: error: ld returned 1 exit status

make[1]: *** [electricsheep] Error 1

make[1]: Leaving directory `/usr/src/electricsheep-read-only/client_generic/Client'

make: *** [all-recursive] Error 1

 

So, why not, let's reinstall them:

# yum install GLee GLee-devel

Let's try make this time:

Making all in Client

make[1]: Entering directory `/usr/src/electricsheep-read-only/client_generic/Client'

/bin/sh ../libtool  --tag=CXX   --mode=link g++ -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/ffmpeg   -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -I /usr/local/include/GL -I/usr/include/GL  -I/usr/include/libpng15      -lrt -lz -lGL -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2   -o electricsheep Player.o main.o Voting.o Hud.o Upload.o Download.o Networking.o LoadDDS.o Image.o RendererGL.o glx.o ShaderGL.o TextureFlatGL.o wgl.o FontGL.o mgl.o Shader.o Texture.o Font.o TextureFlat.o Renderer.o LoadPNG.o DisplayOutput.o tinyxmlparser.o tinyxml.o tinystr.o tinyxmlerror.o diriterator.o storage.o luastorage.o ContentDecoder.o SheepUploader.o ContentDownloader.o SheepGenerator.o SheepDownloader.o Sheep.o Shepherd.o LuaState.o Common.o AlignedBuffer.o isaac.o pool.o Log.o Rect.o luaxml.o Exception.o md5.o -lboost_system -lboost_thread -lboost_filesystem -lglut -lavcodec   -lavformat   -lswscale   -lavutil   -llua -lm -ldl    -lGLee -lboost_system -lcurl   -lpng15   -lXrender -lX11   -lgtop-2.0 -lglib-2.0   -lXrender -lX11   -lrt -lGL -lglut -ltinyxml -lboost_system -lboost_filesystem -lboost_thread

libtool: link: g++ -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/ffmpeg -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I /usr/local/include/GL -I/usr/include/GL -I/usr/include/libpng15 -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -o electricsheep Player.o main.o Voting.o Hud.o Upload.o Download.o Networking.o LoadDDS.o Image.o RendererGL.o glx.o ShaderGL.o TextureFlatGL.o wgl.o FontGL.o mgl.o Shader.o Texture.o Font.o TextureFlat.o Renderer.o LoadPNG.o DisplayOutput.o tinyxmlparser.o tinyxml.o tinystr.o tinyxmlerror.o diriterator.o storage.o luastorage.o ContentDecoder.o SheepUploader.o ContentDownloader.o SheepGenerator.o SheepDownloader.o Sheep.o Shepherd.o LuaState.o Common.o AlignedBuffer.o isaac.o pool.o Log.o Rect.o luaxml.o Exception.o md5.o  -lz -lavcodec -lavformat -lswscale -lavutil -llua -lm -ldl -lGLee -lcurl -lpng15 -lgtop-2.0 -lglib-2.0 -lXrender -lX11 -lrt -lGL -lglut -ltinyxml -lboost_system -lboost_filesystem -lboost_thread

glx.o: In function `DisplayOutput::CUnixGL::toggleVSync()':

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/glx.cpp:474: undefined reference to `pglXSwapIntervalSGI'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/glx.cpp:472: undefined reference to `pglXSwapIntervalSGI'

ShaderGL.o: In function `DisplayOutput::CShaderGL::Unbind()':

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:82: undefined reference to `pglUseProgramObjectARB'

ShaderGL.o: In function `DisplayOutput::CShaderGL::~CShaderGL()':

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:47: undefined reference to `pglDeleteObjectARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:41: undefined reference to `pglDeleteObjectARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:44: undefined reference to `pglDeleteObjectARB'

ShaderGL.o: In function `DisplayOutput::CShaderGL::Bind()':

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:55: undefined reference to `pglUseProgramObjectARB'

ShaderGL.o: In function `DisplayOutput::CShaderUniformGL::Apply()':

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:419: undefined reference to `pglUniformMatrix4fvARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:416: undefined reference to `pglUniformMatrix3fvARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:413: undefined reference to `pglUniformMatrix2fvARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:410: undefined reference to `pglUniform4ivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:406: undefined reference to `pglUniform3ivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:402: undefined reference to `pglUniform2ivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:398: undefined reference to `pglUniform1ivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:393: undefined reference to `pglUniform4fvARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:390: undefined reference to `pglUniform3fvARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:387: undefined reference to `pglUniform2fvARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:384: undefined reference to `pglUniform1fvARB'

ShaderGL.o: In function `DisplayOutput::CShaderUniformGL::SetData(void*, unsigned int)':

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:314: undefined reference to `pglUniform1fvARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:318: undefined reference to `pglUniform1ivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:319: undefined reference to `pglUniform2ivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:320: undefined reference to `pglUniform3ivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:315: undefined reference to `pglUniform2fvARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:316: undefined reference to `pglUniform3fvARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:317: undefined reference to `pglUniform4fvARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:321: undefined reference to `pglUniform4ivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:326: undefined reference to `pglUniformMatrix2fvARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:327: undefined reference to `pglUniformMatrix3fvARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:328: undefined reference to `pglUniformMatrix4fvARB'

ShaderGL.o: In function `DisplayOutput::CShaderGL::Build(char const*, char const*)':

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:128: undefined reference to `pglCreateProgramObjectARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:133: undefined reference to `pglCreateShaderObjectARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:136: undefined reference to `pglShaderSourceARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:137: undefined reference to `pglCompileShaderARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:138: undefined reference to `pglGetObjectParameterivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:140: undefined reference to `pglAttachObjectARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:144: undefined reference to `pglGetInfoLogARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:154: undefined reference to `pglCreateShaderObjectARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:157: undefined reference to `pglShaderSourceARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:158: undefined reference to `pglCompileShaderARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:159: undefined reference to `pglGetObjectParameterivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:161: undefined reference to `pglAttachObjectARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:165: undefined reference to `pglGetInfoLogARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:174: undefined reference to `pglLinkProgramARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:175: undefined reference to `pglGetObjectParameterivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:176: undefined reference to `pglGetInfoLogARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:184: undefined reference to `pglUseProgramObjectARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:187: undefined reference to `pglGetObjectParameterivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:188: undefined reference to `pglGetObjectParameterivARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:198: undefined reference to `pglGetActiveUniformARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:203: undefined reference to `pglGetUniformLocationARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:209: undefined reference to `pglUniform1i'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:255: undefined reference to `pglGetUniformLocationARB'

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/ShaderGL.cpp:291: undefined reference to `pglUseProgram'

TextureFlatGL.o: In function `DisplayOutput::CTextureFlatGL::Upload(Base::CRefCountPtr<DisplayOutput::CImage, Base::CRefCountRep<DisplayOutput::CImage>, DisplayOutput::CImage*>)':

/usr/src/electricsheep-read-only/client_generic/Client/../DisplayOutput/OpenGL/TextureFlatGL.cpp:187: undefined reference to `pglCompressedTexImage2DARB'

collect2: error: ld returned 1 exit status

make[1]: *** [electricsheep] Error 1

make[1]: Leaving directory `/usr/src/electricsheep-read-only/client_generic/Client'

make: *** [all-recursive] Error 1

 

Ruh roh!

Problems with the client source. Debian Squeeze x64 with Xfce.

Used to have this a while back and I can't remember how I got it to work.  Debian x64 using Xfce desktop.  This is what I get when I do the make or sudo make install part of the third step:

lua_playlist.h: In member function ‘void ContentDecoder::CLuaPlaylist::DeduceGraphnessFromFilenameAndQueue(const boost::filesystem::path&, const std::string&)’:
lua_playlist.h:231: error: ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ has no member named ‘string’

Linux Mint Debian (LMDE) UP6 kills the sheep

Update Pack 6 for LMDE rolled out a couple of days ago and it includes the deb-multimedia.org updates for ffmpeg that killed the sheep in my previous comment (problems finding the avi codec). Even building from source doesn't help so should I just forget about running my favorite screen saver? I'm a very unhappy user with the silence my requests for assistance have been greeted with.

Linux Mint Debian (LMDE) UP6 kills the sheep

Have you tried without using packages from deb-multimedia.org?

I run Debian testing and had similar issues a couple of months ago.  Once I removed all the deb-multimedia.org packages and reinstalled electricsheep, the Debian package worked.

It seems there may be something funky between Debian's avcodec and dmo's ffmpeg.

sorry wish i could help but i

sorry wish i could help but i don't have a recent linux machine let alone that distro.

Install Troubles

Hello,

 

Please forgive me if this is a stupid question, but I'm on Ubuntu 12.04 and I've followed the instructions up to number 3. The source checks out, but then every time I do ./autogen.sh, I get a file not found error, and the ./configure, make and install commands just keep installing flam3.

 

What gives?

El_matt: You must be in the

El_matt: You must be in the wrong directory.

You should have made own directories for wxWidgets, libflam (and generally for anything as complex as sources) (usually extracting the archive or a chekout makes one for you, but not always). The instructions don't mention this since they expect you are familiar with shells and basic file manipulations. If you are not, don't install and / or compile from source anything! Installing requires root access, and if you don't know what you are doing, you can really screw up your linux installation (as making a stupid typo and deleting your /root or something).

In any case, after making the checkout in step 3. (according to instructions), you should have a directory named electricsheep-read-only with a readme file and a directory called client_generic. You need to run the commands in that directory.

.dekstop file for KDE4 outdated...

Hi,

 

I updated the ebuild for Gentoo and installed electricsheep. See https://bugs.gentoo.org/show_bug.cgi?id=339463 for the ebuild.

However, the desktop file in the repository is outdated. KDE4 gives window-id in decimal, which electricsheep does not understand (or, something else is wrong). So, electricsheep is currently unusable via KDE4:s screensaver interface. I was able to run it via xscreensaver. The only difference I could figure out between xscreensaver and KDE4 screensaver implementation is that xscreensaver gives the window-id to electricsheep in hexadecimal (for the preview window) and runs electricsheep without parameters when it's supposed to kick in. Alas, editing electrichseep.desktop for KDE4 so that there are no parameters there, it still doesn't work (only blank screen is shown). So I'm not absolutely sure what is happening here. Maybe one is more lucky if using Gnome.

Also, in electricsheep-preferences, typing anything into the user login fields, causes the preferences to crash with a segmentation fault. So I can't log in. Otherwise everything is working OK!

Hope this helps some users and / or development!

cannot compile electricsheep on Fedora 17

i can`t build Electric Sheep on my Fedora 17: it seems that something goes wrong with FFmpeg 0.10.5-1

There is a log

 

Electric Sheep stopped working

I'm running electricsheep 2.7~b12+svn20091224-1.1 on Linux Mint Debian Edition KDE with UP5 and something has broken my sheep. I don't know which updates may have broken things (I know I got an ffmpeg update from deb-multimedia) but now when I try to start electricsheep as my screensaver nothing seems to happen. I tried running it from a terminal as a standalone app and I got a whole host of errors.

$  electricsheep [NULL @ 0x834d160] Value 4707126720094797824.000000 for parameter 'probesize' out of range [NULL @ 0x834d160] Value 4707126720094797824.000000 for parameter 'analyzeduration' out of range [NULL @ 0x834d160] Value 4697254411347427328.000000 for parameter 'indexmem' out of range [NULL @ 0x834d160] Value 4703785510416416768.000000 for parameter 'rtbufsize' out of range [NULL @ 0x834d160] Value -4616189618054758400.000000 for parameter 'fpsprobesize' out of range [NULL @ 0x834d160] Value 4607182418800017408.000000 for parameter 'f_err_detect' out of range [NULL @ 0x834d160] Value 4607182418800017408.000000 for parameter 'err_detect' out of range [AVI demuxer @ 0x834cc40] Value 4607182418800017408.000000 for parameter 'use_odml' out of range [NULL @ 0x834d660] Value 4686111960511545344.000000 for parameter 'b' out of range [NULL @ 0x834d660] Value 4683532506232782848.000000 for parameter 'ab' out of range [NULL @ 0x834d660] Value 4705844345939427328.000000 for parameter 'bt' out of range [NULL @ 0x834d660] Value 4617315517961601024.000000 for parameter 'me_method' out of range [NULL @ 0x834d660] Value 4622945017495814144.000000 for parameter 'g' out of range [NULL @ 0x834d660] Value 4611686018427387904.000000 for parameter 'qmin' out of range [NULL @ 0x834d660] Value 4629418941960159232.000000 for parameter 'qmax' out of range [NULL @ 0x834d660] Value 4613937818241073152.000000 for parameter 'qdiff' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'wpredp' out of range [NULL @ 0x834d660] Value 4607182418800017408.000000 for parameter 'bug' out of range [NULL @ 0x834d660] Value 4607182418800017408.000000 for parameter 'er' out of range [NULL @ 0x834d660] Value 4607182418800017408.000000 for parameter 'err_detect' out of range [NULL @ 0x834d660] Value 4613937818241073152.000000 for parameter 'ec' out of range [NULL @ 0x834d660] Value 4620693217682128896.000000 for parameter 'ildctcmp' out of range [NULL @ 0x834d660] Value 4620693217682128896.000000 for parameter 'subq' out of range [NULL @ 0x834d660] Value 4696837138094751744.000000 for parameter 'ibias' out of range [NULL @ 0x834d660] Value 4696837138094751744.000000 for parameter 'pbias' out of range [NULL @ 0x834d660] Value 4642507528377204736.000000 for parameter 'lmin' out of range [NULL @ 0x834d660] Value 4660262442142531584.000000 for parameter 'lmax' out of range [NULL @ 0x834d660] Value 4696130710463840256.000000 for parameter 'flags2' out of range [NULL @ 0x834d660] Value 4607182418800017408.000000 for parameter 'threads' out of range [NULL @ 0x834d660] Value 4620693217682128896.000000 for parameter 'nssew' out of range [NULL @ 0x834d660] Value -4586705114244317184.000000 for parameter 'profile' out of range [NULL @ 0x834d660] Value -4586705114244317184.000000 for parameter 'level' out of range [NULL @ 0x834d660] Value 4623507967449235456.000000 for parameter 'skipcmp' out of range [NULL @ 0x834d660] Value 4642507528377204736.000000 for parameter 'mblmin' out of range [NULL @ 0x834d660] Value 4660262442142531584.000000 for parameter 'mblmax' out of range [NULL @ 0x834d660] Value 4643211215818981376.000000 for parameter 'mepc' out of range [NULL @ 0x834d660] Value 4607182418800017408.000000 for parameter 'bidir_refine' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'cqp' out of range [NULL @ 0x834d660] Value 4627730092099895296.000000 for parameter 'keyint_min' out of range [NULL @ 0x834d660] Value 4607182418800017408.000000 for parameter 'refs' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'directpred' out of range [NULL @ 0x834d660] Value 4618441417868443648.000000 for parameter 'sc_factor' out of range [NULL @ 0x834d660] Value 4643211215818981376.000000 for parameter 'mv0_threshold' out of range [NULL @ 0x834d660] Value 4630826316843712512.000000 for parameter 'b_sensitivity' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'compression_level' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'min_prediction_order' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'max_prediction_order' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'prediction_order_method' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'min_partition_order' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'max_partition_order' out of range [NULL @ 0x834d660] Value 4607182418800017408.000000 for parameter 'ticks_per_frame' out of range [NULL @ 0x834d660] Value 4611686018427387904.000000 for parameter 'color_primaries' out of range [NULL @ 0x834d660] Value 4611686018427387904.000000 for parameter 'color_trc' out of range [NULL @ 0x834d660] Value 4611686018427387904.000000 for parameter 'colorspace' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'aq_mode' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'rc_lookahead' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'lpc_type' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'lpc_passes' out of range [NULL @ 0x834d660] Value 4613937818241073152.000000 for parameter 'thread_type' out of range [NULL @ 0x834d660] Value -4616189618054758400.000000 for parameter 'request_sample_fmt' out of range [avi @ 0x834d160] decoding for stream 0 failed [avi @ 0x834d160] Could not find codec parameters (Video: h264 (h264 / 0x34363268), 800x592) /home/[user]/.electricsheep/00244=59805=59202=59565.avi: could not find codec parameters
--- I tried purging electricsheep and flam3 from my syetm and reinstalling them but I still end up with the errors.

I finally tried building

I finally tried building electricsheep from source to see if I could get it working and ended up getting errors there as well. It looks like the error came up when dealing with /ContentDecoder/ContentDecoder.cpp. The error I saw in my terminal is:

 

-I/usr/include/libpng12   -DDEB_HOST_MULTIARCH=\"i386-linux-gnu\" -I/usr/include/lua5.1     -lrt -lz -lGL -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -MT ContentDecoder.o -MD -MP -MF .deps/ContentDecoder.Tpo -c -o ContentDecoder.o `test -f '../ContentDecoder/ContentDecoder.cpp' || echo './'`../ContentDecoder/ContentDecoder.cpp

../ContentDecoder/ContentDecoder.cpp: In member function ‘void ContentDecoder::CContentDecoder::Destroy()’:

../ContentDecoder/ContentDecoder.cpp:115:9: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1622) [-Wdeprecated-declarations]

../ContentDecoder/ContentDecoder.cpp:115:47: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1622) [-Wdeprecated-declarations]

../ContentDecoder/ContentDecoder.cpp: In member function ‘bool ContentDecoder::CContentDecoder::Open(const string&)’:

../ContentDecoder/ContentDecoder.cpp:159:89: error: ‘av_open_input_file’ was not declared in this scope

../ContentDecoder/ContentDecoder.cpp:169:17: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1446) [-Wdeprecated-declarations]

../ContentDecoder/ContentDecoder.cpp:169:55: warning: ‘int av_find_stream_info(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1446) [-Wdeprecated-declarations]

../ContentDecoder/ContentDecoder.cpp:222:20: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3569) [-Wdeprecated-declarations]

../ContentDecoder/ContentDecoder.cpp:222:70: warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3569) [-Wdeprecated-declarations]

make[1]: *** [ContentDecoder.o] Error 1

make[1]: Leaving directory `/home/bpeng/Installers/Electric_Sheep/electricsheep-read-only/client_generic/Client'

make: *** [all-recursive] Error 1


Any ideas what I should do? The errors seems to have started when I upgraded ffmpeg to version 7:1.0-dmo2 from deb-multimedia.org but I'm not sure if rolling back to what's in the mint/debian repos will solve my problem. bAll I know is that I really miss running electricsheep.

 

Linux versions deprecated?

The client source shows electricsheep-2.7b30a is deprecated.  ???

Nevermind, I see the svn.

yeah, it built on Ubuntu

yeah, it built on Ubuntu 12.04 LTS.

Thanks spot and all contributors for this wonderful piece of art.

electricsheep-preferences works?

I get

 

Pango:ERROR:/build/buildd/pango1.0-1.30.0/./pango/pango-layout.c:3801:pango_layout_check_lines: assertion failed: (!layout->log_attrs)

Aborted (SIGABRT) (core dumped)

when running electricsheep-preferences

Ubuntu 12.04


 


User login

Login/Register