2.12.4.4. BSD/OS Version 2.x Notes
If you get the following error when compiling MySQL, your
ulimit value for virtual memory is too low:
item_func.h: In method
`Item_func_ge::Item_func_ge(const Item_func_ge &)':
item_func.h:28: virtual memory exhausted
make[2]: *** [item_func.o] Error 1
Try using ulimit -v 80000 and run
make again. If this doesn't work and you
are using bash, try switching to
csh or sh; some BSDI
users have reported problems with bash and
ulimit.
If you are using gcc, you may also use have
to use the --with-low-memory
flag for
configure to be able to compile
sql_yacc.cc
.
If you get problems with the current date in MySQL, setting
the TZ
variable should help. See
Appendix F, Environment Variables.