From owner-freebsd-stable Tue Oct 23 18:33:46 2001 Delivered-To: freebsd-stable@freebsd.org Received: from student.uci.agh.edu.pl (student.uci.agh.edu.pl [149.156.98.60]) by hub.freebsd.org (Postfix) with ESMTP id 8D1E937B401 for ; Tue, 23 Oct 2001 18:33:43 -0700 (PDT) Received: from localhost (winfried@localhost) by student.uci.agh.edu.pl (8.8.7/8.8.5/ts-tmpl.970124+rchk1.22) with ESMTP id DAA10865 for ; Wed, 24 Oct 2001 03:33:37 +0200 (MET DST) Date: Wed, 24 Oct 2001 03:33:36 +0200 (MET DST) From: Jan Srzednicki To: Subject: mysql-server compile problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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_CONFIG_H -I../bdb/build_unix -I./../include -I./../regex -I. -I../include -I.. -I. -DDBUG_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