I've got an older redhat 6.2 box that has glibc 2.1.3-28 on it.
The binary rpm's won't install (needs glibc 2.2), and rebuilding the
source rpm gives:


make[2]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.54/readline'
Making all in libmysql
make[2]: Entering directory `/usr/src/redhat/BUILD/mysql-3.23.54/libmysql'
source='libmysql.c' object='libmysql.lo' libtool=yes \
depfile='.deps/libmysql.Plo' tmpdepfile='.deps/libmysql.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DDEFAULT_CHARSET_HOME="\"/\"" -DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -O3 -c -o libmysql.lo `test -f libmysql.c || echo './'`libmysql.c
gcc -DDEFAULT_CHARSET_HOME=\"/\" -DDATADIR=\"/var/lib/mysql\" -DSHAREDIR=\"/usr/share/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -O3 -c libmysql.c -Wp,-MD,.deps/libmysql.TPlo -o libmysql.o
libmysql.c: In function `mysql_real_connect':
libmysql.c:1340: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type
libmysql.c:1340: too few arguments to function `gethostbyname_r'
libmysql.c:1340: warning: assignment makes pointer from integer without a cast
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.54/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.54'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.94268 (%build)





--
--
Daniel Bohling
NewsFactor Network


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