Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 14:59:13 -0400
From:      "Ken Menzel" <kenm@icarz.com>
To:        "Jan Srzednicki" <winfried@student.uci.agh.edu.pl>, <freebsd-stable@FreeBSD.ORG>
Subject:   Re: mysql-server compile problems
Message-ID:  <018601c15cbd$fc4d8e40$711663cf@icarz.com>
References:  <Pine.GSO.4.30.0110240326210.24671-100000@student.uci.agh.edu.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <winfried@student.uci.agh.edu.pl>
To: <freebsd-stable@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018601c15cbd$fc4d8e40$711663cf>