From owner-freebsd-stable Wed Oct 24 12:11:22 2001 Delivered-To: freebsd-stable@freebsd.org Received: from hercules.icarz.com (ns1.icarz.com [207.99.22.7]) by hub.freebsd.org (Postfix) with ESMTP id D6AAA37B406 for ; Wed, 24 Oct 2001 12:11:18 -0700 (PDT) Received: from newken (dhcp113.icarz.com [207.99.22.113]) by hercules.icarz.com (8.10.1/8.10.1) with SMTP id f9OIxC908329; Wed, 24 Oct 2001 14:59:17 -0400 (EDT) Message-ID: <018601c15cbd$fc4d8e40$711663cf@icarz.com> From: "Ken Menzel" To: "Jan Srzednicki" , References: Subject: Re: mysql-server compile problems Date: Wed, 24 Oct 2001 14:59:13 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Jan, You would get better response on the ports list, or the mysql list (see www.mysql.com/documentation/lists.html.) But I would start with checking 'ulimit -a' and see what your login is set to. See you on one of the other lists, (I am on the mysql main list) this list is for questions related on the the FreeBSD-stable tree. Good Luck, Ken ----- Original Message ----- From: "Jan Srzednicki" To: Sent: Tuesday, October 23, 2001 9:33 PM Subject: mysql-server compile problems > > Hello, > > I have tried to compile MySQL server on a 4.4-STABLE (from the ports). > But, while compiling, I get the following error: > > Note: The following compile may take a long time. > If it fails, re-run configure with --with-low-memory > c++ -DMYSQL_SERVER > -DDEFAULT_MYSQL_HOME="\"/usr/local\"" > -DDATADIR="\"/var/db/mysql\"" > -DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CO NFIG_H > -I../bdb/build_unix -I./../include > -I./../regex -I. -I../include -I.. -I. -DDB UG_OFF > -O2 -march=i586 -felide-constructors -fno-rtti -fno-exceptions > -fno-implicit-templates -fno-exceptions -fno-rtti > -DMYSQLD_NET_RETRY_COUNT=1000000 -fno-inline -c sql_yacc.cc > /usr/lib/bison.simple: In function `int yyparse()': > /usr/lib/bison.simple:761: virtual memory exhausted > *** Error code 1 > > I looked into the Makefile and "--with-low-memory" switch is in there. > What can I do to compile the package? It seems to be rather a compiler > problem than port problem. Or maybe it is? > > I got this error on a machine with 64MB ram, 150MB swap. Whole swap was > unused. Then I tried to compile this on a 256MB ram machine.. with the > same effect (well, it's a busy server, so most of it's memory was used). > > -- > Winfried > mail: winfried@dream.vg http://violent.dream.vg > Warning: Never underestimate the power of stupid people in large numbers. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message