How to build from source for OS X Tiger (10.4)

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
newton
Harmless
Posts: 7
Joined: Thu Jan 22, 2009 8:33 pm

How to build from source for OS X Tiger (10.4)

Post by newton »

Hi, I am using Leopard and latest XCode to build Adium, but resulting build could not run on OS X Tiger. How can I build version that support 10.4?
User avatar
Robby
Cocoaforge Admin
Posts: 2610
Joined: Mon May 01, 2006 3:00 am

Re: How to build from source for OS X Tiger (10.4)

Post by Robby »

As noted on the roadmap and most other places where 1.4 is mentioned (please tell us if this not the case somewhere!) support for Tiger will be dropped. You can build 1.3.3svn for 10.4 which is all I can do with my Mac. ;)

1.4svn is pretty broken anyway, at the moment.
newton
Harmless
Posts: 7
Joined: Thu Jan 22, 2009 8:33 pm

Re: How to build from source for OS X Tiger (10.4)

Post by newton »

I am building 1.3.2 release build (with libpurple patches)
Is it possible to build Tiger-compatible binary on Leopard (because binary that I receive isn't working: it says that no ImageKit.framework, then that no QuartzFilters.framework, and when I put these frameworks from Leopard, it says:

dyld: Symbol not found: _NSDefaultRunLoopMode
Referenced from: /Applications/Adium.app/Contents/MacOS/../Frameworks/RBSplitView.framework/Versions/A/RBSplitView
Expected in: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

So are there configuration options for make or something that will make build compatible with Tiger? Or should I use Tiger with XCode to produce Tiger binary (hm, why then official release works on both Tiger and Leo without problems)?
User avatar
zac
Cocoaforge Admin
Posts: 1518
Joined: Sun Mar 27, 2005 3:19 pm
Contact:

Re: How to build from source for OS X Tiger (10.4)

Post by zac »

What version of Xcode are you using?
User avatar
Robby
Cocoaforge Admin
Posts: 2610
Joined: Mon May 01, 2006 3:00 am

Re: How to build from source for OS X Tiger (10.4)

Post by Robby »

newton wrote:[...]How can I build version that support 10.4?
By the way: I updated http://trac.adiumx.com/wiki/GettingNewestAdiumSource. :)
newton
Harmless
Posts: 7
Joined: Thu Jan 22, 2009 8:33 pm

Re: How to build from source for OS X Tiger (10.4)

Post by newton »

zac, I am using Xcode 3.1.2 (latest from ADC)

oh, I see that I need Xcode 2.5 to produce compatible build, correct? Is it possible to install 2.5 over 3.1.2 now?
User avatar
Robby
Cocoaforge Admin
Posts: 2610
Joined: Mon May 01, 2006 3:00 am

Re: How to build from source for OS X Tiger (10.4)

Post by Robby »

The page says "2.5 or later"... :)
newton
Harmless
Posts: 7
Joined: Thu Jan 22, 2009 8:33 pm

Re: How to build from source for OS X Tiger (10.4)

Post by newton »

Robby, I just checked with ADC site and found that Xcode 3.0 is the Leopard development tools, so probably (as I thought) it will not produce Tiger-compatible binaries.
I also found that Xcode 2.5 and 3.0 could be installed together - hm, how to run "make" to use 2.5 then?
User avatar
Robby
Cocoaforge Admin
Posts: 2610
Joined: Mon May 01, 2006 3:00 am

Re: How to build from source for OS X Tiger (10.4)

Post by Robby »

newton wrote:Robby, I just checked with ADC site and found that Xcode 3.0 is the Leopard development tools, so probably (as I thought) it will not produce Tiger-compatible binaries.[...]
Adium's developers use Xcode 3.x to compile the releases that run on both Tiger and Leopard so it does work. ;)

I just don't know what you're doing wrong. Zac will probably know.
User avatar
zac
Cocoaforge Admin
Posts: 1518
Joined: Sun Mar 27, 2005 3:19 pm
Contact:

Re: How to build from source for OS X Tiger (10.4)

Post by zac »

Are you compiling one of the tarballed releases, or are you downloading from SVN? What command are you running to compile? It's possible it's not being linked against the 10.4 SDK, but the 1.3 branch should still be.
newton
Harmless
Posts: 7
Joined: Thu Jan 22, 2009 8:33 pm

Re: How to build from source for OS X Tiger (10.4)

Post by newton »

ok, zac, I did following commands:

svn co svn://svn.adiumx.com/adium/tags/AdiumX_1.3.2 adium-1.3.2
cd adium-1.3.2

// then I patched and built libpurple as specified in README

export BUILDCONFIGURATION=Deployment
make
(just make)
Post Reply