Member Since: May 21, 2007
05-26-2008, 06:56 PM
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...
Filling help tables...
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:
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
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:
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
make: *** No targets specified and no makefile found. Stop.