[mythtv-users] osx-packager.pl fails

Michael Skaastrup Michael at Skaastrup.dk
Tue Aug 15 10:50:48 UTC 2006

Hi all

I am trying to build Mythfrontend on a Mac Mini (Core solo) using

I have followed the Wiki guide at

The script runs through svn checkout and compiles for a moment (sorry
for not being more precise) and fails with following output

test -d mythfrontend.app/Contents/MacOS/ || mkdir -p
g++ -headerpad_max_install_names -Wl,-search_paths_first -prebind -o
mythfrontend.app/Contents/MacOS/mythfrontend version.o main.o
manualbox.o playbackbox.o viewscheduled.o globalsettings.o
manualschedule.o programrecpriority.o channelrecpriority.o statusbox.o
networkcontrol.o moc_manualbox.o moc_playbackbox.o moc_viewscheduled.o
moc_manualschedule.o moc_programrecpriority.o moc_channelrecpriority.o
moc_statusbox.o moc_networkcontrol.o
-L/Users/steffen/src/mythtv/contrib/.osx-packager/src/qt-mac-free-3.3.6-snapshot-20060814/lib -L/usr/lib -L/Users/steffen/src/mythtv/contrib/.osx-packager/build/lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec -L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui -L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.19 -lmythavformat-0.19 -lmythavutil-0.19 -lmythavcodec-0.19 -lmythfreemheg-0.19 -lmythupnp-0.19 -lmythlivemedia-0.19 -lmyth-0.19 -lmythui-0.19 -lfreetype -lmp3lame `freetype-config --libs` -lqt-mt -framework OpenGL -framework AGL
/usr/bin/ld: warning -prebind ignored because MACOSX_DEPLOYMENT_TARGET
environment variable greater or equal to 10.4
/usr/bin/ld: can't map
file: /Users/steffen/src/mythtv/contrib/.osx-packager/build/lib/libmythtv-0.19.dylib ((os/kern) invalid argument)
collect2: ld returned 1 exit status
make[2]: *** [mythfrontend.app/Contents/MacOS/mythfrontend] Error 1
make[1]: *** [sub-mythfrontend] Error 2
make: *** [sub-programs] Error 2
[osx-pkg] Failed system call: " /usr/bin/make " with error code 2
Died at ./osx-packager.pl line 766.

As I am relatively new to OSX and especially to compiling for this
platform i seek your help. What am I missing???

Seems to be some sort of path problem, but I just don't know where to

 Michael Skaastrup

More information about the mythtv-users mailing list