mysql compile errors on MDK ssytem
I have been trying to compile mysql-3.23.58 with the following commands
./configure --prefix=/httpd/apache/mysql --localstatedir=/httpd/apache/mysql/data --disable-maintainer-mode --with-mysqld-user=mysql --enable-large-files -without-debug and I get the following errors gcc -DDEFAULT_CHARSET_HOME=\"/httpd/apache/mysql\" -DDATADIR=\"/httpd/apache/mysql/data\" -DSHAREDIR=\"/httpd/apache/mysql/share/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo libmysql.c: In function `mysql_real_connect': libmysql.c:1353: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type libmysql.c:1353: error: too few arguments to function `gethostbyname_r' libmysql.c:1353: warning: assignment makes pointer from integer without a cast make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/httpd/mysql-3.23.58/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/httpd/mysql-3.23.58' make: *** [all] Error 2 if you need any more info its being compiled on a Mandrake 9.2 system... any help would be appreciated |
try finding an rpm what version of mandrake? server? desktop?
|
Using Mandrake 9.2 with a desktop install...
I found the rpm but it would not allow me to install it...?o_0 |
Quote:
|
well when I tried to install the MySQL-4.0.x I got this
Code:
Some package requested cannot be installed: Code:
Some package requested cannot be installed: -=edit=- if I install the rpm would I be able to change the data storage dir to a diff dir like in my compile options? |
you'll have to solve those dependencies but once you do that you'll be able to install it... you should be able to install mySQL off the mandrake disk and then use urpmi or "mandrakeupdate"(which uses urpmi i think) to update them...
|
ok thanks for the help :)
|
All times are GMT -5. The time now is 10:19 PM. |