List:General Discussion« Previous MessageNext Message »
From:Derek Downey Date:September 3 2011 7:22pm
Subject:Re: Build from bazaar source on Mac 10.7 (Lion) fails
View as plain text  
MacPorts is nice, but I am wanting to start tinkering with the source code.

I was able to get it to build with the following steps on Lion:

$ mkdir mysql-repo 
$ cd mysql-repo/ 
$ bzr init-repo . 
$ bzr branch lp:mysql-server/5.5 5.5 
$ cd 5.5 
$ ./BUILD/compile-pentium64-debug-max --prefix=/usr/local/mysql5.5 
$ sudo make install 

I think my cmake step was missing a flag to specify x86_64 arch

Derek Downey

On Sep 3, 2011, at 2:38 PM, Jan Steinman wrote:

>> From: Derek Downey <derek@stripped>
>> 
>> I am trying to setup a development machine to start delving into some of the
> internal code of the MySQL DB. I'm off to a great start, since I can't even get it to
> build properly...
>> 
>> My machine is: 
>> 
>> $ uname -a 
>> Darwin DDMac 11.1.0 Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011;
> root:xnu-1699.22.81~1/RELEASE_X86_64 x86_64
> 
> Since you're on a Mac, have you considered using MacPorts? MySQL builds and installs
> flawlessly on 10.6.8 with "sudo port -f install mysql5" here. (Haven't tried it on 10.7
> yet.)
> 
>    http://www.macports.org/
> 
> ----------------
> I can remember when a good politician had to be 75 percent ability and 25 percent
> actor, but I can well see the day when the reverse could be true. -- Harry S. Truman
> :::: Jan Steinman, EcoReality Co-op ::::
> 
> 
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql?unsub=1
> 

Thread
Build from bazaar source on Mac 10.7 (Lion) failsDerek Downey2 Sep
Re: Build from bazaar source on Mac 10.7 (Lion) failsJan Steinman3 Sep
  • Re: Build from bazaar source on Mac 10.7 (Lion) failsDerek Downey3 Sep