Próbowałem na Debianie Lenny zainstalować mysql ze źródeł, wersja 5.1.44. Używałem zarówno instrukcji oficjalnej: http://dev.mysql.com/doc/refman/5.1/en/ ... ource.html jak i instrukcji z tego forum: http://debian.linux.pl/viewtopic.php?t=31
Wykonane czynności, pobrałem za pomocą wget mysql-5.1.44.tar do folderu: /usr/src
Rozpakowałem:
Kod: Zaznacz cały
tar -zxvf mysql-5.1.44.tar.gz
Kod: Zaznacz cały
groupadd mysql
useradd -g mysql mysql
Kod: Zaznacz cały
./configure --prefix=/usr/local/mysql --with-charset=latin2
Kod: Zaznacz cały
make
Kod: Zaznacz cały
make[2]: Leaving directory `/usr/src/mysql-5.1.44/server-tools/instance-manager'
make[1]: Leaving directory `/usr/src/mysql-5.1.44/server-tools'
Making all in win
make[1]: Entering directory `/usr/src/mysql-5.1.44/win'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/mysql-5.1.44/win'
Kod: Zaznacz cały
make install
Kod: Zaznacz cały
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/src/mysql-5.1.44/server-tools/instance-manager'
make[2]: Leaving directory `/usr/src/mysql-5.1.44/server-tools/instance-manager'
make[1]: Leaving directory `/usr/src/mysql-5.1.44/server-tools'
Making install in win
make[1]: Entering directory `/usr/src/mysql-5.1.44/win'
make[2]: Entering directory `/usr/src/mysql-5.1.44/win'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/src/mysql-5.1.44/win'
make[1]: Leaving directory `/usr/src/mysql-5.1.44/win'
Wykonanie:
Kod: Zaznacz cały
./scripts/mysql_install_db
Kod: Zaznacz cały
FATAL ERROR: Could not find errmsg.sys
The following directories were searched:
/usr/share/english
/usr/share/mysql/english
If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.
Kod: Zaznacz cały
# mysqld_safe &
[1] 32658
# bash: mysqld_safe: command not found
[1]+ Exit 127 mysqld_safe
Kod: Zaznacz cały
# whereis mysql
mysql: /etc/mysql /usr/local/lib/mysql /usr/local/mysql
Będę wdzięczny za informację, co wykonałem nie tak i ewentualnie jak zaradzić temu problemowi.