I was attempting to update ffmpegthumbs4-mac, and I got the following fatal
error when the program could not find libavcodec/avcodec.h. The first instance
is below for moviecoder.o with a second instance (not shown) of the same error
from attempting of build videothumbnailer.o:
> /sw/bin/cmake -E cmake_progress_report
> /sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/build/CMakeFiles
> 9
> /sw/bin/cmake -E cmake_progress_report
> /sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/build/CMakeFiles
> 4
> [ 53%] [ 53%] Building CXX object
> tests/CMakeFiles/ffmpegthumbtest.dir/__/ffmpegthumbnailer.o
> Building CXX object
> CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/moviedecoder.o
> /sw/var/lib/fink/path-prefix-libcxx/g++ -MD -DMAKE_FFMPEGTHUMBS_LIB
> -fno-common -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align
> -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security
> -Woverloaded-virtual -fno-common -fvisibility=hidden -Werror=return-type
> -fvisibility-inlines-hidden -Wno-return-type-c-linkage -D
> __STDC_CONSTANT_MACROS -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
> -mmacosx-version-min=10.10 -fPIC
> -I/sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/build
> -I/sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3
> -I/sw/opt/kde4/mac/include -I/sw/opt/kde4/mac/include/KDE
> -I/sw/lib/qt4-mac/lib/phonon.framework/KDE -F/sw/lib/qt4-mac/lib
> -I/sw/lib/qt4-mac/include/phonon -I/sw/lib/qt4-mac/include/QtXmlPatterns
> -I/sw/lib/qt4-mac/include/QtXml -I/sw/lib/qt4-mac/include/QtWebKit
> -I/sw/lib/qt4-mac/include/QtUiTools -I/sw/lib/qt4-mac/include/QtTest
> -I/sw/lib/qt4-mac/include/QtSvg -I/sw/lib/qt4-mac/include/QtSql
> -I/sw/lib/qt4-mac/include/QtScriptTools -I/sw/lib/qt4-mac/include/QtScript
> -I/sw/lib/qt4-mac/include/QtOpenGL -I/sw/lib/qt4-mac/include/QtNetwork
> -I/sw/lib/qt4-mac/include/QtMultimedia -I/sw/lib/qt4-mac/include/QtHelp
> -I/sw/lib/qt4-mac/include/QtDesigner -I/sw/lib/qt4-mac/include/QtDeclarative
> -I/sw/lib/qt4-mac/include/QtDBus -I/sw/lib/qt4-mac/include/QtAssistant
> -I/sw/lib/qt4-mac/include/Qt3Support -I/sw/lib/qt4-mac/include/QtGui
> -I/sw/lib/qt4-mac/include/QtCore -I/sw/lib/qt4-mac/include/Qt
> -I/sw/lib/qt4-mac/share/qt4/mkspecs/default -I/sw/lib/qt4-mac/include -o
> CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/moviedecoder.o -c
> /sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/ffmpegthumbnailer/moviedecoder.cpp
> cd
> /sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/build/tests
> && /sw/var/lib/fink/path-prefix-libcxx/g++ -MD -fno-common
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts
> -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common
> -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden
> -Wno-return-type-c-linkage -D __STDC_CONSTANT_MACROS -O2 -DNDEBUG
> -DQT_NO_DEBUG -arch x86_64 -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
> -mmacosx-version-min=10.10
> -I/sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/build/tests
> -I/sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/tests
> -I/sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/build
> -I/sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/tests/..
> -I/sw/opt/kde4/mac/include -I/sw/opt/kde4/mac/include/KDE
> -I/sw/lib/qt4-mac/lib/phonon.framework/KDE -F/sw/lib/qt4-mac/lib
> -I/sw/lib/qt4-mac/include/phonon -I/sw/lib/qt4-mac/include/QtXmlPatterns
> -I/sw/lib/qt4-mac/include/QtXml -I/sw/lib/qt4-mac/include/QtWebKit
> -I/sw/lib/qt4-mac/include/QtUiTools -I/sw/lib/qt4-mac/include/QtTest
> -I/sw/lib/qt4-mac/include/QtSvg -I/sw/lib/qt4-mac/include/QtSql
> -I/sw/lib/qt4-mac/include/QtScriptTools -I/sw/lib/qt4-mac/include/QtScript
> -I/sw/lib/qt4-mac/include/QtOpenGL -I/sw/lib/qt4-mac/include/QtNetwork
> -I/sw/lib/qt4-mac/include/QtMultimedia -I/sw/lib/qt4-mac/include/QtHelp
> -I/sw/lib/qt4-mac/include/QtDesigner -I/sw/lib/qt4-mac/include/QtDeclarative
> -I/sw/lib/qt4-mac/include/QtDBus -I/sw/lib/qt4-mac/include/QtAssistant
> -I/sw/lib/qt4-mac/include/Qt3Support -I/sw/lib/qt4-mac/include/QtGui
> -I/sw/lib/qt4-mac/include/QtCore -I/sw/lib/qt4-mac/include/Qt
> -I/sw/lib/qt4-mac/share/qt4/mkspecs/default -I/sw/lib/qt4-mac/include -o
> CMakeFiles/ffmpegthumbtest.dir/__/ffmpegthumbnailer.o -c
> /sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/ffmpegthumbnailer.cpp
> In file included from
> /sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/ffmpegthumbnailer/moviedecoder.cpp:17:
> /sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/ffmpegthumbnailer/moviedecoder.h:24:10:
> fatal error:
> 'libavcodec/avcodec.h' file not found
> #include <libavcodec/avcodec.h>
the program summarized the errors and quit:
>>
> In file included from
> /sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/ffmpegthumbnailer/videothumbnailer.cpp:19:
> /sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/ffmpegthumbnailer/moviedecoder.h:24:10:
> fatal error:
> 'libavcodec/avcodec.h' file not found
> #include <libavcodec/avcodec.h>
> ^
> In file included from
> /sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/ffmpegthumbnailer/moviedecoder.cpp:17:
> /sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/ffmpegthumbnailer/moviedecoder.h:24:10:
> fatal error:
> 'libavcodec/avcodec.h' file not found
> #include <libavcodec/avcodec.h>
> ^
> 1 error generated.
> tests/CMakeFiles/ffmpegthumbtest.dir/build.make:149: recipe for target
> 'tests/CMakeFiles/ffmpegthumbtest.dir/__/ffmpegthumbnailer/moviedecoder.o'
> failed
> make[2]: ***
> [tests/CMakeFiles/ffmpegthumbtest.dir/__/ffmpegthumbnailer/moviedecoder.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs....
> 1 warning and 1 error generated.
> CMakeFiles/ffmpegthumbs.dir/build.make:172: recipe for target
> 'CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/videothumbnailer.o' failed
> make[2]: ***
> [CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/videothumbnailer.o] Error 1
> make[2]: Leaving directory
> '/sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/build'
> CMakeFiles/Makefile2:63: recipe for target 'CMakeFiles/ffmpegthumbs.dir/all'
> failed
> make[1]: *** [CMakeFiles/ffmpegthumbs.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory
> '/sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/build'
> CMakeFiles/Makefile2:176: recipe for target
> 'tests/CMakeFiles/ffmpegthumbtest.dir/all' failed
> make[1]: *** [tests/CMakeFiles/ffmpegthumbtest.dir/all] Error 2
> make[1]: Leaving directory
> '/sw/src/fink.build/ffmpegthumbs4-mac-4.14.3-1/ffmpegthumbs-4.14.3/build'
> Makefile:130: recipe for target 'all' failed
> make: *** [all] Error 2
> ### execution of /tmp/fink.wD92e failed, exit code 2
> ### execution of /tmp/fink.xhLS7 failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-ffmpegthumbs4-mac-4.14.3-1
> (Reading database ... 456235 files and directories currently installed.)
> Removing fink-buildlock-ffmpegthumbs4-mac-4.14.3-1 ...
> /sw/share/dbus/launchd/org.finkproject.dbus-session.plist: Path had bad
> ownership/permissions
> /sw/share/dbus/launchd/org.finkproject.dbus-session.plist: Path had bad
> ownership/permissions
> Failed: phase compiling: ffmpegthumbs4-mac-4.14.3-1 failed
I thought perhaps I forgot to reinstall XQuartz-2.7.7 after the 10.10.1 upgrade
even though I did not have the x11-dev
error, so I reinstalled it. However, I got the same error. I do have
libavcodec/avcodec.h:
> [MacBookPro2:/]:-bash:502$: fink list libavcodec
> Information about 10091 packages read in 2 seconds.
> libavcodec53-dev 0.8.15-3 Audio/video encoders and
> decoders dev files
> libavcodec53-shlibs 0.8.15-3 Audio/video encoders and
> decoders libraries
> libavcodec54-1.0-shlibs 1.0.9-4 Audio/video encoders and
> decoders libraries
> libavcodec54-1.2-dev 1.2.11-1 Audio/video encoders and
> decoders dev files
> libavcodec54-1.2-shlibs 1.2.11-1 Audio/video encoders and
> decoders libraries
> libavcodec55-2.0-dev 2.1.7-1 Audio/video encoders and
> decoders dev files
> i libavcodec55-2.0-shlibs 2.1.7-1 Audio/video encoders and
> decoders libraries
> i libavcodec56-2.4-dev 2.5.2-1 Audio/video encoders and
> decoders dev files
> i libavcodec56-2.4-shlibs 2.5.2-1 Audio/video encoders and
> decoders libraries
It appears that the program can not find
/sw/lib/ffmpeg-2.4/include/libavcodec/avcodec.h. My kit consists of:
Package manager version: 0.38.3
Distribution version: selfupdate-rsync Mon Jan 5 16:16:05 2015, 10.10, x86_64
Trees: local/main stable/main local/injected
Xcode.app: 6.1
Xcode command-line tools: 6.1.1.0.1.1416017670
Max. Fink build jobs: 4
I hope this helps.
Gary K Olson
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users