Date: Wed, 24 Oct 2001 03:33:36 +0200 (MET DST) From: Jan Srzednicki <winfried@student.uci.agh.edu.pl> To: <freebsd-stable@FreeBSD.ORG> Subject: mysql-server compile problems Message-ID: <Pine.GSO.4.30.0110240326210.24671-100000@student.uci.agh.edu.pl>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.30.0110240326210.24671-100000>