LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2014, 10:40 AM   #1
jteuban
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Rep: Reputation: Disabled
cannot get pianobar 2014.6.08 to compile in Mint


Hello, I am trying to install pianobar. I am installing from source. I get the error:

src/player.c:59:36: fatal error: libavfilter/buffersink.h: No such file or directory
#include <libavfilter/buffersink.h>
^
compilation terminated.
CC src/player.c
src/player.c:59:36: fatal error: libavfilter/buffersink.h: No such file or directory
#include <libavfilter/buffersink.h>
^
compilation terminated.
make: *** [src/player.o] Error 1

I have ffmpeg installed (from source) and all libav packages including: extras, devs. I am wits end with this. I have searched countless forums and have not found an answer. Does anyone have an answer to this?
 
Old 07-22-2014, 09:24 PM   #2
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Manjaro, Debian64 stable
Posts: 528

Rep: Reputation: 167Reputation: 167
Programming isn't my specialty but maybe I can get the ball rolling.

Which version of Mint are you using?

Is pianobar not available in the Mint repo? It appears it's available in Debian testing, but the version is older than what you're trying to build.
https://packages.debian.org/search?s...words=pianobar

If you're absolutely stuck, one thing I'd try is building from the source code that's presently in their git repo.
 
Old 07-22-2014, 10:50 PM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,155
Blog Entries: 21

Rep: Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484
Code:
$ apt-cache policy build-essential
build-essential:
  Installed: 11.5
  Candidate: 11.5
  Version table:
 *** 11.5 0
        500 http://ftp.us.debian.org/debian/ wheezy/main i386 Packages
        100 /var/lib/dpkg/status
Do you have build-essential installed?

Also make sure
make
libevent-pthreads-2.0-5
libao-dev
libgnutls-dev
libmad0-dev
libfaad-dev
libjson0-dev
pkg-config
libavcodec-dev
libavcodec-extra
libavformat-dev
libavutil-dev (do not install extras. It will remove too many needed things in media)
plus your error message states libavfilter-dev and extras

Quote:
fatal error: libavfilter/buffersink.h: No such file or directory
Code:
$ locate libavfilter
/usr/lib/i386-linux-gnu/libavfilter.so.2
/usr/lib/i386-linux-gnu/libavfilter.so.2.77.100
/usr/lib/i386-linux-gnu/libavfilter.so.3
/usr/lib/i386-linux-gnu/libavfilter.so.3.17.100
/usr/lib/i386-linux-gnu/libavfilter.so.4
/usr/lib/i386-linux-gnu/libavfilter.so.4.2.0
/usr/lib/i386-linux-gnu/i686/cmov/libavfilter.so.2
/usr/lib/i386-linux-gnu/i686/cmov/libavfilter.so.2.77.100
/usr/lib/i386-linux-gnu/i686/cmov/libavfilter.so.3
/usr/lib/i386-linux-gnu/i686/cmov/libavfilter.so.3.17.100
/usr/lib/i386-linux-gnu/i686/cmov/libavfilter.so.4
/usr/lib/i386-linux-gnu/i686/cmov/libavfilter.so.4.2.0
/usr/share/doc/libavfilter2
/usr/share/doc/libavfilter3
/usr/share/doc/libavfilter4
/usr/share/doc/libavfilter2/changelog.Debian.gz
/usr/share/doc/libavfilter2/changelog.gz
/usr/share/doc/libavfilter2/copyright
/usr/share/doc/libavfilter3/changelog.Debian.gz
/usr/share/doc/libavfilter3/changelog.gz
/usr/share/doc/libavfilter3/copyright
/usr/share/doc/libavfilter4/changelog.Debian.gz
/usr/share/doc/libavfilter4/changelog.gz
/usr/share/doc/libavfilter4/copyright
/usr/share/lintian/overrides/libavfilter4
/var/cache/apt/archives/libavfilter2_6%3a0.8.12-1_i386.deb
/var/cache/apt/archives/libavfilter2_7%3a0.11.2-dmo1_i386.deb
/var/cache/apt/archives/libavfilter3_8%3a1.0.9-dmo1_i386.deb
/var/cache/apt/archives/libavfilter4_6%3a10.1-1~bpo70+1_i386.deb
/var/lib/dpkg/info/libavfilter2:i386.list
/var/lib/dpkg/info/libavfilter2:i386.md5sums
/var/lib/dpkg/info/libavfilter2:i386.postinst
/var/lib/dpkg/info/libavfilter2:i386.postrm
/var/lib/dpkg/info/libavfilter2:i386.shlibs
/var/lib/dpkg/info/libavfilter3:i386.list
/var/lib/dpkg/info/libavfilter3:i386.md5sums
/var/lib/dpkg/info/libavfilter3:i386.postinst
/var/lib/dpkg/info/libavfilter3:i386.postrm
/var/lib/dpkg/info/libavfilter3:i386.shlibs
/var/lib/dpkg/info/libavfilter4:i386.list
/var/lib/dpkg/info/libavfilter4:i386.md5sums
/var/lib/dpkg/info/libavfilter4:i386.postinst
/var/lib/dpkg/info/libavfilter4:i386.postrm
/var/lib/dpkg/info/libavfilter4:i386.shlib
are installed also before running

Code:
make clean && make && make install
in terminal

I run Pithos out of my package manager on

Code:
$ inxi -S
System:    Host: biker Kernel: 3.12-0.bpo.1-686-pae i686 (32 bit) 
           Desktop: Xfce 4.10.2 Distro: MX-14.1.1 Symbiosis 18 June 2014 
harry@biker:~
$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list.d/antix.list
           deb http://antix.daveserver.info/stable/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/debian.list
           deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
           deb http://security.debian.org/ wheezy/updates main contrib non-free
           deb http://ftp.us.debian.org/debian/ wheezy-backports main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/mepis.list
           deb http://main.mepis-deb.org/mepiscr/xfce/ xfce-4.10 main
           deb http://main.mepis-deb.org/mepiscr/repo/ mepis12cr main non-free
I used to compile pianobar for puppy linux long ago. But pandora kept breaking it so I gave up on it.

Code:
$ apt-cache policy pithos
pithos:
  Installed: 0.3.17-1
  Candidate: 0.3.17-1
  Version table:
 *** 0.3.17-1 0
        500 http://ftp.us.debian.org/debian/ wheezy/main i386 Packages
        100 /var/lib/dpkg/status
http://postmyimage.com/img2/951_pithos.png

As you can see from the screeny. Pithos works for me from the package manager.
It should work in Mint also.
 
Old 07-23-2014, 04:51 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
src/player.c:59:36: fatal error: libavfilter/buffersink.h: No such file or directory
You need to install the libavfilter-dev package or something with a similar name. I can't be more precise because I don't see what distro you are using.
jdk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pianobar on the Roku? linuxhippy Linux - Software 0 01-26-2014 05:44 AM
LXer: FOSDEM 2014 Brussels / 1 & 2 February 2014 LXer Syndicated Linux News 0 11-29-2013 05:10 PM
[SOLVED] Pianobar [Pandora Internet Radio CLI client] installation woes on Fedora 17 dannysepley Linux - Software 2 07-03-2012 08:11 PM
LXer: Pianobar - Console client for the personalized web radio pandora LXer Syndicated Linux News 0 04-18-2011 10:50 PM
[SOLVED] Issues with eventcmd in pianobar (console based pandora client) anon209 Linux - Software 1 02-05-2011 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration