[opensource-dev] Fwd: Mac build instructions completely broken

2015-04-11 Thread Chris Nelson
-- Forwarded message --
From: Chris Nelson 
Date: Sun, Apr 12, 2015 at 9:16 AM
Subject: Re: [opensource-dev] Mac build instructions completely broken
To: Cinder Roxley 


Thanks Cinder,

That did the trick!
Looks like I am now stuck with not having the OS X 10.8 sdk - (I only have
10.9) and gcc 4.2(?)
Getting the message:
error: There is no SDK with the name or path
'/Users/cnelson/Documents/GitRepositories/SecondLifeViewer/indra/macosx10.8'

I am using xcode 6.1.1. Thought I read that sl viewer would compile with
this version.

Cheers,

Chris

On Sat, Apr 11, 2015 at 1:36 PM, Cinder Roxley 
wrote:

> On April 10, 2015 at 5:45:46 PM, Chris Nelson (cnelson1...@gmail.com)
> wrote:
>
> Has anyone in the dev community attempted to build the sl viewer from
> scratch using the instructions from
> http://wiki.secondlife.com/wiki/Compiling_the_viewer_(Mac_OS_X)?
> I have been going through the process over the last few days and it seems
> pretty much completely broken.
> I have managed to overcome most of the hurdles up until now, but I seem to
> have hit a show stopper with the ogg_vorbis package download problem I
> posted earlier.
>
>
> I build the viewer on a regular basis on OS X. The problem you describe is
> likely because you are using Autobuild 1.0 but building the viewer-release
> viewer. Autobuild 1.0 is not compatible with viewer-release as Autobuild
> 1.0 has a stricter package versioning scheme. Hence, your failure.
>
> Your options are these:
>
> 1) Remove the version of autobuild you have and download the older
> autobuild version 0.9 from https://bitbucket.org/lindenlab/autobuild using
> setup.py to install it and build the viewer.
>
> 2) Build the viewer-tools-update viewer which is configured to use the
> newer version of autobuild. That can be found here:
> https://bitbucket.org/lindenlab/viewer-tools-update
>
> Best of luck.
> —
> Cinder Roxley
> Sent with Airmail
>
> ___
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting
> privileges
>
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Fwd: Mac build instructions completely broken

2015-04-11 Thread Cinder Roxley
On April 11, 2015 at 6:36:14 PM, Chris Nelson (cnelson1...@gmail.com) wrote:

-- Forwarded message --
From: Chris Nelson 
Date: Sun, Apr 12, 2015 at 9:16 AM
Subject: Re: [opensource-dev] Mac build instructions completely broken
To: Cinder Roxley 


Thanks Cinder,

That did the trick!
Looks like I am now stuck with not having the OS X 10.8 sdk - (I only have 
10.9) and gcc 4.2(?)
Getting the message:
error: There is no SDK with the name or path 
'/Users/cnelson/Documents/GitRepositories/SecondLifeViewer/indra/macosx10.8'

I am using xcode 6.1.1. Thought I read that sl viewer would compile with this 
version.

Cheers,

Chris
If you’re building viewer-release, you’re in trouble building current 
viewer-release, you still need llvm-gcc 4.2 which isn’t included in Xcode 5 or 
6. Apple went to great lengths to make it hard to replace, and although it is 
possible to readd it (see my Xcode compiler plugin collection at 
https://bitbucket.org/cinderblocks/xcode-compiler-plugins/wiki/Home) It’s a lot 
more effort than just installing Xcode 4.6.3 and using that instead for 
viewer-release.

If you want to use Xcode 6, you need to build out of the viewer-tools-update 
repository, (and from what I’ve heard, that will be promoted to the canonical 
viewer-release soon.) Xcode 5 still contains 10.8 SDK iirc, but I just checked 
and viewer-tools-update targets 10.9 now. So for modern tooling, you’re better 
off just building from https://bitbucket.org/lindenlab/viewer-tools-update with 
the newer autobuild.

-- 
Cinder Roxley
Sent with Airmail

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges