Subject: Re: mysql compile on Netbsd/m68k
To: Amiga-NETBSD <port-amiga@netbsd.org>
From: Emm Vasilakis <evas@agn.forthnet.gr>
List: port-amiga
Date: 12/30/2004 14:36:50
On 2004-12-30 at 14:19, Gunther Nikl wrote:
> On Thu, Dec 30, 2004 at 01:34:16PM +0200, Emm Vasilakis wrote:
> > I've reached sql_yacc.cc which is supposed to be tricky to compile, etc.
> > 
> > I've tried most things (configure --with-low-memory), changing -O
> > parameters on the compile line, but still no luck with this one...
> 
>   Changing -O levels should do the trick I would guess. Try compiling it
>   manually, maybe without optimization.

Tried -O0, -O, nothing...

My curent compile line is: 

c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/pkg\""
-DDATADIR="\"/var/mysql\"" -DSHAREDIR="\"/usr/pkg/share/mysql\""
-DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../include
-I../regex -I.   -Dunix -I/usr/pkg/include -I/usr/include  -O0
-DDBUG_OFF -DUSE_OLD_FUNCTIONS -DSIGNALS_DONT_BREAK_READ
-I/usr/pkg/include -I/usr/include -DSIGNALS_DONT_BREAK_READ  
-fno-implicit-templates -fno-exceptions -fno-rtti -Dunix -fno-inline -c
sql_yacc.cc

Anything else I could change on the above?

> > The 1200 has a 030+68882 64M ram, and ~700M swap space.
> 
>   I would think that this should be enough space but I never compiled
>   mysql myself.
>   BTW, isn't there a package for 1.6 which you could use?

Nope, either not, or I am too blind to see it ;-)

>   Gunther
-- 
Emm Vasilakis <evas@agn.forthnet.gr>