The code in question is
CORES=$(grep "processor" /proc/cpuinfo | wc -l)
which would give incorrect info regarding the cpus, for example if the "model name" contains the key word "processor", like the case of appletv.
Sample output of appletv's /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Genuine Intel® processor 1.00GHz
stepping : 8
cpu MHz : 600.000
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts est tm2
bogomips : 1201.30
clflush size : 64
Solutions:
CORES=$(grep ^processor /proc/cpuinfo | wc -l)
One more thing about the script is that sometimes it needs too much end-user attention. It will be a good idea to add a "-y" switch to auto answer all the questions.
s7mx1
Senior Member Posts: 259 Joined: Dec 2007 Reputation: 3 |
2008-01-03 15:59
Post: #21
|
| find quote |
s7mx1
Senior Member Posts: 259 Joined: Dec 2007 Reputation: 3 |
2008-01-03 17:11
Post: #22
submitted two patches to sourceforge
http://sourceforge.net/tracker/index.php...tid=581840 http://sourceforge.net/tracker/index.php...tid=581840 |
| find quote |
gzusrawx
Fan Posts: 383 Joined: Aug 2006 Reputation: 0 Location: Massachusetts |
2008-01-03 18:46
Post: #23
Has anyone successfully run this in Ubuntu64 7.10 gutsy?
|
| find quote |
althekiller
Team-XBMC Developer Joined: May 2004 Reputation: 12 |
2008-01-03 23:47
Post: #24
malmis Wrote:i got this same problem in archlinux, gentoo, slackware and cygwin on 4 different computers, with a lot different setup and configuration. Funny as it was developed on gentoo...anyway this is getting us nowhere. I'm going to add the patches that have been posted recently and make a flag that doesn't suppress any output. I'll need you to run with this flag and http://www.pastebin.ca the output. s7mx1 Wrote:One more thing about the script is that sometimes it needs too much end-user attention. It will be a good idea to add a "-y" switch to auto answer all the questions. I think you're looking for the "CONFIRM" option. --help was added to be read... I'll add your other patches though, thanks. gzusrawx Wrote:Has anyone successfully run this in Ubuntu64 7.10 gutsy? The linuxport as a whole doesn't support 64bit so no attempt has been made to get build.sh to work with it yet. UPDATE: Ok, updates sent to pike. Should be in svn when he wakes up. Howto post your problem in a useful manner. #xbmc-linux on FreeNode XBMC online-manual, FAQ, search, forum rules, how to submit a bugreport.
(This post was last modified: 2008-01-04 03:09 by althekiller.)
|
| find quote |
s7mx1
Senior Member Posts: 259 Joined: Dec 2007 Reputation: 3 |
2008-01-04 12:14
Post: #25
althekiller Wrote:I think you're looking for the "CONFIRM" option. --help was added to be read... Thanks. One thing I noticed about Changelog.py is that if you run it at a location other than the XBMC source folder it will complain about svn: '.' is not a working copy since the svn wasn't provided the svn root folder. Here is my patch for Changelog.py --- Changelog.py.back 2008-01-04 09:24:00.000000000 +0000 +++ Changelog.py 2008-01-04 10:04:19.000000000 +0000 @@ -74,7 +74,7 @@ output.write(s) sys.exit() -svncmd = "svn log --xml -r %s:HEAD" % (lastrev) +svncmd = "svn log --xml -r %s:HEAD %s" % (lastrev,dir) newlog = os.popen(svncmd) newlogdoc = newlog.read() althekiller, do you mind submitting that patch as well? Thank you all for your great efforts. The build script from now on will be executed at 6 pm every day on my machine. Good luck to me!
|
| find quote |
althekiller
Team-XBMC Developer Joined: May 2004 Reputation: 12 |
2008-01-04 22:09
Post: #26
Changelog.py was tossed together in a few minutes just to get changelog in linux, I've been meaning to rework it for awhile now.
Howto post your problem in a useful manner. #xbmc-linux on FreeNode XBMC online-manual, FAQ, search, forum rules, how to submit a bugreport. |
| find quote |
LittleBear1981
Junior Member Posts: 39 Joined: Jan 2008 Reputation: 0 |
2008-01-15 03:30
Post: #27
I was using an older version of XBMC Linux.. i figured it would be best to start fresh versus trying to upgrade. I deleted my original folder and made a new one. Downloaded the latest svn did the apt-get line and tried build.sh got errors. tried sudo got the same errors.
tony@tony-laptop:~/XBMC$ sudo ./build.sh There is really no reason to run this as root or with sudo. Run anyway? (y/n) : y Local source revision : 11345 Repository revision : 11345 Your source is up to date. Configuring build. ./build.sh: line 176: ./configure: Permission denied Configuring build. ./build.sh: line 176: ./configure: Permission denied Cleaning source directory. Compiling source. Detected 2 procs/cores, using -j2 make: Entering directory `/home/tony/XBMC' make: *** No targets specified and no makefile found. Stop. make: Leaving directory `/home/tony/XBMC' Generating Changelog.txt ./build.sh: line 500: ./tools/Changelog/Changelog.py: Permission denied Backing up old ./BUILD to ./BUILD.bak. Removing old ./BUILD.bak first. Creating ./BUILD. Copying xbmc-xrandr FAILED! Exiting. tony@tony-laptop:~/XBMC$ please anyone, i am somewhat failure with the command line. |
| find quote |
LittleBear1981
Junior Member Posts: 39 Joined: Jan 2008 Reputation: 0 |
2008-01-15 03:36
Post: #28
i meant familiar with the linux command line interface.
|
| find quote |
althekiller
Team-XBMC Developer Joined: May 2004 Reputation: 12 |
2008-01-15 04:05
Post: #29
Run "ls -l configure" from your source tree". Output should look similar to
Code: nelson11@farnsworth ~/code/XBMC $ ls -l configureif the permissions are not -rwxr-xr-x, run "chmod 755 configure" and all should be well. Howto post your problem in a useful manner. #xbmc-linux on FreeNode XBMC online-manual, FAQ, search, forum rules, how to submit a bugreport. |
| find quote |
LittleBear1981
Junior Member Posts: 39 Joined: Jan 2008 Reputation: 0 |
2008-01-15 04:14
Post: #30
Thank you... its compiling..... much love.. Thanks!
|
| find quote |

Search
Help