[mythtv-users] mac build

James Linder jam at tigger.ws
Sun Feb 7 14:21:10 UTC 2021



> On 7 Feb 2021, at 10:17 pm, John Hoyt <john.hoyt at gmail.com> wrote:
> 
> The key is that you don’t have to download any ports--and possibly build some from source.  An installer is kept that contains a compressed archive of all the files contained in the port. 
> 
> Thanks Craig, that is a great tip!
> 
> BTW - I'm trying a variant of your suggested "PKG_CONFIG_SYSTEM_INCLUDE_PATH" fix.
> 
> It turns out that I already have in the compile script where PKGMGR_INST_PATH=/opt/local :
> PKG_CONFIG_SYSTEM_INCLUDE_PATH=$PKGMGR_INST_PATH/include
> 
> Which I believe sets the search path to look for macports dylibs first, then the local ones - hence why a local ffmpeg install stomps the dylibs in the mythtv compile.
> 
> I'm changing that to:
> PKG_CONFIG_SYSTEM_INCLUDE_PATH=$SRC_DIR/external:$PKGMGR_INST_PATH/include
> 
> Which I hope makes the compiler / pkg_config first look for the locally compiled mythtv ffmpeg libraries.

[plasma] /Users/jam [547]% sh -v doit
otool -L /Applications/Mythfrontend.app/Contents/PlugIns/imageformats/libqjpeg.dylib |grep local
otool -L /Applications/Mythfrontend.app/Contents/Frameworks/libjasper.4.dylib |grep local
otool -L /Applications/Mythfrontend.app/Contents/Frameworks/libjpeg.9.dylib |grep local
otool -L /Applications/Mythfrontend.app/Contents/Frameworks/libtiff.5.dylib |grep local
otool -L /Applications/Mythfrontend.app/Contents/Frameworks/libmng.2.dylib |grep local
otool -L /Applications/Mythfrontend.app/Contents/Frameworks/libjpeg.8.dylib |grep local

James



More information about the mythtv-users mailing list