From owner-freebsd-questions Wed Jul 24 16:44:58 2002 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 927F637B400 for ; Wed, 24 Jul 2002 16:44:53 -0700 (PDT) Received: from snickers.hotpop.com (snickers.hotpop.com [204.57.55.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BCF243E42 for ; Wed, 24 Jul 2002 16:43:28 -0700 (PDT) (envelope-from RDWestSr@HoTPoP.com) Received: from hotpop.com (kubrick.hotpop.com [204.57.55.16]) by snickers.hotpop.com (Postfix) with SMTP id 3756175BCC for ; Wed, 24 Jul 2002 23:42:50 +0000 (UTC) Received: from HoTPoP.com (66-191-53-230.chartersc.net [66.191.53.230]) by smtp-2.hotpop.com (Postfix) with ESMTP id 0607B1B8653 for ; Wed, 24 Jul 2002 23:42:55 +0000 (UTC) Message-ID: <3D3F3AE4.ECA4E9AC@HoTPoP.com> Date: Wed, 24 Jul 2002 19:40:20 -0400 From: RDWestSr Organization: Webapps & Design X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Subject: Help - Compiling MySQL-3.23.51 on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG wuzzup all, i was sending mail with localhost and i guess majordomo was rejecting it... i changed to my smtp and itz ok after sending a100 mails today :) lol i'm in bad need of help :) i'm a total nooB to *nix environment... i'm trying to grow up and get a real server :) i've switched from w2k advanced server to FreeBSD :) and i'm about bald within a week into this venture... i have managed to compile the latest samba and proftpd and get them up and running fine... MySQL - :( is another story... First question... i had the port 3.23.47 running fine... but i'm installing and configuring apache/ssl/php with mysql so mysql needs to be installed in /usr/local/mysql the freebsd port does not install to /usr/local/mysql the directions at mysql -- ------------------------------------ The recommended way to compile and install MySQL on FreeBSD with gcc (2.95.2 and up) is: 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 ./scripts/mysql_install_db cd /usr/local/mysql ./bin/mysqld_safe & ------------------------------------ my FreeBSD v4.5 don't understand the gcc commands --- i seen server and client in /usr/local/etc/rc.d/ lets say if i -> ./configure --prefix=/usr/local/mysql make make install can i just add the client and server .sh scripts to /usr/local/etc/rc.d/ and change the path within to point to this install ? can someone plz walk me through this? i'm stuck cuz i have to configure php with --with-mysql=/usr/local/mysql tx in advance i'm indeed ignorant to this type of install... tx rdwestsr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message