* MySQL Build problem
@ 2000-02-24 22:13 morrildl
2000-02-24 23:03 ` Edwin Koshimoto
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: morrildl @ 2000-02-24 22:13 UTC (permalink / raw)
To: axp-list
I am attempting to build MySQL 3.23.8-alpha on my SX164.
I get the following error:
c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql-3.23-8-alpha\"" -DDATADIR="\"/opt/mysql-3.23-8-alpha/var\"" -DSHAREDIR="\"/opt/mysql-3.23-8-alpha/share/mysql\"" -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DDBUG_OFF -fno-implicit-templates -c sql_yacc.cc
/my/gnu/lib/bison/bison.simple: In function `int yyparse()':
/my/gnu/lib/bison/bison.simple:692: virtual memory exhausted
make[3]: *** [sql_yacc.o] Error 1
make[3]: Leaving directory `/usr/src/mysql-3.23.8-alpha/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mysql-3.23.8-alpha/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mysql-3.23.8-alpha'
make: *** [all-recursive-am] Error 2
I only have 128MB of RAM with a 128MB swap partition, so this is probably
a correct error message. (Those LALR parse trees can get pretty big. :)
Can anyone else compile this beast? (i.e. is this just a RAM limitation
or something more sinister?)
Incidentally, the reason I am trying to build this thing is because
the RPM I found somewhere (contrib.redhat.com maybe?) segfaults on startup.
Dan Morrill
Computer Scientist, Physicist
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MySQL Build problem
2000-02-24 22:13 MySQL Build problem morrildl
@ 2000-02-24 23:03 ` Edwin Koshimoto
2000-02-25 8:37 ` furio ercolessi
2000-02-25 12:20 ` Peter Petrakis
2 siblings, 0 replies; 7+ messages in thread
From: Edwin Koshimoto @ 2000-02-24 23:03 UTC (permalink / raw)
To: axp-list
Hello
I believe there is a switch you give the build script
that would help you. Something like --use-low-memory?
It should be in the readme or install text files.
ed
On Thu, 24 Feb 2000 morrildl@nycap.rr.com wrote:
> Date: Thu, 24 Feb 2000 17:13:16 -0500 (EST)
> From: morrildl@nycap.rr.com
> Reply-To: axp-list@redhat.com
> To: axp-list@redhat.com
> Subject: MySQL Build problem
> Resent-Date: 24 Feb 2000 22:13:24 -0000
> Resent-From: axp-list@redhat.com
> Resent-cc: recipient list not shown: ;
>
>
> I am attempting to build MySQL 3.23.8-alpha on my SX164.
> I get the following error:
>
>
> c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql-3.23-8-alpha\"" -DDATADIR="\"/opt/mysql-3.23-8-alpha/var\"" -DSHAREDIR="\"/opt/mysql-3.23-8-alpha/share/mysql\"" -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DDBUG_OFF -fno-implicit-templates -c sql_yacc.cc
> /my/gnu/lib/bison/bison.simple: In function `int yyparse()':
> /my/gnu/lib/bison/bison.simple:692: virtual memory exhausted
> make[3]: *** [sql_yacc.o] Error 1
> make[3]: Leaving directory `/usr/src/mysql-3.23.8-alpha/sql'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/mysql-3.23.8-alpha/sql'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/mysql-3.23.8-alpha'
> make: *** [all-recursive-am] Error 2
>
>
>
> I only have 128MB of RAM with a 128MB swap partition, so this is probably
> a correct error message. (Those LALR parse trees can get pretty big. :)
>
> Can anyone else compile this beast? (i.e. is this just a RAM limitation
> or something more sinister?)
>
>
> Incidentally, the reason I am trying to build this thing is because
> the RPM I found somewhere (contrib.redhat.com maybe?) segfaults on startup.
>
>
> Dan Morrill
> Computer Scientist, Physicist
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MySQL Build problem
2000-02-24 22:13 MySQL Build problem morrildl
2000-02-24 23:03 ` Edwin Koshimoto
@ 2000-02-25 8:37 ` furio ercolessi
2000-02-25 8:52 ` gert
2000-02-25 12:20 ` Peter Petrakis
2 siblings, 1 reply; 7+ messages in thread
From: furio ercolessi @ 2000-02-25 8:37 UTC (permalink / raw)
To: axp-list
On Thu, Feb 24, 2000 at 05:13:16PM -0500, morrildl@nycap.rr.com wrote:
>
> I am attempting to build MySQL 3.23.8-alpha on my SX164.
> I get the following error:
>
>
> c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql-3.23-8-alpha\"" -DDATADIR="\"/opt/mysql-3.23-8-alpha/var\"" -DSHAREDIR="\"/opt/mysql-3.23-8-alpha/share/mysql\"" -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DDBUG_OFF -fno-implicit-templates -c sql_yacc.cc
> /my/gnu/lib/bison/bison.simple: In function `int yyparse()':
> /my/gnu/lib/bison/bison.simple:692: virtual memory exhausted
[...]
>
> Can anyone else compile this beast? (i.e. is this just a RAM limitation
> or something more sinister?)
Yes, you simply do not have enough memory to compile that function.
What I can say is that 512 RAM + 256 swap is enough.
furio ercolessi
Spin
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MySQL Build problem
2000-02-25 8:37 ` furio ercolessi
@ 2000-02-25 8:52 ` gert
2000-02-26 3:03 ` morrildl
0 siblings, 1 reply; 7+ messages in thread
From: gert @ 2000-02-25 8:52 UTC (permalink / raw)
To: axp-list
Quoting furio ercolessi <furio@spin.it>:
> On Thu, Feb 24, 2000 at 05:13:16PM -0500, morrildl@nycap.rr.com wrote:
> >
> > I am attempting to build MySQL 3.23.8-alpha on my SX164.
> > I get the following error:
> >
> >
> > c++ -DMYSQL_SERVER
> -DDEFAULT_MYSQL_HOME="\"/opt/mysql-3.23-8-alpha\""
> -DDATADIR="\"/opt/mysql-3.23-8-alpha/var\""
> -DSHAREDIR="\"/opt/mysql-3.23-8-alpha/share/mysql\""
> -DHAVE_CONFIG_H -I./../include -I./../regex
> -I. -I../include -I.. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -O3 -DDBUG_OFF -fno-implicit-templates -c
> sql_yacc.cc
> > /my/gnu/lib/bison/bison.simple: In function `int yyparse()':
> > /my/gnu/lib/bison/bison.simple:692: virtual memory exhausted
> [...]
> >
> > Can anyone else compile this beast? (i.e. is this just a RAM limitation
> > or something more sinister?)
>
> Yes, you simply do not have enough memory to compile that function.
> What I can say is that 512 RAM + 256 swap is enough.
>
> furio ercolessi
> Spin
>
Yust try
./configure --with-low-memory
and it will copile whith less memory available
Gert
---
Gert Huisman fac. Exacte Wetenschappen (div. W&I)
email: gert@cs.vu.nl Vrije Universiteit Amsterdam
telefoon: +31 20 4447806 De Boelelaan 1081a, k. S4.14
fax: +31 20 4447653 1081 HV Amsterdam, the Netherlands
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MySQL Build problem
2000-02-24 22:13 MySQL Build problem morrildl
2000-02-24 23:03 ` Edwin Koshimoto
2000-02-25 8:37 ` furio ercolessi
@ 2000-02-25 12:20 ` Peter Petrakis
2 siblings, 0 replies; 7+ messages in thread
From: Peter Petrakis @ 2000-02-25 12:20 UTC (permalink / raw)
To: axp-list
I built some 3.23.11-alpha RPMS just now. You can find them in
ftp.alphalinux.org/pub/contrib/database. NOTE: Last time I used this it
had problems with the DATETIME field and storing the right values (check
the archives around Dec-Jan). I've also heard of reliablity problems with
MySQL under heavy load under Alpha.I have not tested these RPMS.
BTW www.alphalinux.org uses postgreSQL.
Peter
--
www.alphalinux.org
Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."
On Thu, 24 Feb 2000 morrildl@nycap.rr.com wrote:
>
> I am attempting to build MySQL 3.23.8-alpha on my SX164.
> I get the following error:
>
>
> c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql-3.23-8-alpha\"" -DDATADIR="\"/opt/mysql-3.23-8-alpha/var\"" -DSHAREDIR="\"/opt/mysql-3.23-8-alpha/share/mysql\"" -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DDBUG_OFF -fno-implicit-templates -c sql_yacc.cc
> /my/gnu/lib/bison/bison.simple: In function `int yyparse()':
> /my/gnu/lib/bison/bison.simple:692: virtual memory exhausted
> make[3]: *** [sql_yacc.o] Error 1
> make[3]: Leaving directory `/usr/src/mysql-3.23.8-alpha/sql'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/mysql-3.23.8-alpha/sql'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/mysql-3.23.8-alpha'
> make: *** [all-recursive-am] Error 2
>
>
>
> I only have 128MB of RAM with a 128MB swap partition, so this is probably
> a correct error message. (Those LALR parse trees can get pretty big. :)
>
> Can anyone else compile this beast? (i.e. is this just a RAM limitation
> or something more sinister?)
>
>
> Incidentally, the reason I am trying to build this thing is because
> the RPM I found somewhere (contrib.redhat.com maybe?) segfaults on startup.
>
>
> Dan Morrill
> Computer Scientist, Physicist
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MySQL Build problem
2000-02-25 8:52 ` gert
@ 2000-02-26 3:03 ` morrildl
2000-02-26 4:40 ` Mark Abene
0 siblings, 1 reply; 7+ messages in thread
From: morrildl @ 2000-02-26 3:03 UTC (permalink / raw)
To: axp-list
Thanks for the pointers everyone -- the --with-low-memory option worked.
I feel silly for not having seen it and tried it...
Incidentally, while I was building it gcc failed at one point with a
signal 11. I started the build from scratch and it worked. I see this
occasionally with longish compiles and sometimes with the Distributed.net
RC5 client. Does anyone else see these?
Anyway, thanks again to all who helped.
Dan Morrill
Computer Scientist, Physicist
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MySQL Build problem
2000-02-26 3:03 ` morrildl
@ 2000-02-26 4:40 ` Mark Abene
0 siblings, 0 replies; 7+ messages in thread
From: Mark Abene @ 2000-02-26 4:40 UTC (permalink / raw)
To: axp-list
I get random signal 11's on long compiles as well. Not enough to cause
insanity, but enough to warrant babysitting. The version of gcc doesn't
seem to matter, it happens even with the latest egcs.
I'd love to know the cause.
-M
On Fri, Feb 25, 2000 at 10:03:21PM -0500, morrildl@nycap.rr.com wrote:
>
> Thanks for the pointers everyone -- the --with-low-memory option worked.
> I feel silly for not having seen it and tried it...
>
>
> Incidentally, while I was building it gcc failed at one point with a
> signal 11. I started the build from scratch and it worked. I see this
> occasionally with longish compiles and sometimes with the Distributed.net
> RC5 client. Does anyone else see these?
>
>
> Anyway, thanks again to all who helped.
>
> Dan Morrill
> Computer Scientist, Physicist
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-02-26 4:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-24 22:13 MySQL Build problem morrildl
2000-02-24 23:03 ` Edwin Koshimoto
2000-02-25 8:37 ` furio ercolessi
2000-02-25 8:52 ` gert
2000-02-26 3:03 ` morrildl
2000-02-26 4:40 ` Mark Abene
2000-02-25 12:20 ` Peter Petrakis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox