8 messages in com.mysql.lists.mysqlRe: can't compile mysql on HP-UX 10.20| From | Sent On | Attachments |
|---|---|---|
| Jota Matsubara | 02 Feb 2000 21:59 | |
| Jones | 02 Feb 2000 22:08 | |
| Faisal Nasim | 02 Feb 2000 22:15 | |
| Jota Matsubara | 02 Feb 2000 23:23 | |
| sas...@mysql.com | 03 Feb 2000 05:15 | |
| Jeff Hinds | 03 Feb 2000 05:52 | |
| Ondrej Sury | 03 Feb 2000 06:32 | |
| Christopher E. Brown | 03 Feb 2000 15:05 |
| Subject: | Re: can't compile mysql on HP-UX 10.20![]() |
|---|---|
| From: | sas...@mysql.com (sas...@mysql.com) |
| Date: | 02/03/2000 05:15:20 AM |
| List: | com.mysql.lists.mysql |
Jota Matsubara wrote:
From: "Jones" <Jon...@synergy-siti.com.tw> Subject: Re: can't compile mysql on HP-UX 10.20 Date: Thu, 3 Feb 2000 14:09:17 +0800
: I'm trying to compile mysql on HP-UX but in vain. : The error message tells that "virtual memory exhausted" for some : reason, but I can't understand why. Did your HP-UX get less memory??
You can define in configure --with-low-memory, and re-make.
Thank you for the advices. "--with-low-memory" worked fine. I was surprised because I've done some compiling on this machine, but never had this trouble.
Thanks again!
The trouble file is sql_yacc.cc -- it has a lot of inline functions, and that really puts a stress on memory requirements. How much will depend on the archicture, on Linux, for example, I had 64 MB physical RAM, 128 MB swap, and I had to make sure nothing else was running on the machine ( close Netscape, exit X) while compiling MySQL to avoid the error you have experienced.
On Alpha with 128 MB physical RAM and 256 MB swap, at one point the only thing left was 6 MB of swap.
-- Sasha Pachev
+------------------------------------------------------------------+ | TcX ____ __ _____ _____ ___ == mys...@tcx.se | | /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sasha Pachev | | /*/ /*/ /*/ \*\_ |*| |*||*| mailto:sas...@mysql.com | | /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Provo, Utah, USA | | /*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____ | | ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^ | | /*/ \*\ Developers Team | +------------------------------------------------------------------+




