Subject: Re: mysql4-server pkg
To: Joe Pribele <jpribele@sympatico.ca>
From: Rodrigo Fernandez-Vizarra <rodrigo@startdaemon.org>
List: port-cobalt
Date: 04/04/2004 01:43:41
To get the C++ version type 'g++ --version' in a terminal.

The version that comes with NetBSD 1.6.1 is 2.95.3

I'm sorry it's not the "ports archive" but the "The NetBSD Packages 
Collection (pkgsrc)" 
<http://www.netbsd.org/guide/en/chap-whatsnew.html#id2518182>

There you have a newer gcc complier. You can read how to install the 
pkgsrc collection here:

http://www.netbsd.org/guide/en/chap-cvs.html#id2609239

but I think you already have it installed.

Try with a newer compiler.

Good luck,
Rodrigo

Joe Pribele wrote:

>What version of mysql ? mysql 4.
>What version of c++ ? I have no idea how would I find out ?
>
>Ports archive ? I don't know anything about that.
>
>Joe
>
>-----Original Message-----
>From: port-cobalt-owner@NetBSD.org
>[mailto:port-cobalt-owner@NetBSD.org]On Behalf Of Rodrigo
>Fernandez-Vizarra
>Sent: Wednesday, March 31, 2004 3:35 AM
>To: Joe Pribele
>Cc: cobalt
>Subject: Re: mysql4-server pkg
>
>
>It looks to me like a C++ compiler bug. What version are you using?, did
>you tried to compile a newer compiler version from the ports archive?
>
>Sorry not a clear answer to your problem.
>
>Regards,
>Rodrigo
>
>Joe Pribele wrote:
>
>  
>
>>Hello,
>>
>>I trying to build mysql4 server and I keep getting this error. Any ideas ?
>>
>>thanks,
>>Joe
>>
>>gmake[4]: Entering directory
>>`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.18/sql'
>>Note: The following compile may take a long time.
>>If it fails, re-run configure with --with-low-memory
>>g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/pkg\"" -DDATADIR="\"/var/my
>>    
>>
>s
>  
>
>>ql\"" -DSHAREDIR="\"/usr/pkg/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I
>>    
>>
>.
>  
>
>>./innobase/include -I./../include -I./../regex -I. -I../include -I.   -Duni
>>    
>>
>x
>  
>
>>-I/usr/pkg/include  -O3 -DDBUG_OFF -O2 -DSIGNALS_DONT_BREAK_READ -I/usr/pk
>>    
>>
>g
>  
>
>>/include -DSIGNALS_DONT_BREAK_READ  -fno-implicit-templates -fno-exceptions
>>-fno-rtti -Dunix -fno-inline -c sql_yacc.cc
>>g++: Internal compiler error: program cc1plus got fatal signal 9
>>gmake[4]: *** [sql_yacc.o] Error 1
>>gmake[4]: Leaving directory
>>`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.18/sql'
>>gmake[3]: *** [all-recursive] Error 1
>>gmake[3]: Leaving directory
>>`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.18/sql'
>>gmake[2]: *** [all] Error 2
>>gmake[2]: Leaving directory
>>`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.18/sql'
>>gmake[1]: *** [all-recursive] Error 1
>>gmake[1]: Leaving directory
>>`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.18'
>>gmake: *** [all] Error 2
>>*** Error code 2
>>
>>Stop.
>>make: stopped in /usr/pkgsrc/databases/mysql4-server
>>*** Error code 1
>>
>>Stop.
>>make: stopped in /usr/pkgsrc/databases/mysql4-server
>>
>>
>>
>>
>>    
>>
>
>
>  
>