List:MySQL and Perl« Previous MessageNext Message »
From:Michael Widenius Date:August 1 1999 8:51pm
Subject:Msql-Mysql installation/compilation problem
View as plain text  
>>>>> "ahaubold" == ahaubold 
> <ahaubold@stripped> writes:

ahaubold> Hello,
ahaubold> I am having difficulties installing msql-mysql on Irix 6.2. I have installed
> all 
ahaubold> the pre-requisites, i.e. MySQL database, Data Dumper, and DBD. Here is the
> error 
ahaubold> message that I get upon typing make:

ahaubold>         perl ../xtract ../dbd/dbdimp.c ../Mysql/dbdimp.c Mysql mysql 1.2017 
ahaubold> 2.0217
ahaubold>         chmod 0644 ../Mysql/dbdimp.c
ahaubold> Skip .././blib/lib/DBD/mysql.pm (unchanged)
ahaubold>         cc -c -I/sw/sgi_62/perl-5.004.04/lib/site_perl/IP22-irix/auto/DBI 
ahaubold> -I/disk3/people/mysql/mysql-3.20.20-sgi-irix5.3-mips/include -I../dbd  
ahaubold> -I/sw/sgi_62/perl-5.004.04/lib/site_perl/IP22-irix/auto/DBI 
ahaubold> -I/sw/sgi_62/perl-5.004.04/lib/IP22-irix/5.00404 -32 -D_BSD_TYPES -D_BSD_TIME
> 
ahaubold> -Olimit 3100 -I/usr/local/include -DLANGUAGE_C -O     -DVERSION=\"2.0217\"  
ahaubold> -DXS_VERSION=\"2.0217\" -KPIC 
ahaubold> -I/sw/sgi_62/perl-5.004.04/lib/IP22-irix/5.00404/CORE -DDBD_MYSQL 
ahaubold> -DMyConnect=mysql_dr_connect -DMyLogin=mysql_dr_login dbdimp.c
ahaubold> cfe: ERROR MESSAGE 8dbdimp.c, ERROR MESSAGE 3 857: ERROR MESSAGE 130
ahaubold>         (!(mysql_errno(svsock) == CR_SERVER_GONE_ERROR                    
> &&  
ahaubold> MysqlReconnect( h)) 
ahaubold>         --------------------------^
ahaubold> cfe: ERROR MESSAGE 8dbdimp.c, ERROR MESSAGE 3 1297: ERROR MESSAGE 130
ahaubold>                       case FIELD_TYPE_TINY:        i = (-6) ;     break;
ahaubold>                 -----------^
ahaubold> cfe: ERROR MESSAGE 8dbdimp.c, ERROR MESSAGE 3 1321: ERROR MESSAGE 130
ahaubold>                       case FIELD_TYPE_ENUM:        i = 1 ;        break;
ahaubold>                 -----------^
ahaubold> cfe: ERROR MESSAGE 8dbdimp.c, ERROR MESSAGE 3 1322: ERROR MESSAGE 130
ahaubold>                       case FIELD_TYPE_SET:         i = 1 ;        break;
ahaubold>                 -----------^
ahaubold> *** Error code 1 (bu21)
ahaubold> *** Error code 1 (bu21)


ahaubold> I have installed this module on Linux and Solaris before, without any major 
ahaubold> problems.
ahaubold> If anybody has any suggestions, it would be more than appreciated.

ahaubold> Thank you all.

ahaubold> - Alex

Hi!

Please look up the error messages from your compiler manual (they are
NOT very helpful)

The problem is that your MySQL version is too old!  Upgrade to MySQL
3.22.25 and it should work!

Regards,
Monty
Thread
Msql-Mysql installation/compilation problemahaubold21 Jul
  • Msql-Mysql installation/compilation problemMichael Widenius2 Aug