instructions on how to compile latest version from git?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
canadave Offline
Posting Freak
Posts: 761
Joined: Jul 2011
Reputation: 15
Location: Nova Scotia, Canada
Post: #11
OK, the git command that wasn't working now works. But in the next step, I get this:

MacBeth:~ Dave$ git submodule update --init addons/skin.touched
fatal: Not a git repository (or any of the parent directories): .git

- ATV2 4.4.4 (iOS 5.0.1) build 9A406a, running Frodo (final version)
- Macbook Pro, running OSX Mountain Lion
- Skin: reFocus
- Connecting to MySQL database on Synology DS411+ NAS via NFS.
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #12
canadave Wrote:OK, the git command that wasn't working now works. But in the next step, I get this:

MacBeth:~ Dave$ git submodule update --init addons/skin.touched
fatal: Not a git repository (or any of the parent directories): .git

forget that one, the touched skin is only used for iOS and not atv2.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,684
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #13
canadave Wrote:OK, the git command that wasn't working now works. But in the next step, I get this:

MacBeth:~ Dave$ git submodule update --init addons/skin.touched
fatal: Not a git repository (or any of the parent directories): .git

forgot the "cd xbmc" before that command?

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
canadave Offline
Posting Freak
Posts: 761
Joined: Jul 2011
Reputation: 15
Location: Nova Scotia, Canada
Post: #14
Memphiz Wrote:forgot the "cd xbmc" before that command?

I think I might've Wink I tried again and it worked in terms of adding the touched bit (although I understand per davilla it's not needed, I just wanted to see if it worked). However, it's still not completing according to the instructions in the readme.ios file.

This is what I've got so far:

Code:
macbeth:~ Dave$ cd xbmc
macbeth:xbmc Dave$ git submodule update --init addons/skin.touched
Submodule 'touched' (git://github.com/xbmc/skin.touched.git) registered for path 'addons/skin.touched'
Cloning into addons/skin.touched...
remote: Counting objects: 1623, done.
remote: Compressing objects: 100% (620/620), done.
remote: Total 1623 (delta 996), reused 1559 (delta 932)
Receiving objects: 100% (1623/1623), 8.99 MiB | 2.42 MiB/s, done.
Resolving deltas: 100% (996/996), done.
Submodule path 'addons/skin.touched': checked out '1d03746646111f97e28b807a290bd762c7db547c'
macbeth:xbmc Dave$ cd $HOME/XBMC
macbeth:XBMC Dave$ sudo mkdir -p /usr/local/bin; sudo cp tools/darwin/depends/gas-preprocessor/gas-preprocessor.pl /usr/local/bin/
macbeth:XBMC Dave$ cd tools/darwin/depends
macbeth:depends Dave$ ./bootstrap
macbeth:depends Dave$ ./configure --with-darwin=ios
configure: error: error in configure of --with-sdk=5.0
macbeth:depends Dave$ make
make: *** No targets specified and no makefile found.  Stop.
macbeth:depends Dave$

This is using the latest Xcode/SDK package downloaded today from Apple, on Lion 10.7 install.

- ATV2 4.4.4 (iOS 5.0.1) build 9A406a, running Frodo (final version)
- Macbook Pro, running OSX Mountain Lion
- Skin: reFocus
- Connecting to MySQL database on Synology DS411+ NAS via NFS.
(This post was last modified: 2012-01-15 06:06 by canadave.)
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #15
sigh, xcode4 I bet. not supported and it does say that "The current build system is Xcode 3.x and iOS SDK 4.2/4.3" in the README.ios, so you have to remove xcode4 and install xcode3.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,684
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #16
next thing you post here without following the readme will make me eat a baby kitten...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
canadave Offline
Posting Freak
Posts: 761
Joined: Jul 2011
Reputation: 15
Location: Nova Scotia, Canada
Post: #17
davilla Wrote:sigh, xcode4 I bet. not supported and it does say that "The current build system is Xcode 3.x and iOS SDK 4.2/4.3" in the README.ios, so you have to remove xcode4 and install xcode3.

Memphiz Wrote:next thing you post here without following the readme will make me eat a baby kitten...

Guys, I do really appreciate your help here and elsewhere (seriously, I really do, you guys do a lot of work for little thanks); but it sure would be nice to have someone here cut me a little slack once in a while, considering that I do my best to try to help people here when I can Blush

Earlier, davilla, you told me one of the things in the readme.ios (about the skin.touched submodule) didn't apply. It also says at the top of the IOS README that "There are two ways to build XBMC for Mac", even though this is instructions for building for IOS (right?). Then it says the two ways are "using the command line or the GUI", but there appears to be only one method described in the readme file. So this all seemed to indicate that there might be several incorrect things in the readme. In any case, I'm trying to follow the readme instructions as best I can.

I Googled "Xcode for Lion 10.7", got a link to it on the Apple page, downloaded and installed it. I did not realize that this was not the proper version of Xcode. Even so, I would have thought the latest version of Xcode would include support for earlier versions. I see that is incorrect now, but was not aware of it at the time. I've never used Xcode, nor tried to manually compile anything (I'm not a programmer), so this is all totally new to me.

I know you guys are intimately familiar with all this. As someone who's worked in computer tech support for 20 years, I know how frustrating it can be when you think someone isn't doing something simple correctly. All I can ask for is a little patience.

I'll see if I can find the proper version of Xcode and try again.

- ATV2 4.4.4 (iOS 5.0.1) build 9A406a, running Frodo (final version)
- Macbook Pro, running OSX Mountain Lion
- Skin: reFocus
- Connecting to MySQL database on Synology DS411+ NAS via NFS.
(This post was last modified: 2012-01-15 18:26 by canadave.)
find quote
Maetrik Offline
Member+
Posts: 370
Joined: Jan 2011
Reputation: 1
Location: Berlin, Germany
Post: #18
I have no problems compiling on Snow Leopard with Xcode 3.2.6 if that helps
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,684
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #19
canadave Wrote:Guys, I do really appreciate your help here and elsewhere (seriously, I really do, you guys do a lot of work for little thanks); but it sure would be nice to have someone here cut me a little slack once in a while, considering that I do my best to try to help people here when I can Blush

That was exactly what i did here:

http://forum.xbmc.org/showpost.php?p=988...stcount=15

i counted you in there ...

Beside that the readme.ios is just not intended for non programmers. You should at least have used xcode before imho. If you get the right xcode version its 100% like it is stated in the readme ...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
flyingrat Offline
Senior Member
Posts: 256
Joined: Jul 2008
Reputation: 5
Location: Sweden
Post: #20
davilla Wrote:sigh, xcode4 I bet. not supported and it does say that "The current build system is Xcode 3.x and iOS SDK 4.2/4.3" in the README.ios, so you have to remove xcode4 and install xcode3.

Not quite!

Snippted from README.ios (https://github.com/xbmc/xbmc/blob/master/README.ios)

"Install latest Xcode. You can download it from Apple's site after registration at (http://developer.apple.com/tools/download). The preferred version is Xcode 3.2.5 and iOS SDK 4"

Same goes for README.osx (https://github.com/xbmc/xbmc/blob/master/README.osx):

"Install latest Xcode. You can download it from Apple's site after registration at (http://developer.apple.com/tools/download). You also need to install the 10.4 sdk. If using Xcode 3.x, you MUST use Xcode 3.1.2 so update your existing version if you are running a previous Xcode 3.x version. Xcode 3.x only runs on 10.5."

Either the instructions are wrong/fuzzy or they need to be updated regarding Xcode 3.x is mandatory...
--

1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
find quote
Post Reply