Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

mysql 5 compile problem - fedora core 4

Posted on 2006-11-30
4
Medium Priority
?
293 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Accepted Solution

by:
windbringer earned 500 total points
ID: 18064970
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

618 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