?
Solved

mysql 5 compile problem - fedora core 4

Posted on 2006-11-30
4
Medium Priority
?
291 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month10 days, 19 hours left to enroll

770 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