OK.i FIND i make a mistake in edit the PATH ,now it can find ar
now i can run mysql in my box,but i still get errors in make
i compile mysql as below:
1.CC=gcc CFLAGS="-O6" CXX=gcc
CXXFLAGS="-O6 -felide-constructors -fno-exceptions -fno-rtti"
./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-charse
t=gbk --with-extra-charsets=all
2.insert
line"ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls='no'}
"into config.cache
3.CC=gcc CFLAGS="-O6" CXX=gcc
CXXFLAGS="-O6 -felide-constructors -fno-exceptions -fno-rtti"
./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-charse
t=gbk --with-extra-charsets=all
4.edit config.h
comment out
#define HAVE_TERM_H 1
5.make
.......
.......
make[2]: Entering directory `/export/home/chenlf/mysql-3.23.36/mysql-test'
make[2]: *** No rule to make target `all'. Stop.
make[2]: Leaving directory `/export/home/chenlf/mysql-3.23.36/mysql-test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/chenlf/mysql-3.23.36'
make: *** [all-recursive-am] Error 2
files in mysql-test are some test program for mysql so may be these error
may ignored
6.make install
7./usr/local/mysql/bin/mysql_install_db
8.run safe_mysqld.it worked
9.NOW MY QUESTION IS HOW TO MAKE EVERTHING IN mysql-3.23.36
thanks a lot
---------------------------------------------------------------------
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