[NTLUG:Discuss] mysql configure/make head-banger
Dennis Daupert
ddaupert at csc.com
Mon Jul 29 15:11:26 CDT 2002
Hi folks,
I've tried to get a post out to the mysql mailing list for several days,
but for some reason
it keeps getting bounced back. But I'm trying to install on linux, so maybe
this is the best
list to post on, after all :-)
I'm trying to install mysql 3.23.51 on SuSE 8 from the source tarball. I
did ./config, then make.
There are the last few lines from make:
libmysql.c: In function `mysql_real_connect':
libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from
incompatible pointer type
libmysql.c:1325: too few arguments to function `gethostbyname_r'
libmysql.c:1325: warning: assignment makes pointer from integer without a
cast
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory
`/home/perl/downloads/db/mysql-3.23.51/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/perl/downloads/db/mysql-3.23.51'
make: *** [all-recursive-am] Error 2
Here's some info from the mysql debug tool:
Release: mysql-3.23.51 (Source distribution)
Environment:
machine: Dell Optiplex GX1,
os: SuSE Linux 2.4.18-4GB,
target: ?
libraries ?
System: Linux hdeteam 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686
unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
gcc version 2.95.3 20010315 (SuSE)
Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS=''
LIBC:
-rwxr-xr-x 1 root root 1394238 Mar 23 12:34 /lib/libc.so.6
-rw-r--r-- 1 root root 25361424 Mar 23 12:05 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Mar 23 12:05 /usr/lib/libc.so
Configure command:
CFLAGS="-O3" CC=gcc CXX=gcc CXXFLAGS="-O3 \
-felide-constructors -fno-exceptions \
-fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler
\
--with-named-curses-libs=/usr/lib/curses \
--with-mysqld-ldflags=-all-static
Can someone repoint me to the right direction?
/dennis
More information about the Discuss
mailing list