freebsd2# cd /usr/ports/databases/mysql323-server
freebsd2# make pre-fetch
You may use the following build options:
WITH_CHARSET=charset define the primary built-in charset
(latin1);
WITH_XCHARSET=list define other built-in charsets (may be
'all');
DB_DIR=directory Set alternate directory for database
files
(default is /var/db/mysql).
WITH_LINUXTHREADS=yes Use the linuxthreads pthread library.
This is _NOT_ recommended for
production
servers. Expect problems when enabled.
SKIP_INSTALL_DB=yes Skip mysql_install_db
(i. e. leave /var/db/mysql alone).
This is useful for upgrades.
Be sure to know what you are doing!
SKIP_DNS_CHECK=yes don't run resolveip to do an
additional
DNS check before inserting local
hostname to
mysql database.
Use if your machine has no offical DNS
entry.
BUILD_STATIC=yes Build a static version of mysqld.
BUILD_OPTIMIZED=yes Add -mcpu=pentiumpro -O3 to CFLAGS.
This setting may produce broken code
and thus
is not recommended for production
servers.
freebsd2#
You want to use the WITH_LINUXTHREADS option as well as DB_DIR (and
whatever else you want) to build your mysql.
Hope this helps.
----- Original Message -----
From: "Oleg Prokopyev" <[EMAIL PROTECTED]>
To: "Ken Menzel" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 5:19 AM
Subject: Re: mysqld & freebsd
> Ken Menzel wrote:
> >
> > Hi Oleg,
> > There is some sort of thread problem with freebsd but it
usuually is
> > not that bad. How did you compile MySQL? I would recommend using
the
> > ports version of Mysql (cd /usr/ports/databases/mysql-3.23-server)
.
> > Look at the makefile if you are still havbing threads problems you
can
> do you mean MIT-threads options ?
> :( it does not want to compile
>
>
<rest cut>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php