BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old June 27th, 2007, 12:23 PM
sqluppo sqluppo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 459 sqluppo User rank is Lance Corporal (50 - 100 Reputation Level)sqluppo User rank is Lance Corporal (50 - 100 Reputation Level)sqluppo User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 2 Days 11 h 18 m 22 sec
Reputation Power: 4
FreeBSD & MySQL configure option

Hi,
Is it possible to install MySQL like

# cd /usr/ports/databases/mysql50-server
# ./configure --prefix=/usr/local/mysql
# make install clean

so that all MySQL files are installed under that "/usr/local/mysql" folder.

or the only choice is

# cd /usr/ports/databases/mysql50-server
# make install clean

where files are scattered all over in "/usr/local/"

I checked MySQL.com and I could not find a source code for FreeBSD
so that I could install MySQL with
./configure --prefix=/usr/local/mysql
option.

All I found was precompiled binaries.

Thank you.

Reply With Quote
  #2  
Old July 3rd, 2007, 12:15 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 49 m 40 sec
Reputation Power: 797
If you compile from ports, you're installing per the FreeBSD standards, so you can't set the prefix there.
Installing everything under a separate directory (/usr/local/mysql) is actually a bit non-standard, so you should have good reasons for doing so. If you do want to go with this approach, you can download the source code from mysql's website in source form:
http://dev.mysql.com/downloads/mysql/5.0.html#source
and then unzip with tar -zxf option and compile it with the non-standard prefix.
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > FreeBSD & MySQL configure option


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway