|
RE: Solaris 10 -- mysql-5.0.22 DBD::mysql Fails to Build: msg#00012db.mysql.perl
On Fri, 16 Jun 2006 17:48:08 +0100, Martin J. Evans wrote: Again thanks for the help. I've managed to hack past this compile problem and it does look like Sun has a fix on the way. http://forum.sun.com/jive/thread.jspa?threadID=99060 The problem is that even if I run perl Makefile.PL --cflags=-'I/opt/mysql/mysql/include -mt -ftrap=%none -nofstore -xbuiltin=%all -xlibmil -xlibmopt -xtarget=generic' the cc command still runs with -x03. So I edit the generated make file and remove the flag there. But now that I can make I still can't make test. Pretty much every test fails with this error. PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base.............install_driver(mysql) failed: Can't load '/home/andy/DBD-mysql-3.0006/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: perl: fatal: relocation error: file /home/andy/DBD-mysql-3.0006/blib/arch/auto/DBD/mysql/mysql.so: symbol __1cG__CrunMex_rethrow_q6F_v_: referenced symbol not found at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/DynaLoader.pm line 230. at (eval 3) line 3 Compilation failed in require at (eval 3) line 3. Perhaps a required shared library or dll isn't installed where expected at t/00base.t line 38 I've googled around and found other people have the same problem but I'm yet to see a solution. Anyone have any idea how to get fix this error? //andy > Andrew, > > Sorry but they were my best 2 suggestions - your compiler is basically falling > over. You could always send this to Sun. > > Martin > -- > Martin J. Evans > Easysoft Ltd, UK > http://www.easysoft.com > > > On 16-Jun-2006 Andrew Nelson wrote: >> 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/perl?unsub=gcdmp-msql-mysql-modules@xxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Solaris 10 -- mysql-5.0.22 DBD::mysql Fails to Build: 00012, Martin J. Evans |
|---|---|
| Next by Date: | Re: Solaris 10 -- mysql-5.0.22 DBD::mysql Fails to Build: 00012, Martin J. Evans |
| Previous by Thread: | RE: Solaris 10 -- mysql-5.0.22 DBD::mysql Fails to Buildi: 00012, Martin J. Evans |
| Next by Thread: | Re: Solaris 10 -- mysql-5.0.22 DBD::mysql Fails to Build: 00012, Martin J. Evans |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |