Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Sep 2005 10:26:24 -0500
From:      Miguel =?iso-8859-1?q?C=E1rdenas?= <mfcardenas@prodigy.net.mx>
To:        freebsd-questions@freebsd.org
Subject:   Re: hi list
Message-ID:  <200509091026.24194.mfcardenas@prodigy.net.mx>
In-Reply-To: <web-12341938@druknet.bt>
References:  <web-12341938@druknet.bt>

next in thread | previous in thread | raw e-mail | index | archive | help
hello

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
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......



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509091026.24194.mfcardenas>