Error compiling perl-DBD-MySQL after upgrading to MySQL 4.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm on RedHat 9.0, just upgraded to MySQL 4.1, and am trying to re-compile perl-DBD-MySQL because it had a dependancy on the previous version of MySQL.

I downloaded the source rpm and installed it with
rpm -ivh perl-DBD-MySQL-2.1021-3.src.rpm

Then I went to:
/usr/src/redhat/SPECS

And tried to build the package with:
rpmbuild -ba perl-DBD-MySQL.spec

But when I do, it fails.  Looking at the output, it's fine until it gets to:
 
Writing Makefile for DBD::mysql
+ make
 
And then it eventually goes into these "passing arg 3" warnings, such as:
 
dbdimp.c: In function `mysql_db_login':
dbdimp.c:847: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type

 
Until it finally ends with:
 
make: *** [mysql.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.31471 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.31471 (%build)
 
I've posted the complete output on:
 
The problem seems to be this "passing arg 3" warning, but I've had no luck in resolving it so far.

Many thanks for any guidance anyone can provide.

Peter

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux