[mythtv] configure did not detect my cpu

Nigel Pearson nigel at ind.tansu.com.au
Tue Jul 14 11:38:45 UTC 2009


[osx-pkg] /Volumes/MythBuild/.osx-packager/build/bin/svn co -- 
revision 20892 http://svn.mythtv.org/svn/trunk/mythtv http:// 
svn.mythtv.org/svn/trunk/packaging /Volumes/MythBuild/.osx-packager/ 
src/myth-svn
A    /Volumes/MythBuild/.osx-packager/src/myth-svn/mythtv/config
Checked out revision 20892.
Checked out revision 20892.
[osx-pkg] Cleaning MythTV makefiles containing PREFIX
[osx-pkg] find . -name Makefile -exec egrep -q qmake.*PREFIX {} ; - 
delete
[osx-pkg] Configuring mythtv
[osx-pkg] ./configure --prefix=/Volumes/MythBuild/.osx-packager/build  
--runprefix=../Resources --enable-libfaad --enable-backend --disable- 
distcc
cat: /proc/cpuinfo: No such file or directory
cat: /proc/cpuinfo: No such file or directory

  *** WARNING ***
  Your CPU was not detected properly:
    uname -m: i386
    uname -p: i386




Janne, I think this check [20883] is bad:


if disabled cross_compile && test -f /proc/cpuinfo ; then
...
if disabled cross_compile && test -f /usr/bin/hostinfo ; then


because disabled doesn't check for non-existent variables.
Testing for that here is also bad, because command-line
processing hasn't been done at that point!?

--
Nigel Pearson, nigel at ind.tansu.com.au|"Things  you  own  |
Telstra Net. Eng., Sydney, Australia | end up owning you"|
Office: 9202 3900    Fax:  9212 6348 |      Tyler,       |
Mobile: 0408 664435  Home: 9792 6998 |    Fight Club     |



More information about the mythtv-dev mailing list