LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MySql Install Problem (https://www.linuxquestions.org/questions/linux-software-2/mysql-install-problem-237589/)

BlackShadow 10-01-2004 01:14 PM

MySql Install Problem
 
im trying to install mysql. but i have some problems.

./configure --prefix=/usr/local/mysql --with-charset=latin5
i got no problem with configure and make....

but when i was trying to make install i got this error:

--------------------------------------------------------------------------------------
Making install in sql-bench
make[1]: Entering directory `/usr/local/mysql-4.0.21/sql-bench'
make[2]: Entering directory `/usr/local/mysql-4.0.21/sql-bench'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/mysql-4.0.21/sql-bench
/usr/bin/install -c test-ATIS /usr/local/mysql-4.0.21/sql-bench/test-ATIS
/usr/bin/install: `test-ATIS' and `/usr/local/mysql-4.0.21/sql-bench/test-ATIS'are the same file
/usr/bin/install -c test-connect /usr/local/mysql-4.0.21/sql-bench/test-connect
/usr/bin/install: `test-connect' and `/usr/local/mysql-4.0.21/sql-bench/test-connect' are the same file
/usr/bin/install -c test-create /usr/local/mysql-4.0.21/sql-bench/test-create
/usr/bin/install: `test-create' and `/usr/local/mysql-4.0.21/sql-bench/test-create' are the same file
/usr/bin/install -c test-insert /usr/local/mysql-4.0.21/sql-bench/test-insert
/usr/bin/install: `test-insert' and `/usr/local/mysql-4.0.21/sql-bench/test-insert' are the same file
/usr/bin/install -c test-big-tables /usr/local/mysql-4.0.21/sql-bench/test-big-tables
/usr/bin/install: `test-big-tables' and `/usr/local/mysql-4.0.21/sql-bench/test-big-tables' are the same file
/usr/bin/install -c test-select /usr/local/mysql-4.0.21/sql-bench/test-select
/usr/bin/install: `test-select' and `/usr/local/mysql-4.0.21/sql-bench/test-select' are the same file
/usr/bin/install -c test-wisconsin /usr/local/mysql-4.0.21/sql-bench/test-wisconsin
/usr/bin/install: `test-wisconsin' and `/usr/local/mysql-4.0.21/sql-bench/test-wisconsin' are the same file
/usr/bin/install -c test-alter-table /usr/local/mysql-4.0.21/sql-bench/test-alter-table
/usr/bin/install: `test-alter-table' and `/usr/local/mysql-4.0.21/sql-bench/test-alter-table' are the same file
/usr/bin/install -c test-transactions /usr/local/mysql-4.0.21/sql-bench/test-transactions
/usr/bin/install: `test-transactions' and `/usr/local/mysql-4.0.21/sql-bench/test-transactions' are the same file
/usr/bin/install -c graph-compare-results /usr/local/mysql-4.0.21/sql-bench/graph-compare-results
/usr/bin/install: `graph-compare-results' and `/usr/local/mysql-4.0.21/sql-bench/graph-compare-results' are the same file
/usr/bin/install -c bench-init.pl /usr/local/mysql-4.0.21/sql-bench/bench-init.pl
/usr/bin/install: `bench-init.pl' and `/usr/local/mysql-4.0.21/sql-bench/bench-init.pl' are the same file
/usr/bin/install -c compare-results /usr/local/mysql-4.0.21/sql-bench/compare-results
/usr/bin/install: `compare-results' and `/usr/local/mysql-4.0.21/sql-bench/compare-results' are the same file
/usr/bin/install -c run-all-tests /usr/local/mysql-4.0.21/sql-bench/run-all-tests
/usr/bin/install: `run-all-tests' and `/usr/local/mysql-4.0.21/sql-bench/run-all-tests' are the same file
/usr/bin/install -c server-cfg /usr/local/mysql-4.0.21/sql-bench/server-cfg
/usr/bin/install: `server-cfg' and `/usr/local/mysql-4.0.21/sql-bench/server-cfg' are the same file
/usr/bin/install -c crash-me /usr/local/mysql-4.0.21/sql-bench/crash-me
/usr/bin/install: `crash-me' and `/usr/local/mysql-4.0.21/sql-bench/crash-me' are the same file
/usr/bin/install -c copy-db /usr/local/mysql-4.0.21/sql-bench/copy-db
/usr/bin/install: `copy-db' and `/usr/local/mysql-4.0.21/sql-bench/copy-db' arethe same file
/usr/bin/install -c innotest1 /usr/local/mysql-4.0.21/sql-bench/innotest1
/usr/bin/install: `innotest1' and `/usr/local/mysql-4.0.21/sql-bench/innotest1'are the same file
/usr/bin/install -c innotest1a /usr/local/mysql-4.0.21/sql-bench/innotest1a
/usr/bin/install: `innotest1a' and `/usr/local/mysql-4.0.21/sql-bench/innotest1a' are the same file
/usr/bin/install -c innotest1b /usr/local/mysql-4.0.21/sql-bench/innotest1b
/usr/bin/install: `innotest1b' and `/usr/local/mysql-4.0.21/sql-bench/innotest1b' are the same file
/usr/bin/install -c innotest2 /usr/local/mysql-4.0.21/sql-bench/innotest2
/usr/bin/install: `innotest2' and `/usr/local/mysql-4.0.21/sql-bench/innotest2'are the same file
/usr/bin/install -c innotest2a /usr/local/mysql-4.0.21/sql-bench/innotest2a
/usr/bin/install: `innotest2a' and `/usr/local/mysql-4.0.21/sql-bench/innotest2a' are the same file
/usr/bin/install -c innotest2b /usr/local/mysql-4.0.21/sql-bench/innotest2b
/usr/bin/install: `innotest2b' and `/usr/local/mysql-4.0.21/sql-bench/innotest2b' are the same file
/usr/bin/install -c bench-count-distinct /usr/local/mysql-4.0.21/sql-bench/bench-count-distinct
/usr/bin/install: `bench-count-distinct' and `/usr/local/mysql-4.0.21/sql-bench/bench-count-distinct' are the same file
make[2]: *** [install-benchSCRIPTS] Error 1
make[2]: Leaving directory `/usr/local/mysql-4.0.21/sql-bench'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/local/mysql-4.0.21/sql-bench'
make: *** [install-recursive] Error 1
---------------------------------------------------------------------------------

can u help me to fix this problem.....

Boby 10-01-2004 02:37 PM

Hello!

I never installed MySQL with "./configure, make, make install" but with this:
Code:

groupadd mysql
useradd -g mysql mysql
cd /usr/local
tar -zxvf /full/path/to/mysql-VERSION-OS.tar.gz
ln -s /full/path/to/mysql-VERSION-OS mysql
cd mysql
scripts/mysql_install_db --user=mysql
chown -R root  .
chown -R mysql data
chgrp -R mysql .
bin/mysqld_safe --user=mysql &

It's the step-by-step installation info that comes with the package. I always used it and worked perfect.

Hope it helped!
Boby

PS: Welcome to LQ!

BlackShadow 10-01-2004 03:51 PM

tnx. but i fixed problem :)
make uninstall then again ./configure and make.....
now its working. tnx for replies....


All times are GMT -5. The time now is 03:33 PM.