Solved

mysql 5 compile problem - fedora core 4

Posted on 2006-11-30
4
276 Views
Last Modified: 2013-12-16
Hi experts

i need upgrade my mysql 4 to mysql 5 on fedora core 4
and i run
yum -y groupremove mysql

and romove old mysql on sysytem

after download mysql-5.0.27.tar file from mysql site
execute untar and created s.link (ln -s mysql mysql-5.0.27) in /usr/local
and
i run this commands in /usr/local/mysql

./configure --prefix=/usr/local/mysql  --without-bench
make
make install
configure successfuly, make successfuly ,
but make install not successfuly completed

i get these errors

/usr/bin/install -c -m 644 ./README /usr/local/mysql/mysql-test
/usr/bin/install: `./README' and `/usr/local/mysql/mysql-test/README' are the same file
make[4]: *** [install-data-local] Error 1
make[4]: Leaving directory `/usr/local/mysql-5.0.27/mysql-test'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/usr/local/mysql-5.0.27/mysql-test'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/mysql-5.0.27/mysql-test'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-5.0.27'
make: *** [install] Error 2


what is wrong
(Linux lehoste 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386 GNU/Linux)

Thanks ..
0
Comment
Question by:nedimk
4 Comments
 
LVL 3

Accepted Solution

by:
windbringer earned 125 total points
Comment Utility
Hi nedimk,

Your command lines display the following error :

 ./configure --prefix=/usr/local/mysql  --without-bench

In this command line you requested  mysql to be installed in /usr/local/mysql directory. At the same time,  you  unpacked the source in the same directory. So, when it tries to install (that is, it starts to copy the compiled files in the proper directories), it tries to copy one file over itself,  and this is regarded as an error.
The solution is simple: remove the simlink and give (to be on  the safe side) a

make clean

and after that repeat the instalation process:

./configure --prefix=/usr/local/mysql  --without-bench
make
make install

it should work.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now