[mythtv-commits] Ticket #9599: OSX Compilation fails
MythTV
noreply at mythtv.org
Wed Mar 2 06:18:29 UTC 2011
#9599: OSX Compilation fails
----------------------------------+------------------------------
Reporter: l-case@… | Owner: nigel
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: unknown
Component: Ports - OSX | Version: Trunk Head
Severity: medium | Resolution: Works for me
Keywords: | Ticket locked: 0
----------------------------------+------------------------------
Comment (by nigel):
Peter, thanks for fullbuild.txt. As Jean-Yves has hinted, it is some sort
of sequencing problem.
[[BR]]
FFmpeg makes these libraries:
{{{
LD libavutil/libmythavutil.50.dylib
LD libavcore/libmythavcore.0.dylib
LD libavcodec/libmythavcodec.52.dylib
LD libavformat/libmythavformat.52.dylib
LD libswscale/libmythswscale.0.dylib
LD libpostproc/libmythpostproc.51.dylib
LD libavdevice/libmythavdevice.52.dylib
LD libavfilter/libmythavfilter.1.dylib
}}}
but not the install lib file names that MythTV expects (''i.e.'' there is
no libmythavformat.dylib in ../../external/FFmpeg/libav*). If I turn
FFmpeg verbose building on:
{{{
% git diff Makefile
diff --git a/mythtv/Makefile b/mythtv/Makefile
index 4de0ae1..cf7ae49 100644
--- a/mythtv/Makefile
+++ b/mythtv/Makefile
@@ -61,7 +61,7 @@ $(addsuffix /Makefile,$(QT_SUBDIRS)): %/Makefile :
cd $*; $(QMAKE) QMAKE=$(QMAKE) -o $(@F) $(<F)
$(SUBDIRS): $(addsuffix /Makefile,$(SUBDIRS)) libs/libmythbase/version.h
- $(MAKE) -C $@
+ $(MAKE) -C $@ V=YES # Verbose building
$(addsuffix _clean,$(SUBDIRS)): $(addsuffix /Makefile,$(SUBDIRS))
$(MAKE) -C $(subst _clean,,$@) clean
}}}
then it both creates the dylibs, and creates the links for me:
{{{
% ./osx-packager.pl --enable-backend --verbose
...
cd ./libavcodec/ && ln -sf libmythavcodec.52.dylib libmythavcodec.dylib
gcc -dynamiclib -Wl,-single_module
-Wl,-install_name,/Volumes/Backups/MythTV/.osx-
packager/build/lib/libmythavformat.dylib...
...
cd ./libavformat/ && ln -sf libmythavformat.52.dylib libmythavformat.dylib
}}}
so I am still at a loss. Perhaps make that same verbose mod and attach a
fresh fullbuild.txt?
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9599#comment:6>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list