RE: Solaris 10 -- mysql-5.0.22 DBD::mysql Fails to Build

Andrew Nelson <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
On Fri, 16 Jun 2006 09:22:16 +0100, Martin J. Evans wrote:

Thanks for the quick response.  Problem is I've allready applied that
patch and still no luck.  I get the exact same error.  I've allso tried
lowering the optimization.

-I/opt/mysql/mysql/include -xO2 -mt -fsimple=1 -ftrap=%none -nofstore
-xbuiltin=%all -xlibmil -xlibmopt

-I/opt/mysql/mysql/include -xO1 -mt -fsimple=1 -ftrap=%none -nofstore
-xbuiltin=%all -xlibmil -xlibmopt

-I/opt/mysql/mysql/include -mt -fsimple=1 -ftrap=%none -nofstore
-xbuiltin=%all -xlibmil -xlibmopt

And still I've had no luck.

//andy


> 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
>> 
>> 
>> 
>> -- 
>> MySQL Perl Mailing List
>> For list archives: http://lists.mysql.com/perl
>> To unsubscribe:   
>> http://lists.mysql.com/[email protected]
> 
> --
> Martin J. Evans
> Easysoft Ltd, UK
> http://www.easysoft.com




-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.