From owner-freebsd-current Sun Dec 5 15: 6:22 1999 Delivered-To: freebsd-current@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id A79FD14C2F for ; Sun, 5 Dec 1999 15:06:17 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id RAA01754; Sun, 5 Dec 1999 17:06:14 -0600 (CST) (envelope-from dan) Date: Sun, 5 Dec 1999 17:06:14 -0600 From: Dan Nelson To: Ron Klinkien Cc: freebsd-current@FreeBSD.ORG Subject: Re: Current in loop while compiling MySQL Server 3.22.27 Message-ID: <19991205170614.A1496@dan.emsphone.com> References: <000801bf3f39$b10d7c40$0301a8c0@demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <000801bf3f39$b10d7c40$0301a8c0@demon.nl>; from "Ron Klinkien" on Sun Dec 5 16:59:20 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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