logo       

Solaris 10 -- mysql-5.0.22 DBD::mysql Fails to Build: msg#00008

db.mysql.perl

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

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:/opt/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/cfg.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>
Google Custom Search

News | FAQ | advertise