Question : MySQL installation on FreeBSD problem

Hi there, I've been trying to install MySQL5.1 on my FreeBSD 8-Release server.

I got the latest source from MySQL's website and downloaded+extracted it to "/usr/local/mysql". I ran "make -j2" which ran fine however when I try to execute "make install" I receive this error:

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
Making install in include
make  install-am
test -z "/usr/local/mysql/include/mysql" || .././install-sh -c -d "/usr/local/mysql/include/mysql"
 /usr/bin/install -c -m 644 'mysql.h' '/usr/local/mysql/include/mysql/mysql.h'
 /usr/bin/install -c -m 644 'mysql_com.h' '/usr/local/mysql/include/mysql/mysql_com.h'
 /usr/bin/install -c -m 644 'mysql_time.h' '/usr/local/mysql/include/mysql/mysql_time.h'
 /usr/bin/install -c -m 644 'my_list.h' '/usr/local/mysql/include/mysql/my_list.h'
 /usr/bin/install -c -m 644 'my_alloc.h' '/usr/local/mysql/include/mysql/my_alloc.h'
 /usr/bin/install -c -m 644 'typelib.h' '/usr/local/mysql/include/mysql/typelib.h'
 /usr/bin/install -c -m 644 'mysql/plugin.h' '/usr/local/mysql/include/mysql/plugin.h'
install: mysql/plugin.h and /usr/local/mysql/include/mysql/plugin.h are the same file
*** Error code 64

Stop in /usr/local/mysql/include.
*** Error code 1

Stop in /usr/local/mysql/include.
*** Error code 1

Stop in /usr/local/mysql/include.
*** Error code 1

Stop in /usr/local/mysql.


Can someone help me out with this?

Thanks,
Will

Answer : MySQL installation on FreeBSD problem

maybe you can try this:
- put the source in another directory, say, /usr/src/mysql
- remove everything in /usr/local/mysql
- then run the installation again from /usr/src/mysql
Random Solutions  
 
programming4us programming4us