[mythtv-users] mythtv-users Digest, Vol 95, Issue 34

Nigel Pearson nigel at ind.tansu.com.au
Thu Feb 10 13:48:29 UTC 2011



On Thu, 10 Feb 2011 at 14:14:20 +1100, Jean-Yves Avenard asked:

> Are there any documentations on how to compile the whole app with
> debugging symbols enabled for all sub-components ? (Qt, mysql etc...)

No. You would need to hack the script to add debug into
the configure flags for each dependency. e.g.
around line 145, remove this from mysqlclient:
        '--without-debug',



Note 1) Qt is special. We build '-release',
but fake debug libraries that are just symlinks.

Note 2) debug builds are up to 12 times larger.
Not enough room on a MacBook Air?

Note 3) Just building the MythTV source code -debug
is usually enough for me. Only once or twice have
I needed to trace a bug down in Qt land,
and it was much easier to add printf()s,
or just rebuild part of Qt in debug.

--
Nigel Pearson, nigel at ind.tansu.com.au|     Citizens, never fear!    |
Telstra Net. Eng., Sydney, Australia |Crazy do-good freaks are here,|
Office: 9202 3900    Fax:  9212 6348 |until they run out of steam...|
Mobile: 0408 664435  Home: 9792 6998 |     The New Justice Team!    |



More information about the mythtv-users mailing list