Solved

mysql 5 compile problem - fedora core 4

Posted on 2006-11-30
4
288 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
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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