Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2002 19:40:20 -0400
From:      RDWestSr <RDWestSr@HoTPoP.com>
To:        freebsd-questions@FreeBSD.org
Subject:   Help - Compiling MySQL-3.23.51 on FreeBSD
Message-ID:  <3D3F3AE4.ECA4E9AC@HoTPoP.com>

next in thread | raw e-mail | index | archive | help
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




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