hi list

Miguel Cárdenas mfcardenas at prodigy.net.mx
Fri Sep 9 08:26:08 PDT 2005


go to http://www.mysql.com and download the sources (4.1) and in the FreeBSD 
section in downloads take a look at FreeBSD downloads (platform notes), click 
on platform notes.

basicly, the only difference with compilation under FreeBSD is the way you 
configure the makefiles and environment variables:

CC=gcc CFLAGS="-O2 -fno-strength-reduce" \
    CXX=gcc CXXFLAGS="-O2 -fno-rtti -fno-exceptions \
    -felide-constructors -fno-strength-reduce" \

./configure --prefix=/usr/local/mysql --enable-assembler

gmake install

these are just the differences, you MUST follow ALL STEPS in the README and 
INSTALL-SOURCE guides, just use the environment variables I included and the 
parameters to the ./configure, otherwise the compilation WILL FAIL.

I installed it from source and works fine, but the special setup for FreeBSD 
gave me a terrible headache.

> Can anyone give me the detail steps for installing and
> configuring mysql server on freebsd.........
> I have installed mysql from ports but some how could not
> start the mysql daemon........installation might be wrong
> .....so can anyone who did the same give me some
> suggestions plez......

More information about the freebsd-questions mailing list