Hello MySQL,
i downloaded 3.23.25 from the MySQL website and
it errors in ./configure included are the last lines from
the terminal window. (if neccesary i can send the
config.log too 88KB) it has lots of failed programms
i'll include some snippets below. ./configure says
the system is Darwin 1.3.
Can you help, so that many fresh new OS-X users
may ./configure and make/make install on MacOS-X
i issued a ./configure --prefix=/usr/local/mysql
Regards,
tr909
ps. i only know enough of UNIX to be dangerous :-)
second question is about INSTALL-SOURCE you say:
Our binary for Mac OS X (server 1.x) is compiled on Rhapsody 5.5 with
the following
configure line:
CC=gcc CFLAGS="-O2 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O2
-fomit-frame-pointer" ./configure --prefix=/usr/local/mysql
"--with-comment=Official MySQL binary" --with-extra->charsets=complex
--disable-shared
but where did you put CC=gcc (i see a ./configure in the middle of that
line)
in which config file and where or should that be after the ./configure.
-------------- ./configure ---last lines from terminal window ---
c++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
-DDATADIR="\"/usr/local/mysql/var\""
-DSHAREDIR="\"/usr/local/mysql/share/mysql\""
-DHAVE_CONFIG_H -I./../include
-I./../regex -I. -I../include -I.. -I. -O3
-DDBUG_OFF -fno-implicit-templates -traditional-cpp
-DHAVE_DARWIN_THREADS -traditional-cpp -DHAVE_DARWIN_THREADS
-D_P1003_1B_VISIBLE -c net_pkg.cc
c++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
-DDATADIR="\"/usr/local/mysql/var\""
-DSHAREDIR="\"/usr/local/mysql/share/mysql\""
-DHAVE_CONFIG_H -I./../include
-I./../regex -I. -I../include -I.. -I. -O3
-DDBUG_OFF -fno-implicit-templates -traditional-cpp
-DHAVE_DARWIN_THREADS -traditional-cpp -DHAVE_DARWIN_THREADS
-D_P1003_1B_VISIBLE -c lock.cc
cc -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
-DDATADIR="\"/usr/local/mysql/var\""
-DSHAREDIR="\"/usr/local/mysql/share/mysql\""
-DHAVE_CONFIG_H -I./../include
-I./../regex -I. -I../include -I.. -I. -O
-DDBUG_OFF -traditional-cpp -DHAVE_DARWIN_THREADS -traditional-cpp
-DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -c my_lock.c
c++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
-DDATADIR="\"/usr/local/mysql/var\""
-DSHAREDIR="\"/usr/local/mysql/share/mysql\""
-DHAVE_CONFIG_H -I./../include
-I./../regex -I. -I../include -I.. -I. -O3
-DDBUG_OFF -fno-implicit-templates -traditional-cpp
-DHAVE_DARWIN_THREADS -traditional-cpp -DHAVE_DARWIN_THREADS
-D_P1003_1B_VISIBLE -c sql_string.cc
c++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
-DDATADIR="\"/usr/local/mysql/var\""
-DSHAREDIR="\"/usr/local/mysql/share/mysql\""
-DHAVE_CONFIG_H -I./../include
-I./../regex -I. -I../include -I.. -I. -O3
-DDBUG_OFF -fno-implicit-templates -traditional-cpp
-DHAVE_DARWIN_THREADS -traditional-cpp -DHAVE_DARWIN_THREADS
-D_P1003_1B_VISIBLE -c sql_manager.cc
c++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
-DDATADIR="\"/usr/local/mysql/var\""
-DSHAREDIR="\"/usr/local/mysql/share/mysql\""
-DHAVE_CONFIG_H -I./../include
-I./../regex -I. -I../include -I.. -I. -O3
-DDBUG_OFF -fno-implicit-templates -traditional-cpp
-DHAVE_DARWIN_THREADS -traditional-cpp -DHAVE_DARWIN_THREADS
-D_P1003_1B_VISIBLE -c sql_map.cc
c++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
-DDATADIR="\"/usr/local/mysql/var\""
-DSHAREDIR="\"/usr/local/mysql/share/mysql\""
-DHAVE_CONFIG_H -I./../include
-I./../regex -I. -I../include -I.. -I. -O3
-DDBUG_OFF -fno-implicit-templates -traditional-cpp
-DHAVE_DARWIN_THREADS -traditional-cpp -DHAVE_DARWIN_THREADS
-D_P1003_1B_VISIBLE -c mysqld.cc
mysqld.cc: In function `void init_signals()':
mysqld.cc:1232: 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
------------------ config.log
extracts ------------------------------------------
...
configure:1687: checking how to run the C preprocessor
configure:1708: cc -E conftest.c >/dev/null 2>conftest.out
configure:1704: undefined type, found `Syntax'
configure:1704: illegal external declaration, missing `;' after `Error'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
configure: failed program was:
#line 1702 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
configure:1725: cc -E -traditional-cpp conftest.c >/dev/null
2>conftest.out
configure:1812: checking for ranlib
...
ltconfig:958: checking if cc static flag -static works
ltconfig:959: cc -o conftest -static conftest.c 1>&5
/usr/bin/ld: can't locate file for: -lcrt0.o
...
!!!! and then i see lots of these failed files:
configure:4127: checking for floatingpoint.h
configure:4137: cc -E -traditional-cpp conftest.c >/dev/null
2>conftest.out
configure:4133: floatingpoint.h: No such file or directory
configure: failed program was:
#line 4132 "configure"
#include "confdefs.h"
#include <floatingpoint.h>
configure:4127: checking for select.h
configure:4137: cc -E -traditional-cpp conftest.c >/dev/null
2>conftest.out
configure:4133: select.h: No such file or directory
configure: failed program was:
#line 4132 "configure"
#include "confdefs.h"
#include <select.h>
---------- end -------
---------------------------------------------------------------------
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