You are not logged in.

#1 2012-02-01 14:21:18

chessmaster
Member
From: Dover,DE
Registered: 2011-12-10
Posts: 30

(Solved)Error compiling mplayer2

Hello,

I have a error when compiling mplayer2. "Unable to find development files for some of the libav libarires." I have relentlesy seach the internet for the development files. Even downloaded libav but, was unable to compile that as well. I'm compiling from source because, I'm configuring it for my hardware. The binaries and aur don't sit to well for my hardware. So, I have to use the source. Thanks for the help!!

Last edited by chessmaster (2012-02-01 16:31:39)


When you see a good move, wait — look for a better one.

Offline

#2 2012-02-01 14:24:01

chessmaster
Member
From: Dover,DE
Registered: 2011-12-10
Posts: 30

Re: (Solved)Error compiling mplayer2

 Checking for Libav (libavutil libavcodec libavformat libswscale libpostproc) ... 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 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 libswscale was not found in the pkg-config search path.
Perhaps you should add the directory containing `libswscale.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libswscale' found
Package libpostproc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpostproc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpostproc' found

Error: Unable to find development files for some of the Libav libraries above. Aborting. If you really mean to compile without Libav support use --disable-libav.

Apologize for the incomplete post.


When you see a good move, wait — look for a better one.

Offline

#3 2012-02-01 14:33:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: (Solved)Error compiling mplayer2

Can you post the PKGBUILD you're using?

Last edited by karol (2012-02-01 14:34:03)

Offline

#4 2012-02-01 15:05:12

chessmaster
Member
From: Dover,DE
Registered: 2011-12-10
Posts: 30

Re: (Solved)Error compiling mplayer2

# Maintainer: (orphan)
# Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>

pkgname=libav-git
pkgver=20110819
pkgrel=1
pkgdesc="FFmpeg fork"
arch=('i686' 'x86_64')
url="http://libav.org/"
license=('GPL')
depends=('alsa-lib' 'bzip2' 'faac' 'lame' 'libtheora' 'libva' 'libvdpau' 'libvorbis' 'libvpx' 'libxfixes' 'sdl' 'x264-git' 'zlib')
makedepends=('git' 'yasm')
conflicts=('ffmpeg')
provides=("ffmpeg=$pkgver")

_gitroot="git://git.libav.org/libav.git"
_gitname="libav"

build() {
  cd $srcdir
  msg "Connecting to the Git repository..."
  
  if [[ -d $srcdir/$_gitname ]] ; then
    cd $_gitname
    git pull origin
    msg "The local files are updated."
  else
    git clone $_gitroot
  fi
  
  msg "Starting make..."
  
  rm -rf $srcdir/$_gitname-build
  git clone $srcdir/$_gitname $srcdir/$_gitname-build
  
  cd $srcdir/$_gitname-build

  ./configure \
    --prefix=/usr \
    --enable-gpl \
    --enable-libfaac \
    --enable-libmp3lame \
    --enable-libtheora \
    --enable-libvorbis \
    --enable-libvpx \
    --enable-libx264 \
    --enable-nonfree \
    --enable-postproc \
    --enable-vaapi \
    --enable-vdpau \
    --enable-x11grab
 
  make
  make doc/av{conv,play,probe,server}.1
}

package() {
  cd $srcdir/$_gitname-build  
  make DESTDIR="$pkgdir" install install-man
  rm -rf $srcdir/$_gitname-build
}

I forgot to install compiler tools(make,gcc,and g++). Hopefully that's my problem.

Last edited by chessmaster (2012-02-01 15:06:21)


When you see a good move, wait — look for a better one.

Offline

#5 2012-02-01 15:55:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: (Solved)Error compiling mplayer2

You should have the whole base and base-devel groups installed. Packages provided by these groups are not mentioned in depends / makedepends.

Offline

#6 2012-02-01 16:32:32

chessmaster
Member
From: Dover,DE
Registered: 2011-12-10
Posts: 30

Re: (Solved)Error compiling mplayer2

Forgot to install compiler tools..compiled as expected.


When you see a good move, wait — look for a better one.

Offline

Board footer

Powered by FluxBB