Nigel Gilbert writes:
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: make fails with compile error using MacOS X Darwin
> 
> >Description:
> make gives:
> mysqld.cc: In function `void init_signals()':
> mysqld.cc:1241: assignment to `void (*)(int)' from `void (*)()'
> make[3]: *** [mysqld.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2
> 
> Although the installation manual warns about a compile error in mysqld,
> it is not this one, and the cause (failure to edit config.h) is not the cause
> of this problem.
> 
> >How-To-Repeat:
> 
> just run
> ./configure --prefix=/usr/local/mysql
> make
> 
> >Fix:
>   not known
> >Submitter-Id:  Nigel Gilbert
> >Originator:  Nigel Gilbert
> >Organization:
>   <organization of PR author (multiple lines)>
> >MySQL support:  None
> >Synopsis:le fails on MacOS X
> >Severity:
> >Priority:    <[ low | medium | high ] (one line)>
> >Category:    mysql
> >Class:               sw-bug
> >Release:     mysql-3.23.36 (Source distribution)
> 
> >Environment:
>       <machine, os, target, libraries (multiple lines)>
> System: Darwin bootd.soc.surrey.ac.uk 1.3 Darwin Kernel Version 1.3: 
> Thu Mar  1 06:56:40 PST 2001; root:xnu/xnu-123.5.obj~1/RELEASE_PPC 
> Power Macintosh powerpc
> 
> 
> Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/cc
> 
> Compilation info: CC='gcc'  CFLAGS=''  CXX='gcc'  CXXFLAGS=''  LDFLAGS=''
> LIBC:
> 
> 
> lrwxr-xr-x  1 root  wheel  15 Apr  6 13:04 /usr/lib/libc.dylib -> 
> libSystem.dylib
> Configure command: ./configure 
> --with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory 
> --with-mit-threads=yes --without-perl --enable-thread-safe-client 
> --with-berkeley-db --with-innobase
> 


Hi!

The above is due to changes Apple made for signal handlers.

Corrected code should appear in 3.23.37.

Also, please do not use MIT threads. Follow instructions in our manual
on which thread lib to use for your flavour of OS X.


Regards,

Sinisa

      ____  __     _____   _____  ___     ==  MySQL AB
     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic
    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:[EMAIL PROTECTED]
   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaca, Cyprus
  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
             /*/             \*\                Developers Team

---------------------------------------------------------------------
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