Mac OSX binary install

Ted Pavlic ted at tedpavlic.com
Mon Apr 14 02:05:33 UTC 2008


I e-mailed the mercurial.berkwood.com maintainer about this directly a 
few weeks ago about this. The response should probably be on an FAQ 
somewhere.

OS/X 10.5 comes with "Apple Python" 2.5. In theory, Mercurial should 
have no trouble running under MacPython 2.5, but... (quoted from the 
e-mail I received):

=====
I haven't been building 10.4 packages due to no longer having another
hard drive with it installed.  I haven't been able to build the
packages like I used to or test whether ones built on 10.5 against
MacPython still work on 10.4.  I had planned on addressing the issue
prior to the 1.0 release but I obviously didn't get that
accomplished.  I see the solution as I either get another hard drive
soon or I find someone to test the packages I build on 10.4.
=====

So, it's just a logistical problem.

My solution was to get rid of any previous version of "hg" that I had, 
then download the 1.0 source (i.e., the tarball), and then execute:

make all
sudo make install

Granted, this might require me to have the OS/X build tools installed, 
but if you're installing Mercurial, you *PROBABLY* are the kind of 
person who already has everything they need to install it from source 
(and on my "old" Powerbook G4, Mercurial "built" and installed very 
quickly).

--Ted



Brian Wallis wrote:
> I tried installing Mercurial from the binary downloads at http:// 
> mercurial.berkwood.com/. I'm running Mac OSX 10.4 not 10.5. I  
> installed the Python 2.5.1 first and then tried to install Mercurial  
> from the dmg file "2008-02-25: Version 1.0 - Mercurial 1.0 for OS X  
> 10.5".
> 
> This didn't work as the Mercurial install seems to expect a different  
> version of Python. Is the dmg file meant only for 10.5? Is there one  
> for 10.4 or should I just be building from source. I need to make  
> this relatively easy for a number of mac users.
> 
> thanks,
> 
> Brian Wallis
> InfoMedix
> p: 3 8615 4553 | f: 3 8615 4501 | e: brian.wallis at infomedix.com.au
> Level 5, 451 Little Bourke Street, Melbourne VIC 3000
> 
> 
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
> 

-- 
Ted Pavlic <ted at tedpavlic.com>



More information about the Mercurial mailing list