> OK, here are the last few lines from make. I configured using the > following: > > ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql > > errors: > > libmysql.c: In function `mysql_real_connect': > libmysql.c:1790: warning: passing arg 5 of `gethostbyname_r' from > incompatible pointer type > libmysql.c:1790: too few arguments to function `gethostbyname_r' > libmysql.c:1790: warning: assignment makes pointer from integer without > a cast > make[2]: *** [libmysql.lo] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > I tried ./configure without the --with-mysqld-user flag. still the > same errors. >
If i get it i'll let you know, all i know is a fresh install of rh is missing alot of libraries therefore its breaks on compiling stuff. > Coincidently, I spent the entire day trying to figure out why I > couldn't compile qmail on my RedHat 9 box and found the answer. > Apparently, do to changes in the new glibc, some older practices become > incompatible with glibc and cause a compile error. With qmail, it was > a simple fix, just find the 3 affected files and add the #include > <errno.h> header for each file. Link if you're interested in also > compiling qmail on RedHat 9 (I love qmail, sendmail sucks): > http://article.gmane.org/gmane.mail.qmail.general/13960 qmail ? i hear postfix is better i'd prob suggest just getting the binaries, save you the pain, you arent doing extreme configure lines anyway. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]