Skip to content

PianoBar Install Part Fails #53

@earlgrei

Description

@earlgrei

I know that this is more directly related to Pianobar but since it causes your installer to fail I thought I would pass the issue in here. So when doing the git clone of Pianobar and it runs the build the Pianobar build fails with

Makefile:103: *** Please choose a valid libav implementation by setting LIBAV.  Stop.

If I open the Makefile in Pianobar and set the value in there no matter what I set it to nothing works. IT will fail as below. Let me know if you have any ideas.

pi@raspberrypi ~/pianobar $ make
Makefile:103: *** Please choose a valid libav implementation by setting LIBAV.  Stop.
pi@raspberrypi ~/pianobar $ nano Makefile
pi@raspberrypi ~/pianobar $ make
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavcodec' found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavformat.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavformat' found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavutil' found
Package libavfilter was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavfilter.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavfilter' found
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavcodec' found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavformat.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavformat' found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavutil' found
Package libavfilter was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavfilter.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavfilter' found
src/player.h:34:34: fatal error: libavfilter/avfilter.h: No such file or directory
compilation terminated.
src/player.h:34:34: fatal error: libavfilter/avfilter.h: No such file or directory
compilation terminated.
src/player.h:34:34: fatal error: libavfilter/avfilter.h: No such file or directory
compilation terminated.
src/player.h:34:34: fatal error: libavfilter/avfilter.h: No such file or directory
compilation terminated.
src/player.c:35:32: fatal error: libavcodec/avcodec.h: No such file or directory
compilation terminated.
src/player.h:34:34: fatal error: libavfilter/avfilter.h: No such file or directory
compilation terminated.
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavcodec' found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavformat.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavformat' found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavutil' found
Package libavfilter was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavfilter.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavfilter' found
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavcodec' found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavformat.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavformat' found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavutil.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavutil' found
Package libavfilter was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavfilter.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavfilter' found
src/player.h:34:34: fatal error: libavfilter/avfilter.h: No such file or directory
compilation terminated.
src/player.h:34:34: fatal error: libavfilter/avfilter.h: No such file or directory
compilation terminated.
src/player.h:34:34: fatal error: libavfilter/avfilter.h: No such file or directory
compilation terminated.
src/player.h:34:34: fatal error: libavfilter/avfilter.h: No such file or directory
compilation terminated.
src/player.c:35:32: fatal error: libavcodec/avcodec.h: No such file or directory
compilation terminated.
src/player.h:34:34: fatal error: libavfilter/avfilter.h: No such file or directory
compilation terminated.
    CC  src/main.c
In file included from src/main.h:30:0,
                 from src/main.c:57:
src/player.h:34:34: fatal error: libavfilter/avfilter.h: No such file or directory
compilation terminated.
make: *** [src/main.o] Error 1
pi@raspberrypi ~/pianobar $

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions