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 <de...@orange-pants.com>
>> 
>> 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=de...@orange-pants.com
> 


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to