If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Building perl-DBD for MySQL 4.1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-06-05, 11:49
caste caste is offline
Registered User
 
Join Date: Mar 2005
Posts: 1
Building perl-DBD for MySQL 4.1

Hi,

I have problems compiling perl-DBD for MSQL 4.1, after looking around for this issue haven't found anything yet, here is the problem:

I have two machines, one with redhat 9, and the other with FC2, in both machines I have the following packages installed:

MySQL-shared-4.1.10-0
MySQL-client-4.1.10-0
MySQL-devel-4.1.10-0
MySQL-server-4.1.10-0

I have downloaded and installed the source:
perl-DBD-MySQL-2.9003-4.src.rpm

When doing rpmbuild -bb perl-DBD-MySQL.spec, I got the following error in both machines:

Quote:
/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 192
Warning: duplicate function definition 'rows' detected in mysql.xs, line 290
gcc -c -I/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/DBI -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce -DDBD_MYSQL_WITH_SSL -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fPIC "-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE" mysql.c
mysql.xs: In function `XS_DBD__mysql__dr__admin_internal':
mysql.xs:100: error: too few arguments to function `mysql_shutdown'
make: *** [mysql.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.63335 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.63335 (%build)
Any ideas of what's going wrong?

Caste
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On