Try this assuming you are compiling from source (not ports)
create a test file called makemysql.sh

put this in it

gmake -s clean
rm config.cache
CC=gcc  CFLAGS=-O3  CXX=gcc  \
CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" \
./configure
$DEBUG --enable-large-files --with-berkeley-db --with-innodb
gmake -s

Then type:  sh makemysql.sh
Then to install it after build type: gmake -s install

You MUST have gmake installed from /usr/ports/devel/gmake to build
mysql.

OR
just cvsup latest ports then:
cd /usr/ports/databases/mysql323-server
make install


Ken
----- Original Message -----
From: "zosen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 10:41 AM
Subject: Re: Help!!!I can not make mysql on freebsd 4.3 ???


>
> Hi!Ken Menzel
>      I edit the file "/etc/hosts",and make mysql-3.23.39.but it
stopped at
> the below point !!help me ?!!Thanks!!
>
> -------------------------
> SQLD_NET_RETRY_COUNT=1000000 -c convert.cc
> c++ -DMYSQL_SERVER                      -
> DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""                     -
> DDATADIR="\"/date/mysql/date\""                    -
> DSHAREDIR="\"/usr/local/mysql/share/mysql\""                   -
>
./include             -I./../regex                     -
>
I. -I../include -I.. -I.    -O3 -DDBUG_OFF   -fno-implicit-templates -
fno-
> exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -c
sql_parse.cc
> In file included from mysql_priv.h:222,
>                  from sql_parse.cc:18:
> sql_class.h: In method `Key::Key(Key::Keytype, const char *,
> List<key_part_spec> &)':
> sql_class.h:172: Internal compiler error.
> sql_class.h:172: Please submit a full bug report.
> sql_class.h:172: See <URL:http://www.gnu.org/software/gcc/bugs.html>
for
> instructions.
> *** Error code 1
>
> Stop in /date/home/zosen/mysql-3.23.39/sql.
> *** Error code 1
>
> Stop in /date/home/zosen/mysql-3.23.39/sql.
> *** Error code 1
>
> Stop in /date/home/zosen/mysql-3.23.39.
> *** Error code 1
>
> Stop in /date/home/zosen/mysql-3.23.39.
> DateServer#
>
> DateServer# cat /etc/hosts
> # $FreeBSD: src/etc/hosts,v 1.11.2.1 2000/08/18 18:29:19 ume Exp $
> #
> # Host Database
> # This file should contain the addresses and aliases
> # for local hosts that share this file.
> # In the presence of the domain name service or NIS, this file may
> # not be consulted at all; see /etc/host.conf for the resolution
order.
> #
> #
> 192.168.0.123           DateServer
> ::1                     localhost localhost.my.domain
myname.my.domain
> 127.0.0.1               localhost localhost.my.domain
myname.my.domain
> #
> # Imaginary network.
> #10.0.0.2               myname.my.domain myname
> #10.0.0.3               myfriend.my.domain myfriend
> #
> # According to RFC 1918, you can use the following IP networks for
> # private nets which will never be connected to the Internet:
> #
> #       10.0.0.0        -   10.255.255.255
> #       172.16.0.0      -   172.31.255.255
> #       192.168.0.0     -   192.168.255.255
> #
> # In case you want to be able to connect to the Internet, you need
> # real official assigned numbers.  PLEASE PLEASE PLEASE do not try
> # to invent your own network numbers but instead get one from your
> # network provider (if any) or from the Internet Registry (ftp to
> # rs.internic.net, directory `/templates').
> #
> DateTest#
>
> ----- Original Message -----
> From: "Ken Menzel" <[EMAIL PROTECTED]>
> To: "zosen" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 10, 2001 9:54 PM
> Subject: Re: Help!!!I can not make mysql on freebsd 4.3 ???
>
>
> > What is in /etc/hosts file?  My server named tuvok has this:
> > bash-2.04$ cat /etc/hosts
> > 127.0.0.1               localhost.icarz.com localhost
> > 207.99.22.16            tuvok.icarz.com tuvok
> > 207.99.22.16            tuvok.icarz.com.
> > bash-2.04$
> > Your machine needs a name, there are examples in /etc/hosts.  I
would
> > also recommend a good system administration book like: Unix System
> > Administration Handbook from Prentice Hall,  ISBN 0-13-020601-6
> >
> > Ken
> > ----- Original Message -----
> > From: "zosen" <[EMAIL PROTECTED]>
> > To: "Ken Menzel" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Tuesday, July 10, 2001 9:30 AM
> > Subject: Re: Help!!!I can not make mysql on freebsd 4.3 ???
> >
> >
> > > Hi!Ken Menzel
> > >               I try to initialize my datebase.but it output as
the
> > below.What's the matter??
> > >
> > > DateTest# ./mysql_install_db
> > > Sorry, the host 'DateTest' could not be looked up.
> > > Please configure the 'hostname' command to return a correct
> > hostname.
> > > If you want to solve this at a later stage, restart this script
with
> > > the --force option
> > > DateTest#
> > >
> > >
> >
> >
> >
>
> --------------------------------------------------------------------
-
> > 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 <mysql-unsubscribe-
> [EMAIL PROTECTED]>
> > Trouble unsubscribing? Try:
http://lists.mysql.com/php/unsubscribe.php
> >
> >
>
>
>
>
>
>
> zosen
> -------------------------------------------
> ChinaNetCenter ShenZhen
> Tel:86755-5170776
> Fax:86755-5161004
> Email: [EMAIL PROTECTED]
> Http://www.chinanetcenter.com
>
>
> --------------------------------------------------------------------
-
> 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
>
>


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

Reply via email to