[mythtv] MacOS X _HideMenuBar
Bruce Dillahunty
bdillahu at peachbush.com
Sat Sep 11 23:26:53 EDT 2004
I think you don't have the top level settings.pro file set right... you
need to comment out nearly everything (including OSS and Alsa, etc.).
Its trying to compile in some of the Linux sound support stuff that
isn't supported on the Mac, I believe.
I posted this to the list recently... I think its correct, but... If
you find mistakes, let me know :-)
If you have used the below settings and don't have ALSA commented out,
try that.
Bruce
-------------------
From: bdillahu at peachbush.com
Subject: [mythtv] Mac OS X "instructions"
Date: September 10, 2004 12:42:35 EDT
On Fri, Sep 10, 2004 at 11:20:21AM -0400, Taylor Jacob wrote:
> Nigel do you have a walkthrough or a list of steps even generally for
> getting myth to compile on
> osx? I have been having some trouble getting it to compile which now
> I am down to having some
> lingering fink qt installed somewhere, but it would have been helpful
> to read before i started..
> The only info I have been able to find has been scanning the dev list
> for osx posts.
Not trying to steal any thunder from Nigel, just trying to help answer
some
questions since I can't help much otherwise... Nigel and I had some
"offline"
communication awhile back about how to get this done... some of the
important
stuff was:
freetype-2.1.7.tar.bz2
default configure, make, sudo make install
lame-3.96.tar.gz
default configure, make, sudo make install
mysql-max-4.0.20-apple-darwin6.8-powerpc.dmg
default install
qt-mac-free-3.3.2 (I have used 3.3.3 successfully)
configure -system-zlib -thread -stl -freetype -qvfb
-plugin-sql-mysql
-I/usr/local/mysql-max-4.0.20-apple-darwin6.8-powerpc/include
-L/usr/local/mysql-max-4.0.20-apple-darwin6.8-powerpc/lib
make, sudo make install
fink version of QT installs the X windows version which isn't what is
needed,
apparently.
After that, you need to get mythtv (I just grab the latest CVS, but
Nigel
uses 15.1 with a ton of patches, I think.
You must change the settings.pro file... either comment a ton out, or
use
the method Jeremiah Morris recommended and put this at the bottom:
# Defaults for Mac OS X
macx {
DEFINES -= USING_OPENGL_VSYNC
EXTRA_LIBS -= -lGL -lGLU
CONFIG -= using_opengl
CONFIG -= using_ivtv
DEFINES -= USING_IVTV
CONFIG -= using_oss
DEFINES -= USING_OSS
CONFIG -= using_x11
CONFIG -= using_xv
EXTRA_LIBS -= -L/usr/X11R6/lib -lXinerama -lXv -lX11 -lXext
-lXxf86vm
}
then make, sudo make install
then edit /usr/share/mythtv/mysql.txt to point to your backend database
Right now, the backend won't run on the Mac (I'm correct in this, right
Nigel?)
Then you need to make sure your environment is set properly for QT to
work...
I didn't "install" QT but run it from my development directory, so I
have
some environment variables set.
I execute from a terminal window like this:
/usr/local/bin/mythfrontend/MacOSX/xxxxxxx/mythfrontend
(sorry, don't have the full path and can't access the Mac from here)
This lets you see all the normal terminal output.
-----
Thanks to Isaac for a great system and Nigel for a great port!
I'm currently playing with compile settings (optimization) trying to
get this
to run better on a lower end machine... my last attempt seemed to break
database access, so I don't think I can report success yet :-)
Bruce
_______________________________________________
mythtv-dev mailing list
mythtv-dev at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
-------------------------
On Sep 11, 2004, at 22:58, Dylan Egan wrote:
> OK I did what you said, but first I did a make clean/distclean just to
> make sure everything was in top shape.
>
> Now I get this.
>
> libs/libmyth -I/usr/local/include -I/Developer/qt/include -I. -o
> volumecontrol.o libs/libmyth/volumecontrol.h
> libs/libmyth/volumecontrol.h:6: error: parse error before
> "VolumeControl"
> libs/libmyth/volumecontrol.h:7: error: syntax error before '{' token
> libs/libmyth/volumecontrol.h:16: error: parse error before "on"
> libs/libmyth/volumecontrol.h:18: error: parse error before "GetMute"
> libs/libmyth/volumecontrol.h:18: warning: return type defaults to `int'
> libs/libmyth/volumecontrol.h: In function `GetMute':
> libs/libmyth/volumecontrol.h:18: error: `mute' undeclared (first use
> in this function)
> libs/libmyth/volumecontrol.h:18: error: (Each undeclared identifier is
> reported only once
> libs/libmyth/volumecontrol.h:18: error: for each function it appears
> in.)
> libs/libmyth/volumecontrol.h: At top level:
> libs/libmyth/volumecontrol.h:21: error: parse error before ':' token
> libs/libmyth/volumecontrol.h:27: error: parse error before "mute"
> libs/libmyth/volumecontrol.h:27: warning: type defaults to `int' in
> declaration of `mute'
> libs/libmyth/volumecontrol.h:27: error: `mute' used prior to
> declaration
> libs/libmyth/volumecontrol.h:27: warning: data definition has no type
> or storage class
> libs/libmyth/volumecontrol.h:29: error: parse error before '}' token
> make: *** [volumecontrol.o] Error 1
>
> Dylan.
>
>> Make sure
>>
>> QMAKE_CXXFLAGS +=
>> -F/System/Library/Frameworks/Carbon.framework/Frameworks
>> LIBS += -framework Carbon
>>
>> appears in the "mac" section of the libmyth.pro, then run qmake and
>> recompile...
>>
>> Give that a shot.
>>
>> Bruce
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
More information about the mythtv-dev
mailing list