Comskip Support Forum

Comskip is a free commercial detector, browse the forum for more information
It is currently Mon Aug 19, 2019 6:23 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Linux noob can't compile
PostPosted: Tue Sep 13, 2016 2:32 am 
Offline

Joined: Tue Sep 13, 2016 2:17 am
Posts: 19
I'm trying to use comskip without wine. (Overkill for one app)

Going through the instructions, with sudo. I cloned to the /opt/ directory.

Code:
$ add-apt-repository -y ppa:mc3man/trusty-media
$ apt-get update

$ apt-get install -y git build-essential libargtable2-dev libsdl1.2-dev
$ apt-get install -y ffmpeg libva-dev libsoxr-dev libvorbis-dev libbz2-dev zlib1g-dev libxvidcore-dev libvpx-dev libx264-dev libx265-dev libspeex-dev libfdk-aac-dev libvorbisenc2 libopus-dev libmp3lame-dev libdca-dev libfaac-dev libopencore-amrnb-dev libvo-aacenc-dev libopencore-amrwb-dev

$ git clone https://github.com/foo86/dcadec
$ cd dcadec
$ make install


Then, I followed these instructions, also cloning to /opt/
Code:
$ git clone git://github.com/erikkaashoek/Comskip
$ cd Comskip
$ ./autogen.sh
$ ./configure
$ make


When I get to autogen, I get the error
"unable to locate gnu autoconf"

Any ideas?


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 13, 2016 7:30 am 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3285
Do you have autoconf installed?


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 13, 2016 9:40 am 
Offline

Joined: Tue Sep 13, 2016 2:17 am
Posts: 19
Nope. I'm a bit inexperienced with compiling.

when I run make, I get the folllowing:
Code:
gcc -g -O2 -mtune=generic    -o comskip comskip-comskip.o comskip-mpeg2dec.o comskip-platform.o comskip-video_out_dx.o ccextratorwin/comskip-608.o ccextratorwin/comskip-ccextractor.o ccextratorwin/comskip-encoding.o ccextratorwin/comskip-general_loop.o ccextratorwin/comskip-myth.o -largtable2   -pthread -L/opt/ffmpeg/lib -L/build/ffmpeg-zTq240/ffmpeg-3.1.1~trusty/build_libs/lib -lavformat -lavcodec -lXv -lXext -lvdpau -lva-drm -lva-x11 -lva -lxcb-shm -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb -lX11 -lasound -lSDL -lxvidcore -lx265 -lx264 -lpthread -lvpx -lvorbisenc -lvorbis -logg -lvidstab -lspeex -lpulse -lopus -lopencore-amrwb -lopencore-amrnb -lmp3lame -lfreetype -lfdk-aac -lass -lgnutls -lbz2 -lz -ldl -lswresample -lsoxr -lavutil -lm    -lpthread -lm
/usr/bin/ld: cannot find -lXv
/usr/bin/ld: cannot find -lvdpau
/usr/bin/ld: cannot find -lxcb-shm
collect2: error: ld returned 1 exit status
make: *** [comskip] Error 1



Got the following problem beat by runnnig export PKG_CONFIG_PATH=/opt/ffmpeg/lib/pkgconfig.


Quote:
checking for ffmpeg... no
configure: error: Package requirements (libavutil >= 54.7 libavformat >= 56.4 libavcodec >= 56.1) were not met:

No package 'libavutil' found
No package 'libavformat' found
No package 'libavcodec' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ffmpeg_CFLAGS
and ffmpeg_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
root:/opt/Comskip# make
make: *** No targets specified and no makefile found. Stop.


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 13, 2016 12:24 pm 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3285
You first have to install autoconf and ffmpeg-dev
If you don't know how to do that use google or else you may not be the right person to compile from scratch


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 13, 2016 1:07 pm 
Offline

Joined: Tue Sep 13, 2016 2:17 am
Posts: 19
erik wrote:
You first have to install autoconf and ffmpeg-dev
If you don't know how to do that use google or else you may not be the right person to compile from scratch


I didn't know I needed ffmpeg-dev. The Trusty docs just mention ffmpeg

Quote:
apt-get install -y ffmpeg....


I'll try again now


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 13, 2016 1:21 pm 
Offline

Joined: Tue Sep 13, 2016 2:17 am
Posts: 19
I followed the instructions, but I'm still getting the error:

Quote:
/usr/bin/ld: cannot find -lXv
/usr/bin/ld: cannot find -lvdpau
/usr/bin/ld: cannot find -lxcb-shm
collect2: error: ld returned 1 exit status


I checked and /usr/bin/ld exists

FFmpeg
libargtable2
autoconf, automake, and libtool are installed

I'm not quite an expert, but I'm a bit more than a rookie with linux. But I don't have a lot of compling experience.


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 13, 2016 1:53 pm 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3285
Suggest you ask for further help on github


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group