Thread: Compiling MySQL for Leopard
05-26-2008, 07:56 PM #1
Compiling MySQL for Leopard
- Member Since
- May 21, 2007
Hi, I am trying to compile a copy of MySQL 5.0 on my Macbook. Problem is that I cannot seem to get the make file to be made properly.
Can anyone help me?
Here is the output I get after trying to run ./configure
macbook:mysql-5.0.51b-osx10.5-x86 dblanken$ ./configure --prefix=/usr/local/mysql --with-unix-socket-path=/usr/local/mysql/run/mysql_socket NOTE: This is a MySQL binary distribution. It's ready to run, you don't need to configure it! To help you a bit, I am now going to create the needed MySQL databases and start the MySQL server for you. If you run into any trouble, please consult the MySQL manual, that you can find in the Docs directory. Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: ./bin/mysqladmin -u root password 'new-password' ./bin/mysqladmin -u root -h darek-blankenbuhlers-macbook.local password 'new-password' Alternatively you can run: ./bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd . ; ./bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd mysql-test ; perl mysql-test-run.pl Please report any problems with the ./bin/mysqlbug script! The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at http://shop.mysql.com Starting the mysqld server. You can test that it is up and running with the command: ./bin/mysqladmin version macbook:mysql-5.0.51b-osx10.5-x86 dblanken$ chown: /opt/source/mysql-5.0.51b-osx10.5-x86/data/darek-blankenbuhlers-macbook.local.err: Operation not permitted Starting mysqld daemon with databases from /opt/source/mysql-5.0.51b-osx10.5-x86/data STOPPING server from pid file /opt/source/mysql-5.0.51b-osx10.5-x86/data/macbook.local.pid 080526 15:39:43 mysqld ended macbook:mysql-5.0.51b-osx10.5-x86 dblanken$ sudo make Password: make: *** No targets specified and no makefile found. Stop.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Unibody in forum OS X - Development and DarwinReplies: 3Last Post: 12-19-2009, 10:23 PM
By LobsterMan in forum OS X - Apps and GamesReplies: 7Last Post: 07-05-2008, 05:00 PM
By skorpyo in forum Web Design and HostingReplies: 1Last Post: 01-18-2008, 04:38 AM
By JaredXM in forum Running Windows (or anything else) on your MacReplies: 3Last Post: 10-17-2007, 10:47 PM
By ke5aux in forum OS X - Development and DarwinReplies: 3Last Post: 03-27-2006, 01:10 PM