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

x
?
Solved

MySQL installation on FreeBSD problem

Posted on 2010-08-18
6
Medium Priority
?
1,103 Views
Last Modified: 2013-11-22
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:

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.

Open in new window


Can someone help me out with this?

Thanks,
Will
0
Comment
Question by:williamno1
[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
6 Comments
 
LVL 4

Expert Comment

by:KazooSoft
ID: 33469372
Have you tried GNU Make?
0
 

Author Comment

by:williamno1
ID: 33469583
When I use "gmake install" I receive this error:

libtool: install: /usr/bin/install -c my_safe_process /usr/local/mysql/mysql-test/lib/My/SafeProcess/my_safe_process
install: my_safe_process and /usr/local/mysql/mysql-test/lib/My/SafeProcess/my_safe_process are the same file
gmake[3]: *** [install-safePROGRAMS] Error 1
gmake[3]: Leaving directory `/usr/local/mysql/mysql-test/lib/My/SafeProcess'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory `/usr/local/mysql/mysql-test/lib/My/SafeProcess'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/mysql/mysql-test'
gmake: *** [install-recursive] Error 1
0
 
LVL 62

Expert Comment

by:gheist
ID: 33474374
try ports.
or pkg_add mysql
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 3

Accepted Solution

by:
jodix2002 earned 2000 total points
ID: 33474660
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
0
 
LVL 62

Expert Comment

by:gheist
ID: 33474749
install from sysinstall, do not build yourself
or at least examine port's makefile for options.
0
 

Author Comment

by:williamno1
ID: 33483761
Thanks it's all working fine now jodix2002!
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

In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Suggested Courses

609 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