Red Hat Bugzilla – Bug 839609
Last modified: 2012-08-06 04:49:58 EDT
perl-eperl-2.2.14-20.fc18 fails to build in F18:
In file included from eperl_perl5.c:38:0:
eperl_perl5.h:76:0: warning: "PL_defoutgv" redefined [enabled by default]
In file included from /usr/lib64/perl5/CORE/perl.h:5038:0,
/usr/lib64/perl5/CORE/embedvar.h:149:0: note: this is the location of the previous definition
eperl_perl5.c: In function 'Perl5_ForceUnbufferedStdout':
eperl_perl5.c:84:5: error: 'defoutgv' undeclared (first use in this function)
This is not compatible with perl 5.16.0.
The problem is that the macro WITH_THX is not defined in perl 5.16. The definition was removed from malloc.c.
The possible solution is in the attachment. Also the build require needs to replace db4-devel by libdb-devel.
Created attachment 601139 [details]
Patch for perl 5.16 changes
I applied the patch. I hope you don't mind.