I got MySQL 4.0.2-alpha compiled on Mac OS X 10.2 (final version - 
Jaguar6C115).

I am having problems with getting any client to connect to it, so 
perhaps I am doing something else wrong, which is possible since I am 
new to MySQL....

First I tried:

  ./configure --with-named-curses-libs=/usr/lib/libncurses.dylib

This did not work.

Then I manually executed the one compile that was failing, adding the 
libncurses.dylib to the list of libraries to use, as such:

g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti 
-traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_
VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -o mysql 
mysql.o readline.o sql_string.o completion_hash.o ../
readline/libreadline.a ../libmysql/.libs/libmysqlclient.a 
/usr/lib/libncurses.dylib -lz -lm -lz -lm

Then I did a make again and everything went along to the end.

For some reason my client sub-directory did not get re-named to bin 
and, as I said, I cannot connect. Keep getting:

% mysql
ERROR 2002: Can't connect to local MySQL server through socket 
'/tmp/mysql.sock' (2)

... so I may have messed something up. Maybe someone else, with more 
experience with installing, can pick the ball up and move it along...

thanx - ray

On Sunday, August 25, 2002, at 05:39 PM, Mitch Leung wrote:

> Dear Sir,
>
> MySQL 3.23.52 won't compile on Mac OS X 10.2 based on Darwin 6.0 which 
> comes pre-installed with gcc 3.1
>
> I don't want to uninstall it as it would probably bring down other 
> major functions of the new system.
>
> Regards,
>
> Mitch Leung


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to