Members Login
Username 
 
Password 
    Remember Me  
 

Topic: Debian Jessie

Post Info
Newbie
Status: Offline
Posts: 3
Date:
Debian Jessie
Permalink  
 

Hi all,

 

I love electricsheep, and I'm trying to install from source on my Debian machine that is sync'd to the testing repo.

 

I followed the instruction for installing from source.  I hit an error that I didn't understand when I finally made it to the "make" step:

 

Tzadiel@debTesting:~/electricsheep-master/client_generic$ make

Making all in Client

make[1]: Entering directory '/home/Tzadiel/electricsheep-master/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 -DUSE_NEW_FFMPEG_API=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/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libgtop-2.0  -I/usr/include/lua5.1     -I/usr/include/libpng12  -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 ‘bool ContentDecoder::CContentDecoder::Open(ContentDecoder::sOpenVideoInfo*)’:

../ContentDecoder/ContentDecoder.cpp:240:131: error: ‘AVStream’ has no member named ‘r_frame_rate’

   ovi->m_totalFrameCount = uint32(((((double)ovi->m_pFormatContext->duration/(double)AV_TIME_BASE)) / av_q2d(ovi->m_pVideoStream->r_frame_rate) + .5));

                                                                                                                                   ^

Makefile:1006: recipe for target 'ContentDecoder.o' failed

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

make[1]: Leaving directory '/home/Tzadiel/electricsheep-master/client_generic/Client'

Makefile:501: recipe for target 'all-recursive' failed

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



__________________
Member
Status: Offline
Posts: 12
Date:
Permalink  
 
I don't know about that error but just make sure you are using the latest source from github, not code.google.com, the project just recently moved and the source has changed.

__________________
Newbie
Status: Offline
Posts: 1
Date:
Permalink  
 

I can confirm this. Running up-to-date Debian unstable and compiling latest electricsheep source fails with exact same error.



-- Edited by taavi on Saturday 6th of June 2015 02:30:50 PM

__________________
Newbie
Status: Offline
Posts: 3
Date:
Permalink  
 

You're right, I do have the wrong/old source for electricsheep; I will update it and try again as soon as I can and report back.



__________________
Newbie
Status: Offline
Posts: 1
Date:
Permalink  
 
This bug is documented here:
github.com/scottdraves/electricsheep/issues/11

Workaround:
In ContentDecoder/ContentDecoder.cpp replace the two occurrences of
'r_frame_rate' with 'avg_frame_rate'

Reference:
wiki.libav.org/Migration/10

__________________
Member
Status: Offline
Posts: 12
Date:
Permalink  
 
fixed in source.

__________________
Newbie
Status: Offline
Posts: 3
Date:
Permalink  
 

I can confirm that after cloning the flam3 and electric sheep git repositories and following the Linux build instructions, I have successfully compiled and can run electric sheep.  

 

There was some issue with autogen and flam3 where the autoconf version didn't match.  I googled through it and a review of my history shows I use the commands (maybe not all successfully or to effect)

aclocal,automake,autoconf, and libtoolize

and then was able to proceed with ./configure.



__________________
Member
Status: Offline
Posts: 11
Date:
Permalink  
 
Thanks for Nice and Informative Post. This article is really contains lot more information about This Topic.

__________________

basketball games

 
Page 1 of 1  sorted by
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard