From owner-freebsd-questions@FreeBSD.ORG Mon Mar 1 19:46:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D86FB1065672 for ; Mon, 1 Mar 2010 19:46:56 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id B5CFF8FC1B for ; Mon, 1 Mar 2010 19:46:56 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NmBZo-000Dvr-H3; Mon, 01 Mar 2010 14:46:53 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id DE3D43C3A996; Mon, 1 Mar 2010 14:46:48 -0500 (EST) Message-ID: <4B8C19AE.9050108@FreeBSD.org> Date: Mon, 01 Mar 2010 14:46:54 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: lconrad@Go2France.com References: <201003012018.AA147652888@mail.Go2France.com> In-Reply-To: <201003012018.AA147652888@mail.Go2France.com> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) Cc: freebsd-questions@freebsd.org Subject: Re: sorry, email program ate my subject: Can't compile MySQL 5.0 server on 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2010 19:46:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Len Conrad wrote: > ---------- Original Message ---------------------------------- > From: "Len Conrad" > Reply-To: lconrad@Go2France.com > Date: Mon, 1 Mar 2010 19:04:58 +0100 > >> FreeBSD 7.2 as ESXi virtual machine >> >> after portsnap fetch update >> >> cd /usr/ports/databases/mysql50-server >> >> make configure >> >> make >> >> blah blah >> >> mv -f .deps/ha_example.Tpo .deps/ha_example.Po >> c++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DMYSQL_DATADIR="\"/var/db/mysql\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -I. -I../include -I../bdb/build_unix -I../innobase/include -I../innobase/include -I../include -I../include -I../sql -I../sql -I../sql/examples -I../regex -DDBUG_OFF -O2 -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT ha_tina.o -MD -MP -MF .deps/ha_tina.Tpo -c -o ha_tina.o ha_tina.cc >> mv -f .deps/ha_tina.Tpo .deps/ha_tina.Po >> c++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DMYSQL_DATADIR="\"/var/db/mysql\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -I. -I../include -I../bdb/build_unix -I../innobase/include -I../innobase/include -I../include -I../include -I../sql -I../sql -I../sql/examples -I../regex -DDBUG_OFF -O2 -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT sql_yacc.o -MD -MP -MF .deps/sql_yacc.Tpo -c -o sql_yacc.o sql_yacc.cc >> c++: Internal error: Killed: 9 (program cc1plus) >> Please submit a full bug report. >> See for instructions. >> *** Error code 1 >> 1 error >> *** Error code 1 >> 1 error >> *** Error code 1 >> 1 error >> *** Error code 2 >> 1 error >> *** Error code 1 >> >> Stop in /usr/ports/databases/mysql50-server. >> >> >> Thanks >> Len >> Hi Len, How much memory have you allocated to the VM? This error indicates that the compiler didn't have enough memory to compile that source file. Also, check the output of this command: sysctl -a | grep ^kern.maxd I have a VM with 1.5 GB allocated to it, and I've added the following line to /boot/loader.conf.local: kern.maxdsize=1363148800 That gave me enough breathing room to use gcc (gcj, actually) to compile some complex Java source files. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLjBmu0sRouByUApARAi0vAJ96IfepBA5qhY0Tpbj7Mqu+ZMCFFACeOhKR Ov0ynzi/gBt4HkF8qNoebUo= =5q+5 -----END PGP SIGNATURE-----