From owner-freebsd-questions@FreeBSD.ORG Fri Sep 9 15:26:08 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAB9A16A420 for ; Fri, 9 Sep 2005 15:26:08 +0000 (GMT) (envelope-from mfcardenas@prodigy.net.mx) Received: from smtp.prodigy.net.mx (nlpproxy02.prodigy.net.mx [148.235.52.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF26A43D5E for ; Fri, 9 Sep 2005 15:26:05 +0000 (GMT) (envelope-from mfcardenas@prodigy.net.mx) Received: from smtp.prodigy.net.mx (nlpproxy02 [148.235.52.22]) by smtp.prodigy.net.mx (iPlanet Messaging Server 5.2 HotFix 2.05 (built Mar 3 2005)) with ESMTP id <0IMK00KRF2TI6G@smtp.prodigy.net.mx>; Fri, 09 Sep 2005 10:24:55 -0500 (CDT) Received: from voodoo.sorcery.net(dsl-201-129-16-102.prod-infinitum.com.mx [201.129.16.102]) by smtp.prodigy.net.mx(iPlanet Messaging Server 5.2 HotFix 2.05 (built Mar 3 2005)) with ESMTP id <0IMK0005X2TIHW@smtp.prodigy.net.mx>; Fri, 09 Sep 2005 10:24:54 -0500 (CDT) Date: Fri, 09 Sep 2005 10:26:24 -0500 From: Miguel =?iso-8859-1?q?C=E1rdenas?= In-reply-to: To: freebsd-questions@freebsd.org Message-id: <200509091026.24194.mfcardenas@prodigy.net.mx> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline User-Agent: KMail/1.7.2 X-imss-version: 2.031 X-imss-result: Passed X-imss-scores: Clean:99.90000 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:3 C:3 M:3 S:3 R:3 (5.0000 5.0000) References: Subject: Re: hi list X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 15:26:08 -0000 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......