[mythtv] [patch] automagic settings.pro (version 7)
Nigel Pearson
nigel at ind.tansu.com.au
Wed Mar 2 03:23:17 UTC 2005
We also need to either set QMAKE_CFLAGS_RELEASE and QMAKE_CFLAGS_DEBUG,
or patch libs/libmythmpeg2/libmythmpeg2.pro:
% ./configure --compiletype=debug
# Basic Settings
Compile type debug
...
Creating config.mak and config.h
mv: config.h: set owner/group (was: 501/0): Operation not permitted
Macintosh% make
cd libs && make -f Makefile
cd libavcodec && make -f Makefile
qmake -o Makefile libavcodec.pro
make[2]: Nothing to be done for `first'.
cd libavformat && make -f Makefile
qmake -o Makefile libavformat.pro
make[2]: Nothing to be done for `first'.
cd libmythsamplerate && make -f Makefile
qmake -o Makefile libmythsamplerate.pro
make[2]: Nothing to be done for `first'.
cd libmythsoundtouch && make -f Makefile
qmake -o Makefile libmythsoundtouch.pro
make[2]: Nothing to be done for `first'.
cd libmythmpeg2 && make -f Makefile
qmake -o Makefile libmythmpeg2.pro
cc -c -pipe -w -g -fPIC -fno-common -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/Volumes/Users/nigel/Library/MythTV\"
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT
-DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/Volumes/Backups/qt/mkspecs/default
-I. -I../../../../../../Library/MythTV/include
-I/Volumes/Backups/qt/include -o cpu_accel.o cpu_accel.c
{standard input}:150:vand vector instruction is optional for the
PowerPC (not allowed without -force_cpusubtype_ALL option)
make[2]: *** [cpu_accel.o] Error 1
make[1]: *** [sub-libmythmpeg2] Error 2
make: *** [sub-libs] Error 2
(that is either with or without Jer's little Altivec patch)
--
Nigel Pearson, nigel at ind.tansu.com.au | "Now the world has gone to bed,
Telstra BI&D, Sydney, Australia | Darkness won't engulf my head,
Office: 8255 4222 Fax: 8255 3153 | I can see by infrared,
Mobile: 0408 664435 Home: 9792 6998 | How I hate the night." -Marvin
More information about the mythtv-dev
mailing list