Solved

mysql 5 compile problem - fedora core 4

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

691 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