View Single Post
  #3   (View Single Post)  
Old 17th August 2011
map7 map7 is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 75
Default

Ok, so it's ffmpeg's fault this is not compiling

Here is my output of ldd:
# ldd /usr/local/bin/ffmpeg
/usr/local/bin/ffmpeg:
liba52.so.0 => /usr/local/lib/liba52.so.0 (0x2808e000)
libswscale.so.1 => /usr/local/lib/libswscale.so.1 (0x2809b000)
libavdevice.so.1 => /usr/local/lib/libavdevice.so.1 (0x280c2000)
libavformat.so.1 => /usr/local/lib/libavformat.so.1 (0x280c6000)
libavcodec.so.1 => /usr/local/lib/libavcodec.so.1 (0x28166000)
libavutil.so.1 => /usr/local/lib/libavutil.so.1 (0x28778000)
libm.so.5 => /lib/libm.so.5 (0x28787000)
libthr.so.3 => /lib/libthr.so.3 (0x2879c000)
libc.so.7 => /lib/libc.so.7 (0x287af000)
libz.so.4 => /lib/libz.so.4 (0x288ab000)
libbz2.so.3 => /usr/lib/libbz2.so.3 (0x288bd000)
libtheora.so.0 => /usr/local/lib/libtheora.so.0 (0x288cd000)
libvorbisenc.so.2 => /usr/local/lib/libvorbisenc.so.2 (0x28918000)
libvorbis.so.4 => /usr/local/lib/libvorbis.so.4 (0x28a11000)
libx264.so.50 => not found (0x0)
libogg.so.5 => /usr/local/lib/libogg.so.5 (0x28a39000)

If I compile musicpd without ffmpeg it compiles fine.

Now if I try and recompile ffmpeg I get this error:
Code:
e-2.8.4/Source   -I/usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/ports/devel/cmake/work/cmake-2.8.4/Source/kwsys/SystemTools.cxx -o SystemTools.o
In file included from /usr/include/c++/4.2/backward/strstream:51,
                 from /usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk/cmsys/ios/sstream:38,
                 from /usr/ports/devel/cmake/work/cmake-2.8.4/Source/kwsys/SystemTools.cxx:26:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from /usr/ports/devel/cmake/work/cmake-2.8.4/Source/kwsys/SystemTools.cxx:26:
/usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk/cmsys/ios/sstream: In member function 'void cmsys_ios::istringstream::clear(int)':
/usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk/cmsys/ios/sstream:176: error: invalid conversion from 'int' to 'std::_Ios_Iostate'
/usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk/cmsys/ios/sstream:176: error:   initializing argument 1 of 'void std::basic_ios<_CharT, _Traits>::clear(std::_Ios_Iostate) [with _CharT = char, _Traits = std::char_traits<char>]'
*** Error code 1

Stop in /usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk.
---------------------------------------------
Error when bootstrapping CMake:
Problem while running make
---------------------------------------------
Log of errors: /usr/ports/devel/cmake/work/cmake-2.8.4/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------
===>  Script "configure" failed unexpectedly.
Please report the problem to kde@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/cmake/work/cmake-2.8.4/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/cmake.
*** Error code 1

Stop in /usr/ports/graphics/opencv-core.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
Reply With Quote