8 messages in com.mysql.lists.perlRE: Solaris 10 -- mysql-5.0.22 DBD::...
FromSent OnAttachments
Andrew Nelson15 Jun 2006 14:55 
Martin J. Evans16 Jun 2006 01:21 
Andrew Nelson16 Jun 2006 07:27 
Martin J. Evans16 Jun 2006 09:47 
Andrew Nelson16 Jun 2006 11:03 
Martin J. Evans16 Jun 2006 11:14 
Andrew Nelson16 Jun 2006 11:22 
Martin J. Evans18 Jun 2006 01:04 
Subject:RE: Solaris 10 -- mysql-5.0.22 DBD::mysql Fails to Build
From:Martin J. Evans (mart@easysoft.com)
Date:06/16/2006 01:21:53 AM
List:com.mysql.lists.perl

A google search for "ube: error: Assert has been violated at" seems show many very similar looking issues.

http://sunsolve.sun.com/search/document.do?assetkey=120759-05h

Try getting your compiler patches up to date or lowering the level of optimisation - the -xO3.

Martin

On 15-Jun-2006 Andrew Nelson wrote:

I can't get DBD::mysql to build on Solaris 10 using the mysql.com provided .pkg and the Sun Forte Compiler.

bash-3.00$ echo $PATH /opt/SUNWspro/bin:/opt/SUNWspro/prod/bin:/opt/mysql/mysql/bin:/usr/ccs/bin:/op t/SUNWspro/bin:/opt/mysql/mysql/bin:/usr/ccs/bin:/usr/bin:/usr/ucb:/etc:. bash-3.00$ perm Makefile.PL bash: perm: command not found bash-3.00$ perl Makefile.PL I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/opt/mysql/mysql/include -xO3 -mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -xlibmil -xlibmopt -xtarget=generic embedded (mysql_config) = libs (mysql_config) = -L/opt/mysql/mysql/lib -lmysqlclient -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testsocket (default ) = testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'.

Checking if your kit is complete... Looks good Using DBI 1.51 (for perl 5.008004 on i86pc-solaris-64int) installed in /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int/auto/DBI/ Writing Makefile for DBD::mysql bash-3.00$ make cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm cp lib/Mysql.pm blib/lib/Mysql.pm cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm cc -c -I/usr/perl5/site_perl/5.8.4/i86pc-solaris-64int/auto/DBI -I/opt/mysql/mysql/include -xO3 -mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -xlibmil -xlibmopt -xtarget=generic -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"3.0006\" -DXS_VERSION=\"3.0006\" -KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" dbdimp.c "dbdimp.c", line 3774:ube: error: Assert has been violated at '/export/home1/train_builds/venus_patch/build.0427/intel-S2/lang/ube/opt/src/c fg.c 2553'. cc: ube failed for dbdimp.c *** Error code 2 make: Fatal error: Command failed for target `dbdimp.o' bash-3.00$

Does anyone have any idea what might be going on?

Thanks much

//andy