Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 1999 17:06:14 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Ron Klinkien <ron@zappa.demon.nl>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Current in loop while compiling MySQL Server 3.22.27
Message-ID:  <19991205170614.A1496@dan.emsphone.com>
In-Reply-To: <000801bf3f39$b10d7c40$0301a8c0@demon.nl>; from "Ron Klinkien" on Sun Dec  5 16:59:20 GMT 1999
References:  <000801bf3f39$b10d7c40$0301a8c0@demon.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 05), Ron Klinkien said:
> Hi,
> 
> After cvsupping and a make kernel/world I decided to update my pkg's,
> all goes well until a make in /usr/ports/database/mysql322-server.
> 
> It hangs half way the compile on...
> --- cut ---
> c++ -DMYSQL_SERVER                      -DDEFAULT_MYSQL_HOME="\"/usr/local\""  -
> DDATADIR="\"/var/db/mysql\""                    -DSHAREDIR="\"/usr/local/share/m
> ysql\""                         -DHAVE_CONFIG_H -I./../include                 -
> I./../regex                     -I. -I../include -I.. -I.    -D_LARGEFILE_SOURCE
>  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -DDBUG_OFF  -O -pipe  -fno-implic
> it-templates  -c sql_yacc.cc
> --- cut ---

sql_yacc.cc is the parser for all of mysqld, and is a 400K c++ file. 
It just takes a LONG time to compile.
 
> top showed:
>  
>   PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
> 29974 root      59   0   156M 84064K RUN      4:21 92.63% 92.63% cc1plus
> 
> any idea what is wrong?

nothing's wrong; you just need to let it finish :)  Add
"--with-low-memory" to the CONFIGURE_ARGS line in the port Makefile if
you run out of swap during the compile.

-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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