mysql source does NOT compile UNDER OSX Jaguar
am 06.01.2003 08:36:39 von ingcontiSEND-PR: -*- send-pr -*-
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `<' and `>').
SEND-PR:
From: ingconti
To: mysql@lists.mysql.com
Subject: mysql source does NOT compile UNDER OSX Jaguar
>Description:
when I try to compile the source distro, i get:
sql_udf.cc:57:19: dlfcn.h: No such file or directory
sql_udf.cc: In function `void init_syms(udf_func*)':
sql_udf.cc:88: `dlsym' undeclared (first use this function)
sql_udf.cc:88: (Each undeclared identifier is reported only once for
each
function it appears in.)
sql_udf.cc: In function `void udf_init()':
sql_udf.cc:182: `dlopen' undeclared (first use this function)
sql_udf.cc:185: `dlerror' undeclared (first use this function)
sql_udf.cc:198: `dlclose' undeclared (first use this function)
make[4]: *** [sql_udf.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
and "make" stops....
>How-To-Repeat:
launch make install and make, EVERY TIME.
>Fix:
I don't know: changing make options?
>Submitter-Id: ing.conti
>Originator:
>Organization:
>MySQL support: none
>Synopsis: mysql source does NOT compile UNDER OSX Jaguar
>Severity: critical
>Priority: high
>Category: mysql
>Class: sw-bug
>Release: mysql-3.23.54 (Source distribution)
>Environment:
G4 1000 Mhz Bi Pro OSX Jaguar 10.2.2.
System: Darwin G4Silver.local. 6.3 Darwin Kernel Version 6.3: Sat Dec
14 03:11:25 PST 2002; root:xnu/xnu-344.23.obj~4/RELEASE_PPC Power
Macintosh powerpc
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1151, based on gcc version 3.1
20020420 (prerelease)
Compilation info: CC='gcc' CFLAGS='-Wimplicit -Wreturn-type -Wswitch
-Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses
-Wsign-compare -Wwrite-strings -\
Wunused -mcpu=pentiumpro -O3 -fno-omit-frame-pointer' CXX='gcc'
CXXFLAGS='-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W
-Wchar-subscripts -Wformat -Wpare\
ntheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual
-Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor
-felide-constructors -fno-exceptions -fno-rtti\
-mcpu=pentiumpro -O3 -fno-omit-frame-pointer' LDFLAGS=''
LIBC:
lrwxr-xr-x 1 root wheel 15 Dec 29 15:20 /usr/lib/libc.dylib ->
libSystem.dylib
Configure command: ./configure '--prefix=/usr/local/mysql'
'--enable-assembler' '--with-extra-charsets=complex'
'--enable-thread-safe-client' '--with-innodb' '--with-be\
rkeley-db' 'CFLAGS=-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs
-Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare
-Wwrite-strings -Wunused -mcpu=pen\
tiumpro -O3 -fno-omit-frame-pointer' 'CXXFLAGS=-Wimplicit -Wreturn-type
-Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat
-Wparentheses -Wsign-compare -Wwrit\
e-strings -Woverloaded-virtual -Wsign-promo -Wreorder
-Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors
-fno-exceptions -fno-rtti -mcpu=pentiumpro -O3 -fno-om\
it-frame-pointer' 'CXX=gcc'
Ing. Conti
via s. Gottardo 76
20052 MONZA MI ITALY
0039-39-324723
www.ingconti.com
------------------------------------------------------------ ---------
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 bugs-thread13409@lists.mysql.com
To unsubscribe, e-mail